AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

mikrotik-mcp

Community

MCP server by wiresage · updated · ★ 303

Score 82

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.

Yours? Claim it
Maintenance

Last commit 3 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 303 stars, original repository

Security

No risky patterns in the files we checked

What you need

SettingNeededWhat it is
MIKROTIK_HOSTEnvironment variableOptionalIP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured.
MIKROTIK_USERNAMEEnvironment variableOptionalSSH username for the MikroTik router (single-device mode; default: admin)
MIKROTIK_PASSWORDEnvironment variable, secretOptionalSSH password for the MikroTik router (single-device mode)
MIKROTIK_PORTEnvironment variableOptionalSSH port of the MikroTik router (single-device mode; default: 22)
MIKROTIK_KEY_FILENAMEEnvironment variableOptionalPath to SSH private key file for key-based authentication (single-device mode)
MIKROTIK_READ_ONLYEnvironment variableOptionalWhen 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_HIDINGEnvironment variableOptionalWhen true, redact recognized credentials and private key material from tool results, MCP notifications, and logs, and omit tools that return opaque sensitive payloads.
MIKROTIK_INVENTORY_FILEEnvironment variableOptionalPath to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/inventory.
MIKROTIK_INVENTORYEnvironment variable, secretOptionalInline 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 AI
claude mcp add mikrotik-mcp -- uvx mcp-server-mikrotik

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mikrotik-mcp in Claude Code

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.

No spam. Unsubscribe in one click. Privacy

Security check

A

No 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 →

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.

Add to stack

Loading.