Skip to content
MCP server
Registry

mikrotik-mcp MCP Server

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

mikrotik-mcp scores 71 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Developer tools. GitHub shows 367 stars. Package registries report about 2,104 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by wiresageMITPython367 stars
Trust score
71Good
Trust score 71 of 100, Good

Good trust

71 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 71 comes from

22 + 20 + 8 + 10 + 4 + 7 = 71. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "jeff-nasseri-mikrotik-mcp": {      "command": "uvx",      "args": [        "mcp-server-mikrotik"      ],      "env": {        "MIKROTIK_HOST": "",        "MIKROTIK_USERNAME": "",        "MIKROTIK_PASSWORD": "YOUR_MIKROTIK_PASSWORD",        "MIKROTIK_PORT": "",        "MIKROTIK_KEY_FILENAME": "",        "MIKROTIK_READ_ONLY": "",        "MIKROTIK_SENSITIVE_HIDING": "",        "MIKROTIK_INVENTORY_FILE": "",        "MIKROTIK_INVENTORY": "YOUR_MIKROTIK_INVENTORY"      }    }  }}

Environment variables

NameRequiredNotes
MIKROTIK_HOSTOptionalIP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured.
MIKROTIK_USERNAMEOptionalSSH username for the MikroTik router (single-device mode; default: admin)
MIKROTIK_PASSWORDSecretOptionalSSH password for the MikroTik router (single-device mode)
MIKROTIK_PORTOptionalSSH port of the MikroTik router (single-device mode; default: 22)
MIKROTIK_KEY_FILENAMEOptionalPath to SSH private key file for key-based authentication (single-device mode)
MIKROTIK_READ_ONLYOptionalWhen 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_HIDINGOptionalWhen 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_FILEOptionalPath to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/devices/inventory.md.
MIKROTIK_INVENTORYSecretOptionalInline multi-device inventory as a YAML (or JSON) list; takes precedence over MIKROTIK_INVENTORY_FILE and the single-device variables. Holds credentials.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Website Presentations Build Status Tests PyPI downloads MIT License Discord MCP Toplist Audited by AddonAudit audited by mseep.ai

MikroTik MCP provides a bridge between AI assistants and MikroTik RouterOS devices. It allows AI assistants to interact with MikroTik routers through natural language requests, executing commands like managing VLANs, configuring firewall rules, handling DNS settings, and more.

Demo Videos

Claude Desktop

https://github.com/user-attachments/assets/24fadcdc-c6a8-48ed-90ac-74baf8f94b59

Inspector

https://github.com/user-attachments/assets/e0301ff2-8144-4503-83d0-48589d95027d

Inventory

[!NOTE] Since MikroTik MCP version 0.14.0, the MikroTik MCP will allow you to manage multiple MikroTik devices within your fleet structure. The following video simply shows how to use the inventory of MikroTik devices to let LLMs talk with your MikroTik devices.

https://github.com/user-attachments/assets/185b2c39-8f55-4f26-a74c-2ac459ad38f5

Documentation

📚 Full Documentation - Complete guides, API reference, and examples

🌐 Prefer to read online? The same documentation is also published at www.mikrotik-mcp.com (docs) — an optional, web-friendly way to explore the project while reviewing the repo.

Quick Links

Contributors ❤️

MikroTik MCP is built by the people below. Thank you for every commit, issue, review and idea.

Contributions of every kind are welcome: code, bug reports, documentation and reviews all move the project forward. Start with the Contributing Guide.

Community

Got a question, an idea, or something you'd like to talk through? Join us on Discord. Users and contributors are both welcome, whether you're connecting your first router or working on a PR.

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Frequently asked questions

What is mikrotik-mcp MCP Server?

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

How do I install mikrotik-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mikrotik-mcp MCP Server runs locally from the PyPI package mcp-server-mikrotik with the command uvx mcp-server-mikrotik.

Is mikrotik-mcp MCP Server free and open source?

Yes. mikrotik-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does mikrotik-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mikrotik-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is mikrotik-mcp MCP Server's trust score calculated?

mikrotik-mcp MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server