MCP server · 2026
tplink-modem-mcp
MCP server that lets an AI agent run a TP-Link router or ISP modem: fixed IPs, Wi-Fi, port forwarding and every other setting, each change approved first.
What it is
I manage my modem through my AI agent instead of its web panel. “Give the printer a fixed IP”, “turn the guest Wi-Fi off”, “who is on the network right now?”: the agent does it, and the panel never has to be opened.
The server reaches every setting the web panel uses: Wi-Fi, DHCP and fixed IPs, port forwarding, firewall, parental control, DNS, QoS. Before any change the agent shows what it is about to do and waits for approval. Anyone who wants a narrower agent can limit it to read-only or to chosen settings.
- Why I built it
- A modem’s web panel is slow to dig through, and every small change, like a fixed IP, means finding the right page again.
- My part
- I designed and built it, and I maintain it and publish the releases.
- How it works
- The server speaks the same settings language as the web panel, so the agent can reach everything. Changes go through a preview and an approval, and a policy can narrow what is allowed.
- Where it stands
- Open source on GitHub and PyPI; it runs with one uvx command.
What it does
- Any setting the web panel has: Wi-Fi, DHCP, port forwarding, firewall, parental control, DNS, QoS, time.
- Ready tools for the common jobs: fixed IP for a device, Wi-Fi name, password and on/off, reboot.
- Every change is shown first and applied only after approval; clients that can ask the user do it themselves.
- Optional limits: read-only mode, or only chosen settings; passwords are masked in everything it returns.
- Connected devices with signal strength, router logs, and a join/leave history the router itself does not keep.