Mikrotik

Agent frameworks and SDKs

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

Your AI app calls the Mikrotik MCP server, which does the agent frameworks and SDKs work and sends the result back to the chat.

About Mikrotik

Mikrotik is a community MCP server from wiresage, filed in our directory under agent frameworks and sdks. MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.

Mikrotik runs on your own machine: your AI app starts it with the command uvx mcp-server-mikrotik==0.34.0.0 and talks to it over standard input and output.

Mikrotik is listed in the official MCP registry as io.github.wiresage/mikrotik-mcp, version 0.34.0.0.

At a glance

Publisher
wiresage (community)
Runs
Locally on your machine
Install from
Python package on PyPI: mcp-server-mikrotik
Written in
Python
License
MIT
GitHub stars
367
Official MCP registry
io.github.wiresage/mikrotik-mcp

How to set up Mikrotik

  1. Install uv on the machine that runs your AI app, because Mikrotik starts with uvx and fetches its Python package on first run.
  2. Check the Mikrotik README for keys or settings; the registry lists none that Mikrotik requires.
  3. Add Mikrotik to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mikrotik tools to confirm the connection.
  5. Run one read-only task with Mikrotik first, and keep your app asking before each tool call until the results look right.

Mikrotik compared with similar servers

  • Tinystruct by tinystruct has fewer GitHub stars than Mikrotik (366 against 367); both are community servers, and both run locally.
  • Mcpsnoop by kerlenton has more GitHub stars than Mikrotik (369 against 367); both are community servers, and both run locally.
  • macOS Use by mediar-ai has fewer GitHub stars than Mikrotik (361 against 367); both are community servers, and both run locally.

Before you connect Mikrotik

  • Give Mikrotik its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mikrotik tool call until you trust what it does with them.
  • Treat text that Mikrotik fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mikrotik on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mikrotik

How marketing and sales teams put Mikrotik to work, by company size. Pick the size closest to yours and start Mikrotik on one use case.

Small business

  • A small business with a developer can use Mikrotik to build one focused agent, such as lead follow-up, without a big platform.
  • Technical founders can prototype marketing agents with Mikrotik and keep what works as a small, owned tool.
  • Mikrotik runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineering teams can use Mikrotik to build agents that combine CRM, analytics and content tools behind one workflow.
  • Marketing ops can standardize on Mikrotik so every agent they ship has the same logging, approvals and error handling.
  • Start Mikrotik on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can build on Mikrotik with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Platform teams can use Mikrotik to give business units a governed way to ship agents without each one starting from scratch.
  • Mikrotik is a community server, so have security review the code and pin a version before Mikrotik touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mikrotik README

From wiresage/mikrotik-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Manage MikroTik RouterOS from any AI assistant.

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

Questions about Mikrotik

What is the Mikrotik MCP server?

MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH. Mikrotik is maintained by wiresage on GitHub at wiresage/mikrotik-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mikrotik MCP server?

Add Mikrotik to your AI app's MCP config with the command uvx mcp-server-mikrotik==0.34.0.0. In Claude Code, run claude mcp add --transport stdio mikrotik -- uvx mcp-server-mikrotik==0.34.0.0. To run Mikrotik this way you need uv installed.

Does Mikrotik need an API key?

The registry lists no required keys for Mikrotik. Check the Mikrotik README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Mikrotik an official MCP server?

No. Mikrotik is a community server maintained by wiresage. Community servers can be excellent; read the code and the open issues before you give Mikrotik access to company data.

What license is Mikrotik under?

Mikrotik is released under the MIT license, according to its GitHub repository. The license covers the code of Mikrotik; the service it connects to has its own terms.