Control a Keenetic router: devices, Wi-Fi, VPN routing, segments, safe verified writes.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Control your Keenetic router from Claude, Codex, Cursor, or any MCP agent.
Ask your agent about your network in plain language. No USB stick, no Entware, nothing installed on the router.
Then run the setup wizard in your terminal:
This brings the skills along with the server. For the server on its own:
The wizard finds your router from the default gateway, confirms it really is a Keenetic, checks the password against it, and stores the password in your operating system keychain. Only the address and login go in a settings file.
Prefer environment variables? KEENETIC_HOST, KEENETIC_USER and
KEENETIC_PASSWORD override everything, which is what you want in a container.
Read
| Tool | |
|---|---|
list_devices | every device, filtered by active, wired, wireless or blocked, sorted by traffic or signal |
get_device | one device in full: lease, Wi-Fi rate, policy, schedule, traffic |
list_interfaces | WAN links, bridges, access points, VPN tunnels |
get_interface | one interface in full, including WireGuard peers |
get_wifi_status | radios by band, with client counts |
get_internet_status | reachability, and which check failed |
list_routes | routing table, or just the default route |
list_policies | connection policies for selective routing |
get_system_info | model, firmware, CPU, memory, installed components |
get_config_state | unsaved changes, who changed what and when |
list_segments | every bridge, and whether the web interface lists it as a segment |
backup_config | download the configuration to a local file |
Change
| Tool | |
|---|---|
update_device | rename, block or allow, assign a routing policy, schedule or priority |
set_interface_state | bring an interface up or down |
create_segment | a guest or IoT network the web interface actually lists, with Wi-Fi, DHCP and optional VPN routing |
delete_segment | remove a segment and everything created with it |
save_config | make pending changes survive a reboot |
Escape hatch
| Tool | |
|---|---|
rci_call | any router API path at all, for whatever the tools above do not cover |
The plugin ships four skills, so the agent knows how your router behaves rather than guessing. One plugin directory serves both Claude Code and Codex: they read different manifests but share the same skills and the same server definition.
save_config is called. The
server never calls it on its own.--read-only, the write tools
are not registered at all rather than registered and refusing, so the agent
never sees them.Where the password is stored on each platform, and how to report something privately, are in SECURITY.md.
RCI, the API this uses, is a standard part of KeeneticOS rather than a feature of expensive models, so this works across the range. Verified against a Keenetic Ultra (KN-1811) on KeeneticOS 5.1.3.
Models on the current 5.1 branch: Giga (KN-1010), Hero (KN-1011, KN-1012), Start and Starter (KN-1111, KN-1112, KN-1121), Air and Explorer (KN-1613, KN-1621), Extra and Carrier (KN-1713, KN-1714, KN-1721), Ultra and Titan (KN-1810, KN-1811, KN-1812). Older hardware on 4.x and earlier has RCI too; the tool set adapts to the components each router actually has.
Keenetic routers expose RCI, a JSON mirror of their command-line tree, over HTTP. This server authenticates with the router's challenge-response scheme, keeps one session alive across the agent's questions, and shapes the answers so they fit in a model's context: the raw interface listing alone is 32 KB, and the NAT table is over 100 KB.
There is no coherent public documentation for RCI, so docs/rci-api.md is the notes taken while building this: the authentication handshake, the paths that exist, the traps, and how to recover a command's syntax from the router itself.
A checkout reports its version as 0.0.0-dev, because there is no version
written down anywhere in the sources. Put KEENETIC_MCP_VERSION in a .env at
the repository root to say otherwise; the same file can hold KEENETIC_HOST
and KEENETIC_PASSWORD so you do not have to export them. A real environment
variable always wins over that file, and an installed copy never reads one.
Tests run against sanitized fixtures captured from a real router. To refresh them, and to run a read-only smoke test against your own:
Fixtures are anonymized deterministically and a test scans the whole repository for anything that looks like a real MAC address, private IP or key.
The setup wizard reads a password from the terminal, which no unit test can reach: piped input takes a different code path entirely. That part is checked with a script that drives a real pty, so it needs a terminal and cannot run in CI:
A release is a tag and nothing else. There is no version commit to write,
because there is no version in the repository to change: package.json carries
0.0.0-dev, the plugin manifests carry none at all, and the release workflow
stamps the tag into package.json immediately before publishing without
committing it.
The workflow refuses a tag that does not name a version, and a test refuses a
tree that has a version written into it, so the two can never disagree. The
plugins pin keenetic-mcp@^0, which tracks the major only and is meant to be
edited once, at 1.0.
MIT
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/keenetic-mcp)<a href="https://allmcps.com/mcp/keenetic-mcp"><img src="https://allmcps.com/api/badge/keenetic-mcp?style=directory" alt="Keenetic MCP on AllMCPs" /></a>