MikroTik RouterOS over the binary API, addressing rules by real .id not list position.
mikrotik rest MCP Server
Published by SoglMikroTik RouterOS 7 REST MCP: filtered reads, guarded writes, timed rollback
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.2
- SOURCE CHECKED
- Nov 30, 2026
Quick answers
How do I add mikrotik rest MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'MIKROTIK_BASE=<your-mikrotik-base>' --env 'MIKROTIK_USERNAME=<your-mikrotik-username>' --env 'MIKROTIK_PASSWORD=<your-mikrotik-password>' --transport stdio mikrotik-rest -- uvx mikrotik-rest-mcp-serverReplace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"mikrotik-rest": {
"command": "uvx",
"args": [
"mikrotik-rest-mcp-server"
],
"env": {
"MIKROTIK_BASE": "<your-mikrotik-base>",
"MIKROTIK_USERNAME": "<your-mikrotik-username>",
"MIKROTIK_PASSWORD": "<your-mikrotik-password>"
}
}
}
}Replace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.
CodexCommand
Run this in your terminal:
codex mcp add mikrotik-rest --env 'MIKROTIK_BASE=<your-mikrotik-base>' --env 'MIKROTIK_USERNAME=<your-mikrotik-username>' --env 'MIKROTIK_PASSWORD=<your-mikrotik-password>' -- uvx mikrotik-rest-mcp-serverReplace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"mikrotik-rest": {
"type": "stdio",
"command": "uvx",
"args": [
"mikrotik-rest-mcp-server"
],
"env": {
"MIKROTIK_BASE": "<your-mikrotik-base>",
"MIKROTIK_USERNAME": "<your-mikrotik-username>",
"MIKROTIK_PASSWORD": "<your-mikrotik-password>"
}
}
}
}Replace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"mikrotik-rest": {
"command": "uvx",
"args": [
"mikrotik-rest-mcp-server"
],
"env": {
"MIKROTIK_BASE": "<your-mikrotik-base>",
"MIKROTIK_USERNAME": "<your-mikrotik-username>",
"MIKROTIK_PASSWORD": "<your-mikrotik-password>"
}
}
}
}Replace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use mikrotik rest MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does mikrotik rest MCP Server need an API key?
To run it on your computer, set MIKROTIK_BASE, MIKROTIK_USERNAME and MIKROTIK_PASSWORD first, with values from the publisher.
Is mikrotik rest MCP Server official?
It's published by Sogl. The Official MCP Registry accepts names under io.github.Sogl only from the GitHub account or organisation Sogl. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · mikrotik-rest-mcp-server@0.1.2