← Back to directory
M

MikroTik MCP

Community
Manage MikroTik RouterOS through AI assistants.
Category
Other #195 of 678
Stars
★ 367 Very popular
Transport
stdio (local process)
Runtime
Python
Credentials
API key / credential required
License
MIT
Last commit
56FMRS · C

This MCP server connects AI assistants to MikroTik RouterOS over SSH. The manifest confirms stdio transport and a PyPI package; the supplied source does not list individual tools or provide a client configuration example. It is suited to users with router access who understand the effects of network configuration changes.

Strongest · Setup experience 12/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
10/20
Maintenance
12/20
Documentation
12/20
Setup experience
12/20
Why each score
Reliability 10/20
The README links to documentation and a testing guide and displays a CI status badge; the manifest declares a PyPI package using stdio. However, no workflow files, test contents, or tool list are supplied, so the initialization handshake, tool behavior, error handling, and dependency controls cannot be verified. The happy path has some support, but key-path execution evidence is absent, limiting the score under static calibration.
Security and permissions 10/20
The manifest marks passwords and inline inventory credentials as secret and offers read-only mode and sensitive-data hiding; its description also recommends a read-only RouterOS account as defense in depth. These are declarations without implementation evidence. Router management can have configuration side effects, while the supplied material does not show dangerous-operation confirmation, permission boundaries, or complete data flows, so points are deducted. The material shows no evidence of a red-line condition.
Maintenance 12/20
The supplied facts show an MIT license, an unarchived repository, 363 stars, and 32 open issues; the README also points to contribution and community channels and displays a publishing-workflow badge. This indicates maintenance and update paths, but there is no verifiable evidence of recent commits, release cadence, issue response, or a security-response policy. Stars do not add points.
Documentation 12/20
The README links to installation, API coverage, testing, and client integration guides and describes multi-device inventory support; the manifest lists configuration variables and their purposes. The linked documents are not supplied, so parameter detail, limitations, troubleshooting, and consistency with actual capabilities cannot be checked. Credit is limited to the documented structure and overview.
Setup experience 12/20
The material identifies a PyPI package, stdio transport, connection variables, and guides for Claude Desktop and Claude Code, indicating a plausible setup path. The guide contents, end-to-end client configuration examples, platform compatibility, and successful connection evidence are not supplied. Under static calibration, there is insufficient execution evidence to justify a higher score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the network

Best for

  • Network administrators who want to interact with MikroTik RouterOS through an AI assistant.
  • Users connecting to one or more MikroTik devices over SSH.

Not for

  • Users who do not operate MikroTik RouterOS devices.
  • Users who require a transport or client configuration example not documented in the supplied source.

Required permissions

  • Requires network access and credentials for SSH to the target router; password or SSH private-key authentication can be configured.
  • Changes to RouterOS or its file store require an account with the corresponding permissions. Read-only mode is available, and a read-only RouterOS account is recommended as an additional safeguard.
  • Multi-device inventories may contain device credentials and should be protected as sensitive data.

Risks and side effects

  • With write permissions, AI-initiated changes may affect routing, firewall, NAT, DHCP, DNS, or other network services.
  • Inventory credentials may be exposed if configuration or runtime access is not protected.
  • Sensitive hiding redacts recognized credentials and private-key material, but the source does not establish that every sensitive output is covered.

Setup

Before you start

Runtime:Python

MIKROTIK_PASSWORD optionalsecret SSH password for single-device mode; obtain it from the device administrator.
MIKROTIK_INVENTORY optionalsecret Inline YAML or JSON multi-device inventory containing credentials; takes precedence over the inventory file and single-device variables.
Other optional settings (7)
MIKROTIK_HOST optional Router IP address or hostname for single-device mode; get the connection address from the device administrator.
MIKROTIK_USERNAME optional SSH username for single-device mode; defaults to admin.
MIKROTIK_PORT optional Router SSH port for single-device mode; defaults to 22.
MIKROTIK_KEY_FILENAME optional Path to the SSH private key file for single-device mode; use the path to the configured key file.
MIKROTIK_READ_ONLY optional Set to true to expose only tools that do not modify RouterOS or its file store.
MIKROTIK_SENSITIVE_HIDING optional Set to true to redact recognized credentials and private key material from tool results, notifications, and logs.
MIKROTIK_INVENTORY_FILE optional Path to a YAML file listing multiple MikroTik devices; configure it using the device inventory documentation.

The manifest lists the PyPI package mcp-server-mikrotik and stdio transport. It does not provide a client configuration example or installation command. Connections can use single-device environment variables or a multi-device inventory.

Check that it works

After starting the server, confirm that MikroTik RouterOS tools appear in your AI client's tool list. Ask it to show the router's DHCP or DNS configuration and confirm that it returns results from the device.

Troubleshooting

  1. Check that MIKROTIK_HOST, MIKROTIK_USERNAME, MIKROTIK_PASSWORD, MIKROTIK_PORT, or MIKROTIK_KEY_FILENAME match the target device's SSH settings.
  2. For multi-device mode, check the MIKROTIK_INVENTORY or MIKROTIK_INVENTORY_FILE configuration.
  3. Confirm the router is reachable over SSH and that the account has sufficient permissions for the requested operation.
  4. Read-only mode exposes only tools that do not modify RouterOS or its file store.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show the DHCP configuration on my MikroTik router.
  • Check the router's DNS settings.
  • List the current firewall rules.
  • Show the WireGuard configuration.

Use cases

Query or manage network settings on MikroTik routers.
Work with RouterOS configuration such as VLANs, firewall rules, and DNS.
Manage multiple MikroTik devices using an inventory.

Overview

MikroTik MCP connects to MikroTik routers over SSH, allowing AI assistants to interact with RouterOS through natural-language requests. Its stated coverage includes firewall, NAT, routing, DHCP, DNS, WireGuard, and more.

Similar servers

Source revision 9161d0eacecd Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mikrotik-mcp.svg)](https://followmcp.com/en/servers/mikrotik-mcp)