TP-Link Deco
v0.3.1Manage a TP-Link Deco mesh over its local API: clients, Wi-Fi, port forwarding, HomeShield, logs
Values you need
| Variable | What it is | |
|---|---|---|
DECO_HOST | optional | Main Deco, including the scheme Default: https://192.168.68.1 |
DECO_PASSWORD | optional secret | The Deco's local admin password (on macOS the Keychain item deco-mcp can be used instead) |
DECO_TPLINK_EMAIL | optional | Deco owner's TP-Link ID email, for app-protocol tools (or the Keychain item deco-mcp-tplink) |
DECO_TPLINK_PASSWORD | optional secret | Deco owner's TP-Link ID password, for app-protocol tools |
DECO_ALLOW_WRITES | optional | Set to 1 to register the tools that change settings Default: 0 |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add deco-mcp -- uvx deco-mcp==0.3.1Add to
claude_desktop_config.json{
"mcpServers": {
"deco-mcp": {
"args": [
"deco-mcp==0.3.1"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"deco-mcp": {
"args": [
"deco-mcp==0.3.1"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"deco-mcp": {
"args": [
"deco-mcp==0.3.1"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.deco-mcp]
command = "uvx"
args = ["deco-mcp==0.3.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: deco_list_clients, deco_list_blocked_clients, deco_list_reservations, deco_list_dhcp_leases, deco_diagnose_path, deco_list_units, deco_list_port_forwards, deco_get_network, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json