MikroTik MCP
This MikroTik MCP server acts as an AI-driven bridge, allowing natural language management of MikroTik RouterOS devices. It offers comprehensive control over configuration, monitoring, and maintenance tasks across these areas:
Backup & Configuration: Create, list, and restore system backups; export full or specific configuration sections (RSC, JSON, XML); upload, download, import, and execute configuration scripts; manage filesystem files.
DHCP Management: Create, list, get, and remove DHCP servers; define DHCP networks (gateway, DNS, domain) and address pools.
DNS Management: Configure global DNS (including DoH); manage static DNS entries (add, list, get, update, remove, enable/disable); manage DNS regexp entries, cache (flush, stats), test queries, and export DNS config.
Firewall Management: Full lifecycle management of filter rules and NAT rules (srcnat/dstnat) – create, list, get, update, move, enable/disable, remove; apply a basic firewall setup automatically.
Interface Management: List, get details, enable, and disable any interface type (ethernet, bridge, VLAN, WireGuard, PPPoE, WiFi, LTE, etc.).
IP Address & Pool Management: Add, list, get, remove IPv4 and IPv6 addresses (with EUI-64, no-DAD, prefix advertisement options); create, list, get, update, remove, and expand IP pools; list used pool addresses.
Logging & Monitoring: Retrieve logs with filters (topic, severity, time, keyword), get system/security events, monitor in near-real-time, view statistics, clear logs, export logs.
QoS / Traffic Management: Manage queue types (CAKE, FQ-CoDel, SFQ, PCQ, RED, etc.), queue trees, and simple queues (create, list, get, update, remove, enable/disable) for advanced bandwidth control.
PoE Management: Monitor PoE status (voltage, current, power) and retrieve PoE configuration.
System: Check Safe Mode status.
Provides a bridge to interact with MikroTik RouterOS devices, enabling AI assistants to manage VLANs, configure firewall rules, handle DNS settings, and more via natural language requests.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MikroTik MCPadd a firewall rule to block SSH from WAN"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MikroTik MCP
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.
Related MCP server: RouterOS MCP Server
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
Since MikroTik MCP version0.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
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)
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA bridge between AI assistants and MikroTik RouterOS devices, allowing natural language interaction to manage network configurations including VLANs, firewalls, DNS settings, and more.1MIT
- Alicense-qualityDmaintenanceEnables AI assistants to interact with MikroTik RouterOS devices through API and SSH connections, supporting network monitoring, configuration management, and diagnostics across multiple routers with automatic connection fallback.3MIT
- Alicense-qualityFmaintenanceEnables natural language management of MikroTik routers through Cursor IDE by translating requests into RouterOS commands via API or SSH.4MIT
- AlicenseDqualityDmaintenanceEnables managing MikroTik RouterOS devices via natural language, with read-heavy network inspection and guarded write access across multiple routers.241Apache 2.0
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeff-nasseri/mikrotik-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server