What it is
MikroMCP is an MCP (Model Context Protocol) server for MikroTik RouterOS routers and SwOS switches, built by Ali Karami. MCP clients such as Claude, Cursor and Codex can use it to inspect, diagnose and operate network devices in plain language. The page says it offers 133 typed tools, and SwOS support is marked as experimental.
Highlights:
- Connects over stdio, Streamable HTTP or legacy SSE
- Includes dry-run, snapshots, rollback, RBAC (role-based access control) and audit logs
- Covers firewall, routing and WireGuard, plus ping, traceroute and torch for troubleshooting
- Supports SwOS and SwOS Lite switches as well as RouterOS
How to use:
- First enable the REST API on RouterOS and create a user, then run `npm install -g mikromcp`
- Next run `mikromcp init`
- Finally connect it in a client such as Claude Desktop and give instructions in plain language
Who it's for:
Network administrators with MikroTik gear who want an AI client to help with troubleshooting and day-to-day operations.
Before you start:
- Needs Node.js 22 or later, and targets RouterOS 7.x
- Permissions: an AI client can use it to remotely manage routers and switches, including applying configuration, upgrading firmware and changing passwords. It can also add or remove firewall rules, routes and DNS entries, reboot the system, manage packages, files, scripts and containers, and run restricted commands over SSH
- It controls real network devices. The page recommends a least-privilege RouterOS user, verified TLS or pinned fingerprints, credentials kept only in `~/.mikromcp/.env`, and scoped RBAC identities with audit logging for shared use
- The page does not say whether data is sent to third parties, and does not describe any cost
- Licensed under MIT
- If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences.
Based on the project's public documentation. Not tested by AI Inspiration World.
