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

MikroMCP

作者:AliKarami版本 1.16.1i★ –i在你的电脑上运行
注册名称io.github.AliKarami/mikromcp

安装

概览

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

MCP server for MikroTik RouterOS and SwOS: typed tools, dry-run, RBAC, audit logs, and rollback.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "mikromcp": {
      "command": "npx",
      "args": [
        "-y",
        "mikromcp"
      ],
      "env": {
        "MIKROMCP_CONFIG_PATH": "your-value",
        "MIKROMCP_STDIO_IDENTITY": "your-value",
        "MIKROMCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add mikromcp --env MIKROMCP_CONFIG_PATH=your-value --env MIKROMCP_STDIO_IDENTITY=your-value --env MIKROMCP_LOG_LEVEL=your-value -- npx -y mikromcp

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "mikromcp": {
      "command": "npx",
      "args": [
        "-y",
        "mikromcp"
      ],
      "env": {
        "MIKROMCP_CONFIG_PATH": "your-value",
        "MIKROMCP_STDIO_IDENTITY": "your-value",
        "MIKROMCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "mikromcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mikromcp"
      ],
      "env": {
        "MIKROMCP_CONFIG_PATH": "your-value",
        "MIKROMCP_STDIO_IDENTITY": "your-value",
        "MIKROMCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • MIKROMCP_CONFIG_PATH env
    Path to the MikroMCP router registry YAML file. Defaults to ~/.mikromcp/routers.yaml.
  • MIKROMCP_STDIO_IDENTITY env
    Optional identity name for stdio transport RBAC. Omit to use the built-in superadmin identity.
  • MIKROMCP_LOG_LEVEL env
    Optional log level: trace, debug, info, warn, or error. Defaults to info.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

MikroMCP 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

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

MikroMCP

AI-native network automation for MikroTik RouterOS and SwOS. MikroMCP exposes RouterOS routers and SwOS switches as a typed, auditable Model Context Protocol server so Claude, Cursor, Codex, and other MCP clients can inspect, diagnose, and safely operate MikroTik gear in natural language.

MikroMCP exists because raw router CLI access is the wrong abstraction for AI agents. RouterOS is powerful, but asking an LLM to improvise shell commands against production network gear is risky. MikroMCP gives agents a controlled tool surface: strict schemas, idempotent writes, dry-run previews, per-router circuit breakers, retry policies, RBAC, audit logs, snapshots, and rollback-aware change workflows.

In one sentence: MikroMCP turns MikroTik RouterOS into a production-minded MCP control plane for AI infrastructure, DevOps automation, and modern router management.


Quick Start

That's the whole setup for a single-router stdio deployment. For standalone binaries, Docker, HTTP/SSE mode, the RouterOS API prerequisites, and the full 15-minute walkthrough, see the [Getting Started guide](https://github.com/AliKarami/MikroMCP/wiki/Getting-Started).


Feature Showcase

CategoryWhat MikroMCP covers
🧭 Router managementSystem status, clock, reboot, packages, files, scripts, scheduler jobs, containers
🌐 Network operationsInterfaces, VLANs, IP addresses, DHCP leases, DNS static records, bridge ports, WiFi clients
🔥 Firewall and policyFilter/NAT rules, mangle rules, address lists, route tables, routing rules
🛰️ Routing visibilityStatic routes, routing tables, BGP peers, OSPF neighbors
🔀 SwOS switches*Experimental.* MikroTik SwOS and SwOS Lite switches (deviceType: "swos") over the reverse-engineered .b HTTP API: port links, PoE, SFP diagnostics, guarded whole-blob writes with a firmware-compatibility check, the whole switch config as one YAML document (export, dry-run, apply), backups and firmware upgrades
🔐 Secure accessHTTP bearer auth, bcrypt token hashes, RBAC, router/tool restrictions, confirmation tokens
🧪 DiagnosticsRouter-originated ping, traceroute, torch, log filtering, guarded SSH command execution
🛡️ Change safetyDry-run, idempotent writes, snapshots, write journal, plan_changes, apply_plan, rollback_change
⚙️ Production behaviorRetries for read tools, per-router circuit breakers, correlation IDs, structured logs, audit logs
🤖 AI-agent fitHuman-readable responses plus structured JSON content for reasoning, chaining, and automation; server advertises an instructions string on MCP initialize so clients self-configure; optional routerId resolved via MIKROMCP_DEFAULT_ROUTER for single-router setups; usage skill for safe, guided tool use in Claude Code
🧩 MCP compatibilitystdio for desktop clients, Streamable HTTP and legacy SSE for remote or service-style clients

133 typed tools in total — browse the full catalog with parameters, defaults, and copy-paste example prompts in [Available Tools](https://github.com/AliKarami/MikroMCP/wiki/Available-Tools).


Demo

Usage
Review by Claude

Real-World Usage Examples

Router Inspection
Use MikroMCP to inspect core-01. Summarize system resources, RouterOS version,

running interfaces, active routes, DNS settings, and recent warning/error logs. Flag anything that looks operationally risky.

Firewall Management
List firewall filter and NAT rules on edge-01. Identify disabled rules,

overlapping port forwards, broad accept rules, and anything without comments. Do not change anything yet.

Safe Static Route Change
Dry-run a route on core-01 for 10.20.0.0/16 via 192.168.88.1 in the main table.

Show the exact planned diff and tell me whether an existing route conflicts.

WireGuard Operations
Show WireGuard peers on branch-02. Sort by last handshake age and flag peers

that have not handshaken recently or have no transfer counters.

Interface Diagnostics
Check interface health on edge-01, then run ping and traceroute from the router

to 1.1.1.1. If packet loss is present, use torch on the WAN interface for a short traffic snapshot.

Plan / Apply / Rollback Workflow
Create a change plan that adds a DNS record and a firewall address-list entry

on edge-01. Use dry-run first, explain the plan, then wait for approval before applying anything.


Why MikroMCP Is Useful For AI Agents

MCP gives LLMs a standard way to call tools. MikroMCP makes RouterOS a high-quality MCP target by turning network operations into well-described, machine-readable, permission-aware actions.

AI assistants can use MikroMCP to:

  • Investigate router state without memorizing RouterOS command syntax.
  • Chain tool calls across interfaces, routes, firewall rules, logs, and diagnostics.
  • Return both operator-friendly summaries and structured JSON for follow-up reasoning.
  • Preview changes before mutation and explain exactly what would happen.
  • Respect tool-level authorization, router scoping, maintenance windows, and confirmation gates.

FAQ

What is MikroMCP?

MikroMCP is an open-source Model Context Protocol (MCP) server that exposes MikroTik RouterOS as 133 typed, auditable tools — letting AI assistants inspect, diagnose, and safely operate routers in natural language instead of improvising CLI commands.

MikroMCP vs RouterOS API

The RouterOS REST/API exposes raw endpoints. MikroMCP wraps them in schema-validated, idempotent, dry-run-able tools with RBAC, audit logging, snapshots, and rollback — the safety layer an LLM needs before it touches production gear.

MikroMCP vs SSH automation

Instead of brittle SSH scripts that screen-scrape CLI output, MikroMCP returns structured, typed results with confirmation gates and per-router circuit breakers. SSH is used only where REST can't reach — ping and guarded run_command.

MikroMCP for Claude Code

MikroMCP speaks MCP over stdio and HTTP/SSE, so Claude Code and Claude Desktop drive RouterOS directly. Pair it with the bundled usage skill for safe, guided workflows.

MikroMCP for Codex

Codex connects to MikroMCP over the standard MCP protocol — see Connecting to AI Assistants.

MikroMCP for Cursor

Cursor connects to MikroMCP as an MCP server (stdio or HTTP) to inspect and manage MikroTik routers without leaving the editor.

MikroMCP for OpenClaw

Any MCP-compatible client — OpenClaw included — can use MikroMCP; configure it as a stdio or HTTP MCP server.

RouterOS AI Automation Guide

Start with Getting Started to install and connect, then use the usage skill and Available Tools to automate RouterOS safely with an AI assistant.

Best MCP Servers for Network Engineers

MikroMCP is purpose-built for MikroTik/RouterOS operations with production-grade safety — dry-run, rollback, audit, and RBAC — making it a strong MCP choice for network engineers adopting AI tooling.


Documentation

The README stays intentionally short. Everything below is documented in depth in the wiki:

ResourceUse it for
Getting StartedInstall (npm, binary, Docker), configure, and connect in 15 minutes
RouterOS API SetupEnable the REST API, create a user, TLS and firewall
ConfigurationRouter registry, credentials, all environment variables
RunningRun commands, HTTP/SSE transport, troubleshooting
Connecting to Claude DesktopRegister MikroMCP in Claude Desktop
Connecting to AI AssistantsClaude Code, Cursor, Codex, HTTP/Docker/systemd
Using the SkillInstall the MikroMCP usage skill so your assistant drives the tools safely
Available ToolsAll 133 tools — parameters and example prompts
ArchitectureSystem layers, request pipeline, auth model
Error HandlingError categories, retry engine, circuit breaker

| [Sec

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx