Keenetic MCP logo

Keenetic MCP

Manage Keenetic routers over local MCP tools for devices, Wi-Fi, routing, interfaces, segments, diagnostics, and verified configuration changes.

Install Keenetic MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "keenetic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "keenetic-mcp"
      ],
      "env": {
        "KEENETIC_HOST": "YOUR_VALUE_HERE",
        "KEENETIC_USER": "YOUR_VALUE_HERE",
        "KEENETIC_PASSWORD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

keenetic-mcp connects AI clients to Keenetic routers over the router's local HTTP RCI API. It exposes read tools for devices, interfaces, Wi-Fi, routes, policies, internet status, segments, system details, and configuration state, plus verified write tools for device settings, interfaces, segments, and saved configuration. Changes remain in the running configuration until explicitly saved, with automatic backups before the first session change. Reach for it when an agent needs to inspect or manage a Keenetic home network, including isolated guest or IoT segments and selective VPN routing.

Use cases

  • Inspect connected devices and rank them by traffic or signal
  • Block or schedule internet access for a device
  • Diagnose failed internet, Wi-Fi, route, or interface connectivity
  • Create an isolated guest or IoT segment with optional VPN routing
  • Back up and explicitly save verified router configuration changes

Key features

  • Keenetic RCI access over the local network
  • Device, Wi-Fi, interface, route, and policy inspection
  • VLAN-backed segment creation and removal
  • Verified writes with pre-change backups
  • Explicit configuration saving with read-only mode
  • Raw RCI GET and POST requests

Tools18

What Keenetic MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

9/9 checks healthy over the last 62d

What it can do

From the 18 tools this server returned when we ran it; 18 declare their own safety hints.

Can delete or modify data · 6Makes network requests · 1Read-only tools · 12
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age74 days
Maintainers1

Observed 2026-10-20 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · keenetic-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars31Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Tools exposed18Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Keenetic MCP works

What keenetic-mcp does

keenetic-mcp gives MCP-compatible AI clients a local control surface for Keenetic routers. It can inspect connected devices, wireless radios, interfaces, routes, connection policies, segments, internet reachability, system information, and configuration state. Device details include addressing, connection type, signal, traffic, leases, schedules, access policy, and shaping information.

The server also supports router changes. Agents can rename or block devices, assign routing policies and schedules, adjust traffic priority, enable or disable interfaces, create or remove isolated segments, and save the running configuration. A raw RCI tool provides access to router API paths that do not have a dedicated operation.

How it works

The server talks directly to the Keenetic router over HTTP on the local network and authenticates using the router's challenge-response scheme. It maintains a session across agent requests and shapes large responses for model context limits. No software, firmware modification, USB storage, or Entware installation is required on the router.

Write operations affect the running configuration but are not saved automatically. The server takes a backup before the first change in a session and reads changes back for verification before reporting success. The router discards unsaved changes after a reboot unless save_config is called. Read-only mode omits write tools entirely.

Setup and configuration

For Claude Code, the repository provides a plugin installation flow followed by npx -y keenetic-mcp init. Codex can install the plugin or register the server with codex mcp add keenetic -- npx -y keenetic-mcp. Other MCP clients can use a stdio definition that launches npx -y keenetic-mcp.

The setup wizard discovers the default gateway, checks that it is a Keenetic router, validates the password, and stores the password in the operating system keychain. The settings file contains the address and login. In container environments, set KEENETIC_HOST, KEENETIC_USER, and KEENETIC_PASSWORD; these environment variables override other configuration sources.

Tools and capabilities

  • get_system_info reports the model, firmware, uptime, resource load, and installed KeeneticOS components.
  • list_devices and get_device inspect known clients, while update_device changes access, identity, policy, schedules, or priority.
  • list_interfaces, get_interface, and set_interface_state cover WAN links, bridges, access points, VPN tunnels, and interface state.
  • get_wifi_status, get_internet_status, list_routes, and list_policies support wireless and connectivity troubleshooting.
  • list_segments, create_segment, and delete_segment manage VLAN-backed isolated networks with optional Wi-Fi and routing policy settings.
  • backup_config creates a local configuration backup, and save_config commits pending changes for reboot persistence.
  • rci_call sends narrower raw GET or POST requests to the router's RCI tree.

Limitations and notes

The available behavior depends on the router's installed KeeneticOS components. Call get_system_info first when feature support matters. Large RCI responses can exceed useful model context, so narrow paths are preferable with rci_call; the NAT listing alone is over 100 KB.

Disabling a bridge or WAN interface can interrupt access to the router, including the current MCP connection. Deleting a segment removes its associated Wi-Fi networks, policy, DHCP pool, NAT, bridge, and switch-port VLAN configuration, and disconnects devices on that segment. The home segment cannot be deleted.

The server has been verified with KeeneticOS 5.1 hardware and has read-only verification for a Netcraze router using the same firmware family and RCI interface.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Keenetic MCP

keenetic-mcp is an MCP server that connects AI clients to Keenetic routers over the local HTTP RCI API. Its main tools inspect devices, Wi-Fi, interfaces, routes, policies, internet status, and system information, while verified write tools update devices, interfaces, segments, and saved configuration.

Install it with the provided Claude Code or Codex plugin flow, or register `npx -y keenetic-mcp` as a stdio MCP server in another client. Run `npx -y keenetic-mcp init` to discover the router, validate credentials, and configure access.

Set `KEENETIC_HOST`, `KEENETIC_USER`, and `KEENETIC_PASSWORD` to configure the router address and credentials through the environment. These values override other configuration sources and are intended for environments such as containers.

No. Changes apply to the running configuration and are discarded after a reboot until `save_config` is called. The server backs up the configuration before the first session change and verifies writes by reading the result back.

Yes. Cursor can run keenetic-mcp as a standard stdio MCP server. The server also supports the same MCP registration pattern in other compatible clients.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKeenetic MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/keenetic-mcp?style=directory)](https://allmcps.com/mcp/keenetic-mcp)
HTML Embed
<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>