SuperAPIAI Directory

MikroMCP

github.com · AI developer platforms

Manage MikroTik RouterOS devices: interfaces, firewall, DHCP, DNS, routes, WireGuard, WiFi, BGP/OSPF and VLANs, with dry-run previews, RBAC and rollback.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

MikroMCP is an open-source, production-grade MCP (Model Context Protocol) server for AI-native network automation of MikroTik RouterOS. It exposes RouterOS as a typed, auditable toolset, enabling Claude, Cursor, Codex, and other MCP clients to inspect, diagnose, and safely operate MikroTik routers using natural language.

Purpose MikroMCP is positioned to solve the wrong abstraction of "letting AI directly operate the router CLI." RouterOS is powerful, but having an LLM improvise shell commands on production network devices is risky. MikroMCP provides agents with a controlled tool surface: strict schemas, idempotent writes, dry-run previews, per-router circuit breaking, retry policies, RBAC, audit logs, snapshots, and rollback-capable change workflows. In one sentence: MikroMCP turns MikroTik RouterOS into a production-aware MCP control plane for AI infrastructure, DevOps automation, and modern router management.

Key capabilities

  • A total of 126 typed tools covering RouterOS management surfaces such as interfaces, firewall, DHCP, DNS, routing, WireGuard, WiFi, BGP/OSPF, and VLAN.
  • Write operations support idempotency and dry-run, allowing preview and explanation of what will happen before changes.
  • Provides RBAC, audit logs, snapshots, and rollback-aware change workflows.
  • Includes per-router circuit breaking, retry policies, maintenance windows, and confirmation gating.
  • Returns both operator-oriented summaries and structured JSON for subsequent reasoning.
  • Supports MCP over stdio and HTTP/SSE, and can connect to MCP-compatible clients such as Claude Code, Claude Desktop, Codex, Cursor, and OpenClaw.
  • Uses SSH only in scenarios that REST cannot cover (such as ping and the protected run_command).
  • Since v1.9.0, supports SwOS / SwOS Lite switches through the contribution of @f0086, going beyond the RouterOS scope for the first time.

How to use Single-router stdio deployment has a brief installation and configuration process; for the standalone binary, Docker, HTTP/SSE mode, RouterOS API prerequisites, and the complete 15-minute onboarding process, see the Getting Started guide. After installation and connection, you can use the included usage skill and Available Tools documentation to safely automate RouterOS within AI assistants. Credentials should only be stored in ~/.mikromcp/.env.

Use cases

  • Network engineers using AI tools for daily RouterOS operations and diagnostics.
  • Router management in AI infrastructure and DevOps automation.
  • Inspecting and managing MikroTik routers directly in editors such as Claude Code, Codex, and Cursor.
  • Production network change workflows that require dry-run, rollback, auditing, and RBAC.

Limitations and security MikroMCP controls real network devices and should be treated like an operating system: use least-privilege RouterOS users, verify TLS (or pin fingerprints), store credentials only in ~/.mikromcp/.env, use scoped RBAC identities, and enable audit logs when shared. For the complete hardening checklist and vulnerability reporting process, see the Security page. The project uses TypeScript strict mode, ESM imports (.js extensions), strict Zod schemas, and focused Vitest coverage for each tool. The project is released under the MIT License.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools