Mikrotik MCP
Mikrotik MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH. It has 306 GitHub stars, is released under the MIT license and runs locally with uvx mcp-server-mikrotik.
github.com/wiresage/mikrotik-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Mikrotik MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"mikrotik-mcp": {
"command": "uvx",
"args": [
"mcp-server-mikrotik"
],
"env": {
"MIKROTIK_PASSWORD": "your-value",
"MIKROTIK_INVENTORY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env MIKROTIK_PASSWORD=your-value --env MIKROTIK_INVENTORY=your-value --transport stdio mikrotik-mcp -- uvx mcp-server-mikrotikCursor
{
"mcpServers": {
"mikrotik-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-mikrotik"
],
"env": {
"MIKROTIK_PASSWORD": "your-value",
"MIKROTIK_INVENTORY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "mikrotik_password",
"description": "MIKROTIK_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "mikrotik_inventory",
"description": "MIKROTIK_INVENTORY",
"password": true
}
],
"servers": {
"mikrotik-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-mikrotik"
],
"env": {
"MIKROTIK_PASSWORD": "${input:mikrotik_password}",
"MIKROTIK_INVENTORY": "${input:mikrotik_inventory}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
MIKROTIK_HOST | No | IP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured. |
MIKROTIK_USERNAME | No | SSH username for the MikroTik router (single-device mode; default: admin) |
MIKROTIK_PASSWORDsecret | No | SSH password for the MikroTik router (single-device mode) |
MIKROTIK_PORT | No | SSH port of the MikroTik router (single-device mode; default: 22) |
MIKROTIK_KEY_FILENAME | No | Path to SSH private key file for key-based authentication (single-device mode) |
MIKROTIK_READ_ONLY | No | When true, expose only tools that do not modify RouterOS or its file store. Use a read-only RouterOS account as defence in depth. |
MIKROTIK_SENSITIVE_HIDING | No | When true, redact recognized credentials and private key material from tool results, MCP notifications, and logs, and omit tools that return opaque sensitive… |
MIKROTIK_INVENTORY_FILE | No | Path to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/inventory. |
MIKROTIK_INVENTORYsecret | No | Inline multi-device inventory as a YAML (or JSON) list; takes precedence over MIKROTIKINVENTORYFILE and the single-device variables. Holds credentials. |
About Mikrotik MCP
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.
- ai
- ai-agents
- ai-assistant
- ai-tools
- llms
- mcp
- mcp-server
- mikrotik
- model-context-protocol
- networking
Similar MCP servers
More other MCP servers
Plur
plur-ai/plur
Open, local-first engram memory for AI agents: read, correct, delete; shared over MCP.
Active · last commit Oct 22, 2026
OtherTypeScriptReddit MCP Server
jordanburke/reddit-mcp-server
Reddit MCP server with full read/write - posts, comments, search, and content creation.
Active · last commit Oct 17, 2026
OtherTypeScriptCanvas MCP
vishalsachdev/canvas-mcp
Canvas LMS integration for students and educators with optional privacy controls.
Active · last commit Oct 26, 2026
OtherPythonWikipedia MCP
Rudra-ravi/wikipedia-mcp
A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to LLMs.
Maintained · last commit May 1, 2026
OtherPythonSearch Console MCP
saurabhsharma2u/search-console-mcp
Google Search Console + Bing + GA4 + AdSense — unified SEO intelligence for AI agents.
Active · last commit Oct 21, 2026
OtherTypeScriptAsDecided
asdecided/core
Read-only access to deterministic engineering decisions stored in a local repository.
Active · last commit Oct 5, 2026
OtherRust
How do I install the Mikrotik MCP MCP server?
Add the command uvx mcp-server-mikrotik to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Mikrotik MCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (MIKROTIK_PASSWORD and MIKROTIK_INVENTORY) for the service it connects to, which may require a paid account.
Is Mikrotik MCP actively maintained?
The most recent commit was on Oct 23, 2026. The latest release is v0.26.1, published Oct 23, 2026. appsgit only lists MCP servers with a commit in the last six months.