MI

mikrotik rest MCP Server

Published by Sogl

MikroTik 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-server

Replace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.

Claude Code setup guide
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.

Cursor setup guide
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-server

Replace the <your-…> placeholder with your own MIKROTIK_BASE and MIKROTIK_USERNAME and MIKROTIK_PASSWORD.

Codex setup guide
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.

VS Code setup guide
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.

Claude Desktop setup guide
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 guide

Which 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
View source repository