
Mikrotik Mcp
io.github.jeff-nasseriPublished by GitHub account jeff-nasseriv0.24.0.0Updated Oct 24, 2026
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
Overview
Connects an AI assistant to MikroTik RouterOS routers over SSH so it can inspect and configure firewall, NAT, routing, DHCP, DNS and WireGuard.
- What you can do
- Manage RouterOS configuration such as VLANs, firewall rules and DNS settings through natural-language requests
- Work with routing, NAT, DHCP and WireGuard settings on the router
- Target a single router or a multi-device inventory of MikroTik devices
- Optionally restrict the exposed tools to read-only operations
- Optionally redact credentials and private key material from results, notifications and logs
- When to use it
- Useful when you administer MikroTik routers and want an assistant to read or change RouterOS configuration without typing CLI commands, including across a fleet of devices listed in an inventory.
- Requirements
- Runs locally as a Python package over stdio. Needs SSH reachability to the router plus credentials: MIKROTIK_HOST, MIKROTIK_PORT, MIKROTIK_USERNAME and either MIKROTIK_PASSWORD or MIKROTIK_KEY_FILENAME for a single device, or MIKROTIK_INVENTORY / MIKROTIK_INVENTORY_FILE for multiple devices.
Installation
In SourceWeft
- Open Mikrotik Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
MikroTik MCP
[MseeP.ai Security Assessment Badge]
[MCP Toplist] [Audited by AddonAudit] [Website] [Build Status] [Tests] [MIT License] [Discord]
Overview
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
- Installation Guide - Get started with MikroTik MCP
- API Coverage - Implemented and planned RouterOS features
- Testing Guide - Run integration tests
- Claude Desktop Integration - Configure for Claude Desktop
- MCP Inspector - Interactive testing tool
- Contributing Guide - Help improve MikroTik MCP
- Articles - Learning resources and tutorials
- Diagrams - Architecture and design diagrams (draw.io)
Contributors ❤️
MikroTik MCP is built by the people below. Thank you for every commit, issue, review and idea.
[jeff-nasseri] [goto1134] [vavan11] [shahabbahojb] [lwsinclair] [nieomylnieja] [hassankhurram] [OronF] [pdostal] [inistor] [paoValle] [lucasholman] [lilianmoraru] [Kn-ut99] [vanelin] [siderakis] [mkranjcic]
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.
Presentations
Prefer to watch instead of read? The official MikroTik MCP presentations, including walkthroughs of new features and pull requests, live on Bisque: bisque.today/p/wiresage/mikrotik-mcp.
[Watch the MikroTik MCP presentations on Bisque]
[!NOTE] The Presentations section was added on 3 November 2026, after release
v0.26.2. Releases up tov0.26.2don't have it, and it ships with the next release.
Source: README.md at commit 0557a5f
Tools
0Version history
12- v0.24.0.0LatestOct 3, 2026
- v0.23.3.0Oct 1, 2026
- v0.23.2.0Sep 27, 2026
- v0.23.1.0Sep 25, 2026
- v0.23.0.0Sep 23, 2026
- v0.22.0.0Sep 23, 2026
- v0.21.0.0Sep 21, 2026
- v0.20.0.0Sep 21, 2026
- v0.19.4.0Sep 20, 2026
- v0.19.2.0Sep 17, 2026
- v0.19.1.0Sep 16, 2026
- v0.15.0.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts