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 465 installs a week from pypi. Last commit 16 Sep 2026.

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

Installs per day peak 2 231 · avg 369 · -15% w/w
a month agotoday
1 465
Installs / week
pypi · mcp-server-mikrotik
277
Stars
15 open issues
16 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

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:33
  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": {
      "args": [
        "mcp-server-mikrotik"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mikrotik-mcp]
command = "uvx"
args = ["mcp-server-mikrotik"]
.cursor/mcp.json
{
  "mcpServers": {
    "mikrotik-mcp": {
      "args": [
        "mcp-server-mikrotik"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mikrotik-mcp": {
      "args": [
        "mcp-server-mikrotik"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: 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_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.). The author declared them in the registry entry; get the values from the project itself.

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

22 installs/wk local only
Mikrotik
by marcelo-ochoa

MCP server for MikroTik RouterOS API

31 installs/wk local only
Hetzner
by lazyants

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

161 installs/wk local only
MikroMCP
by alikarami

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

210 installs/wk local only
Switchboard
by wkoverfield

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

89 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.

47 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 465 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 with the file path 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 465 times in the last week. Week over week that is -15%. 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, 277 stars on GitHub and 15 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.