Server data from the Official MCP Registry
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
About
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
Security Report
The MikroTik MCP server is a network management tool that provides command execution capabilities for MikroTik RouterOS devices. While it demonstrates reasonable architectural design and appropriate permission scoping for its intended purpose, several security concerns reduce confidence: command construction via string concatenation creates injection vulnerabilities, sensitive configuration parameters lack validation, and error handling could expose sensitive information. The server requires SSH credentials to operate (handled via environment variables) and executes arbitrary MikroTik CLI commands, which is inherent to its purpose but amplifies the impact of injection flaws. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
5 files analyzed ยท 15 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: MIKROTIK_HOST
Environment variable: MIKROTIK_USERNAME
Environment variable: MIKROTIK_PASSWORD
Environment variable: MIKROTIK_PORT
Environment variable: MIKROTIK_KEY_FILENAME
Environment variable: MIKROTIK_INVENTORY_FILE
Environment variable: MIKROTIK_INVENTORY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-jeff-nasseri-mikrotik-mcp": {
"env": {
"MIKROTIK_HOST": "your-mikrotik-host-here",
"MIKROTIK_PORT": "your-mikrotik-port-here",
"MIKROTIK_PASSWORD": "your-mikrotik-password-here",
"MIKROTIK_USERNAME": "your-mikrotik-username-here",
"MIKROTIK_INVENTORY": "your-mikrotik-inventory-here",
"MIKROTIK_KEY_FILENAME": "your-mikrotik-key-filename-here",
"MIKROTIK_INVENTORY_FILE": "your-mikrotik-inventory-file-here"
},
"args": [
"mcp-server-mikrotik"
],
"command": "uvx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
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.
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
- 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.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol ยท Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol ยท Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.
MarkItDown
Freeby Microsoft ยท Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.

