MCP Server
MCP
io.github.jeff-nasseri/mikrotik-mcp
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
Install
uvx mcp-server-mikrotik
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"identifier": "mcp-server-mikrotik",
"version": "0.14.10.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "IP address or hostname of the MikroTik router (single-device mode; default: 127.0.0.1). Not needed when an inventory is configured.",
"format": "string",
"name": "MIKROTIK_HOST"
},
{
"description": "SSH username for the MikroTik router (single-device mode; default: admin)",
"format": "string",
"name": "MIKROTIK_USERNAME"
},
{
"description": "SSH password for the MikroTik router (single-device mode)",
"format": "string",
"isSecret": true,
"name": "MIKROTIK_PASSWORD"
},
{
"description": "SSH port of the MikroTik router (single-device mode; default: 22)",
"format": "string",
"name": "MIKROTIK_PORT"
},
{
"description": "Path to SSH private key file for key-based authentication (single-device mode)",
"format": "string",
"name": "MIKROTIK_KEY_FILENAME"
},
{
"description": "Path to a YAML file listing multiple MikroTik devices (title, host, port, username, password, key_filename, tags, region). See docs/reference/inventory.",
"format": "string",
"name": "MIKROTIK_INVENTORY_FILE"
},
{
"description": "Inline multi-device inventory as a YAML (or JSON) list; takes precedence over MIKROTIK_INVENTORY_FILE and the single-device variables. Holds credentials.",
"format": "string",
"isSecret": true,
"name": "MIKROTIK_INVENTORY"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment