MCP server · Audited from source
ESP32 NAT Router MCP server
by martin-ger/esp32_nat_routerNo licenceAudited 23 Sep 2026 · source 58419bd96996
Is it safe? No — BLOCK, grade D (65/100). It exposes 38 tools: 15 read, 17 write and 6 destructive. The audit recorded 16 findings (0 critical, 2 high, 7 medium, 2 low). Maintainer's description: An AI-enabled NAT Router/Firewall for the ESP32
Cite
Cite this page
ModelsAtlas. “ESP32 NAT Router MCP server (martin-ger/esp32_nat_router)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/martin-ger/esp32-nat-router
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Privilege escalation / persistence at esp_nat_bridge.py:879. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 23 Sep 2026
16 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Findings (16)
Sorted by severity
HIGHPrivilege escalation / persistencepriv.escalate · esp_nat_bridge.py:879
"tcpdump is not installed. Install it with: sudo apt install tcpdump"
- Why
- asks for elevated privileges
- Fix
- —
HIGHPrivilege escalation / persistencepriv.escalate · esp_nat_bridge.py:1027
"tcpdump is not installed. Install it with: sudo apt install tcpdump"
- Why
- asks for elevated privileges
- Fix
- —
MEDIUMInventory / provenanceinv.binary · firmware_esp32/bootloader.bin
bootloader.bin
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32/ota_data_initial.bin
ota_data_initial.bin
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32/partition-table.bin
partition-table.bin
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32_poe_iso/bootloader.bin
bootloader.bin
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · firmware_esp32_poe_iso/ota_data_initial.bin
ota_data_initial.bin
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMPrompt injectionscope.undeclared_system · <declared scope>
system use found in code, not declared in the description
- Why
- the description does not admit a capability the code has
- Fix
- declare system use in the description, or remove it
MEDIUMFilesystem / pathmcp.destructive_tools
acl_clear, acl_clear_stats, acl_delete, delete_dhcp_reservation, delete_portmap, reset_byte_counts
- Why
- 6 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWNetwork egressnet.raw_ip · README.md:52
2. Open **http://esp32-nat-router.local** (or http://192.168.4.1) in your browser
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOInventory / provenanceinv.oversize · ESP32-C3-OLED.png
ESP32-C3-OLED.png
- Why
- 1385234 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · firmware_esp32/esp32_nat_router.bin
firmware_esp32/esp32_nat_router.bin
- Why
- 1357824 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · firmware_esp32_poe_iso/esp32_nat_router.bin
firmware_esp32_poe_iso/esp32_nat_router.bin
- Why
- 1270704 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · firmware_esp32c3/esp32_nat_router.bin
firmware_esp32c3/esp32_nat_router.bin
- Why
- 1490880 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · firmware_esp32c5/esp32_nat_router.bin
firmware_esp32c5/esp32_nat_router.bin
- Why
- 1490736 bytes not read
- Fix
- —
Tools it exposes
38 declared in source · 6 destructive
6 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
acl_clear | Delete ALL firewall rules from a list. Traffic will be unrestricted afterwards. | destructive |
acl_clear_stats | Clear hit count statistics for a firewall ACL list. | destructive |
acl_delete | Delete a firewall ACL rule by its index. | destructive |
delete_dhcp_reservation | Remove a fixed IP reservation for a device. The device will get a dynamic IP next time it connects. | destructive |
delete_portmap | Remove a port forwarding rule. The port will no longer be accessible from the internet. | destructive |
reset_byte_counts | Reset the internet traffic byte counters to zero. | destructive |
acl_add | Add a firewall ACL rule to the NAT router. | write |
add_dhcp_reservation | Reserve a fixed IP address for a specific device on the hotspot network. | write |
add_portmap | Forward an incoming port from the internet to a device on the hotspot network. | write |
pcap_save | Record network traffic from the router and save it to a file. | write |
pcap_set_mode | Set the packet capture mode. Used to record network traffic for analysis. | write |
pcap_set_snaplen | Set the maximum bytes recorded per captured packet. | write |
restart | Reboot the router. All connected clients will be temporarily disconnected. | write |
set_ap | Set the name and password of the WiFi hotspot the router broadcasts. Requires restart. | write |
set_ap_enabled | Enable or disable the WiFi hotspot (AP interface) immediately, without a reboot. | write |
set_ap_hidden | Hide or show the hotspot network name in WiFi scans. Requires restart. | write |
set_ap_ip | Change the router | write |
set_ap_mac | Change the MAC address of the router | write |
set_ap_nat | Enable or disable NAT on the hotspot (AP) interface. Requires restart. | write |
set_sta | Set which WiFi network the router connects to for internet access. Requires restart. | write |
set_sta_mac | Change the MAC address the router uses when connecting to WiFi. Requires restart. | write |
set_sta_static | Set a static IP for the router | write |
set_ttl | Override the TTL (time-to-live) value on all packets sent to the internet. Takes effect immediately. | write |
get_ap_status | Get the current enabled/disabled state of the WiFi hotspot (AP interface). | read |
get_byte_counts | Show how many bytes the router has sent and received to/from the internet since last reset. | read |
get_heap_info | Get the router | read |
get_ttl | Get the current TTL (time-to-live) override setting for outgoing internet packets. | read |
get_version | Get hardware chip info, firmware version, and build details. | read |
network_trace | Record live network traffic from the router and show a human-readable summary. | read |
pcap_get_mode | Get the current packet capture mode (off, acl, or promisc). | read |
pcap_get_snaplen | Get the maximum number of bytes recorded per captured packet. | read |
pcap_status | Show packet capture statistics: whether a capture client is connected, and how many packets were captured or dropped. | read |
ping | Ping a host from the router to check connectivity and measure latency. Sends 5 ICMP echo requests. | read |
show_acl | Show firewall rules and hit counts for upstream (client to internet) and downstream (internet to client) traffic. | read |
show_config | Show router configuration: the WiFi network it connects to, the hotspot it broadcasts, static IP settings, and web interface state. | read |
show_mappings | Show DHCP address pool, reserved IP addresses for specific devices, and port forwarding rules. | read |
show_status | Show router status: whether it is connected to WiFi, its IP addresses, how many clients are connected, traffic (shown as B/KB/MB/GB), and free memory. | read |
wifi_scan | Scan for nearby WiFi networks. Returns network name, signal strength, and security type for each. | read |
Safer alternatives
horw/esp-mcp
Centralize ESP32 related commands and simplify getting started with seamless, LLM-driven interaction and help.
mcpcap/mcpcap
Network analysis for the AI age
mechubsec/rustpanosmcp
Async Rust MCP server for Palo Alto Networks PAN-OS firewalls — bearer-token auth, per-token device/tool scopes, guarded candidate-config lifecycle
Audit history
- ✕BLOCK D 65 / 100
Source changed, verdict held ·
58419bd96996
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about ESP32 NAT Router MCP server
What is the ESP32 NAT Router MCP server?
What tools does ESP32 NAT Router expose?
Is ESP32 NAT Router safe to connect to an agent?
What credentials does ESP32 NAT Router need?
How does ESP32 NAT Router run?
How current is this page?
I already installed ESP32 NAT Router. What should I do?
Can the verdict change?
Sources
- martin-ger/esp32_nat_router on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 58419bd96996Observed · 23 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the ESP32 NAT Router MCP server?
- What tools does ESP32 NAT Router expose?
- Is ESP32 NAT Router safe to connect to an agent?