MikroMCP
v1.18.0MikroTik MCP server for RouterOS and SwOS: typed tools, dry-run, RBAC, audit logs, rollback.
Values you need
| Variable | What it is | |
|---|---|---|
MIKROMCP_CONFIG_PATH | optional | Path to the MikroMCP router registry YAML file. Defaults to ~/.mikromcp/routers.yaml. |
MIKROMCP_ROUTER_HOST | optional | Address of a single router to manage without a routers.yaml file (HTTPS on port 443 by default). Used only when MIKROMCP_ROUTERS is unset and no config file exists. |
MIKROMCP_ROUTER_USER | optional | RouterOS REST API username for the router set by MIKROMCP_ROUTER_HOST. |
MIKROMCP_ROUTER_PASS | optional secret | RouterOS REST API password for the router set by MIKROMCP_ROUTER_HOST. Never logged. |
MIKROMCP_STDIO_IDENTITY | optional | Optional identity name for stdio transport RBAC. Omit to use the built-in superadmin identity. |
MIKROMCP_LOG_LEVEL | optional | Optional log level: trace, debug, info, warn, or error. Defaults to info. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add mikromcp -- npx -y mikromcp@1.18.0Add to
claude_desktop_config.json{
"mcpServers": {
"mikromcp": {
"args": [
"-y",
"mikromcp@1.18.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mikromcp": {
"args": [
"-y",
"mikromcp@1.18.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mikromcp": {
"args": [
"-y",
"mikromcp@1.18.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mikromcp]
command = "npx"
args = ["-y", "mikromcp@1.18.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_system_status, get_system_clock, set_system_clock, reboot, run_command, list_packages, manage_package, get_upgrade_status, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json