原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Keenetic MCP

作者:salatmaster版本 0.3.2i★ –i在你的电脑上运行
注册名称io.github.salatmaster/keenetic-mcp

安装

概览

作者提供的说明(英文原文)

Control a Keenetic router: devices, Wi-Fi, VPN routing, segments, safe verified writes.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:KEENETIC_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: KEENETIC_HOST, KEENETIC_USER, KEENETIC_PASSWORD

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "keenetic": {
      "command": "npx",
      "args": [
        "-y",
        "keenetic-mcp"
      ],
      "env": {
        "KEENETIC_HOST": "your-value",
        "KEENETIC_USER": "your-value",
        "KEENETIC_PASSWORD": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add keenetic --env KEENETIC_HOST=your-value --env KEENETIC_USER=your-value --env KEENETIC_PASSWORD=your-value -- npx -y keenetic-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "keenetic": {
      "command": "npx",
      "args": [
        "-y",
        "keenetic-mcp"
      ],
      "env": {
        "KEENETIC_HOST": "your-value",
        "KEENETIC_USER": "your-value",
        "KEENETIC_PASSWORD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "keenetic": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "keenetic-mcp"
      ],
      "env": {
        "KEENETIC_HOST": "your-value",
        "KEENETIC_USER": "your-value",
        "KEENETIC_PASSWORD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • KEENETIC_HOST env
    Router address on the LAN, for example 192.168.1.1. Optional: `npx keenetic-mcp init` discovers it from the default gateway and stores it.
  • KEENETIC_USER env
    Router login. Optional, defaults to admin.
  • KEENETIC_PASSWORD 机密 env
    Router password. Optional: the setup wizard stores it in the operating system keychain instead. Use this in a container, where there is no keychain.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 salatmaster 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18704 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18704 个服务器的 83% 更新
  • 基础检查结果等于或优于此分类中其他 18704 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Keenetic MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:KEENETIC_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.2)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, agentPickup

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2114天前更新

在云端运行✓ desktopcommander.app

agentPickup

Find pickup shops near you, order, pay by card or USDC (x402), and get the QR to collect in person.

作者:Tokenise-au正在增长↓ 1160/周今天更新

电脑或云端

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

keenetic-mcp

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.

> who is using the most bandwidth right now?

Three devices are active. Sorted by traffic:

work-laptop wifi:HomeNet -46 dBm 7.7 GB down living-room-tv wired:Home 3.2 GB down hallway-camera wifi:HomeNet -48 dBm 5.4 MB down

The laptop is on the 2.4 GHz radio at -46 dBm, which is a strong signal, so the throughput is not a coverage problem.

block the camera until tomorrow morning

Blocked hallway-camera (02:00:00:00:00:14).

Applied to the running configuration and verified, but NOT saved. A reboot discards it. Backup taken before the change: ~/Library/Application Support/keenetic-mcp/backups/…txt

Say the word and I will make it permanent, or leave it and it reverts on the next restart.

Why

  • Nothing on the router. It talks to the router's own HTTP API over your LAN. No USB drive, no Entware, no firmware modification.
  • Works on any Keenetic. The tool set adapts to what your specific model and firmware actually support.
  • Safe by construction. Changes are never saved unless you ask, a backup is taken before the first one, and every change is read back and verified before it is reported as done.
  • Read-only if you want it. One flag and the agent physically cannot change anything.

Install

Claude Code
/plugin marketplace add salatmaster/keenetic-mcp

/plugin install keenetic@keenetic

Then run the setup wizard in your terminal:

npx -y keenetic-mcp init
Codex
codex plugin marketplace add salatmaster/keenetic-mcp

codex plugin add keenetic@keenetic npx -y keenetic-mcp init

This brings the skills along with the server. For the server on its own:

codex mcp add keenetic -- npx -y keenetic-mcp
Anything else
{

"mcpServers": { "keenetic": { "command": "npx", "args": ["-y", "keenetic-mcp"] } } }

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.

What it can do

Read

Tool
list_devicesevery device, filtered by active, wired, wireless or blocked, sorted by traffic or signal
get_deviceone device in full: lease, Wi-Fi rate, policy, schedule, traffic
list_interfacesWAN links, bridges, access points, VPN tunnels
get_interfaceone interface in full, including WireGuard peers
get_wifi_statusradios by band, with client counts
get_internet_statusreachability, and which check failed
list_routesrouting table, or just the default route
list_policiesconnection policies for selective routing
get_system_infomodel, firmware, CPU, memory, installed components
get_config_stateunsaved changes, who changed what and when
list_segmentsevery bridge, and whether the web interface lists it as a segment
backup_configdownload the configuration to a local file

Change

Tool
update_devicerename, block or allow, assign a routing policy, schedule or priority
set_interface_statebring an interface up or down
create_segmenta guest or IoT network the web interface actually lists, with Wi-Fi, DHCP and optional VPN routing
delete_segmentremove a segment and everything created with it
save_configmake pending changes survive a reboot

Escape hatch

Tool
rci_callany router API path at all, for whatever the tools above do not cover

Skills included

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.

  • keenetic-rci teaches the router's API tree: which paths exist, which ones return 100 KB, and how to recover the exact syntax of a command from the router's own configuration.
  • keenetic-safe-changes teaches the change workflow: what the router's fail-safe does and does not protect against, and which interfaces will cut off your own access.
  • keenetic-segments covers building an isolated network the router will admit exists. The obvious way produces a guest network that carries traffic perfectly and never appears in the web interface, because a segment is VLAN-backed and the VLAN is the part everyone leaves out.
  • keenetic-troubleshoot is an ordered diagnostic playbook for "the internet is down", "Wi-Fi is bad" and "one device cannot connect".

Safety

  • Nothing is saved unless you ask. Changes apply to the running configuration and are discarded on reboot until save_config is called. The server never calls it on its own.
  • A backup is taken automatically before the first change of a session.
  • Every change is verified. The router accepts some wrong commands silently and changes nothing, so each write is read back and compared before it is reported as successful.
  • Read-only mode really is read-only. With --read-only, the write tools are not registered at all rather than registered and refusing, so the agent never sees them.
  • Your password goes in the system keychain, not in a config file, and never in a log or a tool response.
  • LAN only. No cloud, no telemetry, no outbound connection to anything but your router.

Where the password is stored on each platform, and how to report something privately, are in SECURITY.md.

Supported routers

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.

Netcraze routers run the same firmware under their own brand and answer the same RCI. Verified read-only against a Netcraze Speedster (NC-3013) on 5.2 Beta 1: the setup wizard, system info, internet status and the device list.

How it works

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.

Development

npm install

npm test # no router required npm run typecheck npm run build

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:

KEENETIC_HOST=… KEENETIC_PASSWORD=… npm run capture:fixtures

KEENETIC_TEST_HOST=… KEENETIC_TEST_PASSWORD=… npm run smoke

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:

KEENETIC_TEST_PASSWORD=… ./scripts/verify-wizard.exp
Releasing

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.

git tag v0.2.2 && git push origin v0.2.2

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.

License

MIT

问 PopNx