mcpbeat Sign in

Mikrotik MCP Server

local only

Mikrotik MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 1 818 installs a week from pypi. Last commit 1 Nov 2026.

MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.

Installs per day peak 6 068 · avg 586 · -47% w/w
a month agotoday
1 818
Installs / week
pypi · mcp-server-mikrotik
313
Stars
9 open issues
1 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    in_container = os.path.exists("/.dockerenv") or os.environ.get("container") == "docker"
Touches key and credential files inventory.example.yml:37
  key_filename: /config/keys/id_ed25519   # SSH private key, preferred over a password

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mikrotik-mcp -- uvx mcp-server-mikrotik
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mikrotik-mcp": {
      "command": "uvx",
      "args": [
        "mcp-server-mikrotik"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mikrotik-mcp]
command = "uvx"
args = ["mcp-server-mikrotik"]
.cursor/mcp.json
{
  "mcpServers": {
    "mikrotik-mcp": {
      "command": "uvx",
      "args": [
        "mcp-server-mikrotik"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mikrotik-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-mikrotik"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: MIKROTIK_HOST (IP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured), MIKROTIK_USERNAME (SSH username for the MikroTik router (single-device mode; default: admin)), MIKROTIK_PASSWORD (SSH password for the MikroTik router (single-device mode)), MIKROTIK_PORT (SSH port of the MikroTik router (single-device mode; default: 22)), MIKROTIK_KEY_FILENAME (Path to SSH private key file for key-based authentication (single-device mode)), MIKROTIK_READ_ONLY (When true, expose only tools that do not modify RouterOS or its file store. Use a read-only RouterOS account as defence in depth), MIKROTIK_SENSITIVE_HIDING (When true, redact recognized credentials and private key material from tool results, MCP notifications, and logs, and omit tools that return opaque sensitive payloads), MIKROTIK_INVENTORY_FILE (Path to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/inventory), MIKROTIK_INVENTORY (Inline multi-device inventory as a YAML (or JSON) list; takes precedence over MIKROTIK_INVENTORY_FILE and the single-device variables. Holds credentials).

Alternatives to Mikrotik MCP

same job, measured the same way
OPNsense MCP Server
by itunified-io

OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more

43 installs/wk local only
Mikrotik
by marcelo-ochoa

MCP server for MikroTik RouterOS API

94 installs/wk local only
Hetzner
by lazyants

MCP server for the Hetzner Cloud API — servers, networks, volumes, firewalls, and more.

1 146 installs/wk local only
MikroMCP
by alikarami

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

731 installs/wk local only
Switchboard
by wkoverfield

One firewall and password manager for all your AI coding agents' MCP servers and secrets.

77 installs/wk local only
Atera
by wyre-ai

MCP server for Atera RMM — customers, tickets, and more.

local only
Atera
by wyre-technology

MCP server for Atera RMM — customers, tickets, and more.

local only
SSH Client MCP Server
by jordanburke

MCP server for executing shell commands on remote hosts via SSH.

101 installs/wk local only

Mikrotik MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Mikrotik MCP?
Mikrotik MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package mcp-server-mikrotik was installed 1 818 times last week.
How do I connect Mikrotik MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mcp-server-mikrotik straight from pypi; nothing to host, nothing to sign up for.
How many people use Mikrotik MCP?
The pypi package mcp-server-mikrotik was installed 1 818 times in the last week. Week over week that is -47%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Mikrotik MCP open source?
Yes — it is published under the MIT licence, written in Python, 313 stars on GitHub and 9 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.