mikrotik-mcp
CommunityMCP server by wiresage · updated · ★ 303
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH. mikrotik-mcp is a community project by wiresage, not verified by a company domain.
Last commit 3 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 303 stars, original repository
No risky patterns in the files we checked
What you need
| Setting | Needed | What it is |
|---|---|---|
MIKROTIK_Environment variable | Optional | IP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured. |
MIKROTIK_Environment variable | Optional | SSH username for the MikroTik router (single-device mode; default: admin) |
MIKROTIK_Environment variable, secret | Optional | SSH password for the MikroTik router (single-device mode) |
MIKROTIK_Environment variable | Optional | SSH port of the MikroTik router (single-device mode; default: 22) |
MIKROTIK_Environment variable | Optional | Path to SSH private key file for key-based authentication (single-device mode) |
MIKROTIK_Environment variable | Optional | 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_Environment variable | Optional | When true, redact recognized credentials and private key material from tool results, MCP notifications, and logs, and omit tools that return opaque sensitive payloads. |
MIKROTIK_Environment variable | Optional | Path to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/inventory. |
MIKROTIK_Environment variable, secret | Optional | Inline multi-device inventory as a YAML (or JSON) list; takes precedence over MIKROTIK_INVENTORY_FILE and the single-device variables. Holds credentials. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install mikrotik-mcp
Built from the published package, never by AIclaude mcp add mikrotik-mcp -- uvx mcp-server-mikrotikRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mikrotik-mcp": {
"command": "uvx",
"args": [
"mcp-server-mikrotik"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mikrotik-mcp": {
"command": "uvx",
"args": [
"mcp-server-mikrotik"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mikrotik-mcp": {
"command": "uvx",
"args": [
"mcp-server-mikrotik"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mikrotik-mcp -- uvx mcp-server-mikrotik{
"mcpServers": {
"mikrotik-mcp": {
"command": "uvx",
"args": [
"mcp-server-mikrotik"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mikrotik-mcp uvx mcp-server-mikrotikGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mikrotik-mcp block.
Weekly newsletter
Like mikrotik-mcp? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mikrotik-mcp
All alternatives →Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID) (with updated dependencies)
Model Context Protocol registry, transports, and OAuth bridges for Electric Agents
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
Public Preview — Security proxy for MCP servers: The Firewall for Model Context Protocol
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
mikrotik-mcp: common questions
How do I install mikrotik-mcp?
In Claude Code run claude mcp add mikrotik-mcp -- uvx mcp-server-mikrotik. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mikrotik-mcp the official server?
mikrotik-mcp is a community project by wiresage, not verified by a company domain.
Is mikrotik-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mikrotik-mcp safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mikrotik-mcp?
Similar MCP servers: OpenWork MCP Gateway, Modelcontextprotocol Core, Agents MCP, MCP Remote.
Does mikrotik-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
