deco-mcp
Manages a TP-Link Deco mesh network via its local API, with tools for network and mesh status, Wi-Fi details, client lists and live bandwidth, blocking/unblocking clients, fixed IP reservations, logs, firmware checks, speed tests, time settings, reboots, and diagnostics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
deco-mcp
An MCP server for managing a TP-Link Deco mesh network from an AI assistant: see what the network is doing, find what is eating the bandwidth, block devices, hand out fixed IPs, check firmware and logs, and diagnose a slow connection.
It talks to the Deco directly on your LAN through its local API, with its own client (no TP-Link cloud, no third-party router library). Tested on a Deco BE25 running firmware 1.1.8; other Deco models use the same local API but may expose fewer features.
Tools
Read-only tools are always available. Tools that change something only exist when the server runs with DECO_ALLOW_WRITES=1.
Network and mesh
Tool | |
| Internet state, WAN/LAN addressing, IPv6, mode, main Deco CPU/memory |
| Each Deco unit: role, IP, mesh/internet status, uplink signal, firmware |
| Main, guest, IoT and MLO networks per band. Passwords are never returned |
| Packet loss/latency to the first hops and public resolvers, plus macOS |
| Reboot one unit or the whole mesh |
Clients
Tool | |
| Devices with live download/upload rates in kbit/s, busiest first |
| Devices blocked from the internet |
| Fixed IP reservations |
| Block or restore a device's internet access |
| Give a device a fixed IP, or remove it |
System
Tool | |
| Recent log lines by severity, with optional search |
| Installed firmware per unit and whether an update is available |
| The Deco's own internet speed test |
| Clock and time zone |
✎ needs DECO_ALLOW_WRITES=1 · ⚠ destructive
Not available yet: parental controls, QoS, port forwarding, HomeShield, Wi-Fi changes, LED and other settings the Deco only exposes to its mobile app.
Related MCP server: tplink-deco-mcp-server
Safety
Read-only by default. Write tools are not registered at all unless
DECO_ALLOW_WRITES=1is set, and every tool carries MCP annotations (readOnlyHint,destructiveHint) so clients can ask before running one.Preview first. Write tools return a preview of what they would do; nothing changes until they are called again with
confirm=true.No lockouts. The Deco locks logins after about ten failures. A rejected password is never retried until it changes.
Secrets stay out. Wi-Fi passwords are never returned, and log lines that carry session tokens are filtered out.
Privacy. Tool results go to your AI provider like any other conversation content. Client lists include device names, IPs and MACs, which can say who is home and what they own.
TLS. The Deco uses a self-signed certificate, so the connection is not verified. Someone able to intercept traffic on your LAN could capture the admin password. Only point
DECO_HOSTat your own Deco.One admin session. The Deco allows a single admin login, so using the server signs you out of the Deco web page (and vice versa).
Setup
You need uv and the Deco's local admin password (the one for https://192.168.68.1).
Store the password in the macOS Keychain, from a regular terminal:
security add-generic-password -s deco-mcp -a admin -wIt prompts for the password, so it never lands in your shell history. Don't run it through an assistant's shell (such as Claude Code's !): with no terminal to read from it stores an empty password.
On other systems, set DECO_PASSWORD instead. Note that it then sits in plain text in your MCP client's config.
Claude Code
claude mcp add deco -- uvx --from git+https://github.com/oscnord/deco-mcp@v0.2.0 deco-mcpAdd -e DECO_ALLOW_WRITES=1 before -- to enable the write tools.
Other MCP clients
{
"mcpServers": {
"deco": {
"command": "uvx",
"args": ["--from", "git+https://github.com/oscnord/deco-mcp@v0.2.0", "deco-mcp"],
"env": { "DECO_ALLOW_WRITES": "0" }
}
}
}Configuration
Variable | Default | |
|
| Main Deco, including the scheme |
| unset |
|
| Local admin password; overrides the Keychain | |
|
| Keychain item to read on macOS |
deco_diagnose_path needs ping and, for the hop list, traceroute (macOS or Linux).
Development
python3 -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests
npx @modelcontextprotocol/inspector .venv/bin/deco-mcpLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
IP intelligence, network diagnostics, and AI service availability tools for AI agents.
Gives AI agents a public IPv6 identity, hostname, port forwarding, web fetch, team mesh. Free tier.
Free, no-API-key network lookups for AI agents — IP geolocation, DNS, WHOIS, HTTP and SSL/TLS certificate checks, and full domain health reports.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to manage TP-Link routers by listing clients, checking status, controlling Wi-Fi, and rebooting via natural language.332MIT
- AlicenseAqualityBmaintenanceEnables LLM clients to inspect and manage a TP-Link Deco mesh Wi-Fi network, covering mesh nodes, connected devices, SSIDs and radio settings, internet status, blocked clients, and DHCP address reservations. Runs entirely against the router on the local network without any cloud account.1554 PyPIMIT
- AlicenseAqualityCmaintenanceLets Claude or any MCP client inspect a TP-Link Deco mesh locally — nodes, backhaul, clients, WAN, firmware — and carefully change settings with graded, read-back-verified writes, secrets redacted by default and an optional read-only mode. No cloud or app involved.828 PyPI1MIT
- AlicenseBqualityBmaintenanceEnables AI assistants and terminal users to inspect and administer TP-Link routers through typed MCP tools, including live LTE signal and cell/band control, connected clients and DHCP reservations, Wi-Fi and LED settings, diagnostics, SMS/USSD, and guarded disruptive actions.39MIT