MikroMCP

v1.18.0
io.github.AliKarami/mikromcp Checked 2 hours ago Published 8 days ago

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

Values you need

VariableWhat it is
MIKROMCP_CONFIG_PATHoptional Path to the MikroMCP router registry YAML file. Defaults to ~/.mikromcp/routers.yaml.
MIKROMCP_ROUTER_HOSToptional 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_USERoptional RouterOS REST API username for the router set by MIKROMCP_ROUTER_HOST.
MIKROMCP_ROUTER_PASSoptional secret RouterOS REST API password for the router set by MIKROMCP_ROUTER_HOST. Never logged.
MIKROMCP_STDIO_IDENTITYoptional Optional identity name for stdio transport RBAC. Omit to use the built-in superadmin identity.
MIKROMCP_LOG_LEVELoptional 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.0
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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, ….
  4. 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