io.github.jeff-nasseri/mikrotik-mcp
Bridges AI assistants with MikroTik RouterOS devices, enabling natural language management of network configurations, firewall, VLANs, VPNs, and diagnostics via ~300 tools.
README
MikroTik MCP
<!-- mcp-name: io.github.jeff-nasseri/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.
With ~300 tools, it covers practically the whole RouterOS surface: system core (identity, clock, NTP, packages/upgrade, scripts, scheduler, logging), L2 switching (bridge + VLAN filtering, bonding, VRRP, VXLAN), tunnels and VPN (EoIP/GRE/IPIP/6to4, PPP/PPPoE/L2TP/SSTP/OVPN, IPsec, WireGuard), the full firewall (filter/NAT/mangle/raw/address-list/connection), IPv4 and IPv6 (addresses, routes, DHCP client/server/leases, IPv6 firewall), routing protocols (OSPF, BGP, RIP, BFD), certificates (incl. ACME), ROS7 WiFi + legacy CAPsMAN, LTE, containers, and diagnostics (ping, traceroute, bandwidth-test, torch, sniffer, netwatch).
Tool design
- Legacy scopes (the original ~170 tools) use one tool per action:
create_vlan_interface,list_vlan_interfaces,remove_vlan_interface, ⦠- Consolidated scopes (newer tools) use one tool per RouterOS menu with an
actionparameter, e.g.bridge_port(action="add", ā¦)/action="list"/action="remove". This keeps the tool count manageable while covering every verb. - Most consolidated tools take an
attributesdict ā an escape hatch to pass any RouterOS property (kebab-case) not exposed as a typed parameter. execute_commandruns a raw RouterOS CLI command ā the fallback for anything not covered by a dedicated tool. Safe mode, when enabled, still applies.
Tools carry MCP risk annotations (read-only / write / destructive / dangerous) so clients can gate confirmations appropriately.
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
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
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
