MikroTik RouterOS
io.github.StefanKnol/mikrotik-mcp
v0.3.1Updated Nov 12, 2026stdio · PyPI
MikroTik RouterOS over the binary API, addressing rules by real .id not list position.
Install
Needs 1 secret. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add mikrotik-mcp -e 'MIKROTIK_HOST=<your-mikrotik-host>' -e 'MIKROTIK_USERNAME=<your-mikrotik-username>' -e 'MIKROTIK_PASSWORD=<your-mikrotik-password>' -- uvx mikrotik-mcp==0.3.1Configuration
7 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
MIKROTIK_PASSWORDEnv var· required· secretPassword for that user.MIKROTIK_HOSTEnv var· requiredIP address or hostname of the router, e.g. 192.168.88.1MIKROTIK_USERNAMEEnv var· requiredRouterOS user. Use a dedicated account rather than admin; its group must carry the `api` policy, and a group without it is rejected with the same error as a wrong password.MIKROTIK_PORTEnv var· optionalAPI port: 8729 for api-ssl (default), 8728 for plaintext.MIKROTIK_TLSEnv var· optionalUse the TLS API. Defaults to true; turning it off sends the router password over the network in the clear.MIKROTIK_TLS_FINGERPRINTEnv var· optionalSHA-256 of the router certificate. MikroTik's API-SSL certificate is self-signed, so pinning this is what makes the connection authenticated rather than merely encrypted.
Show 1 moreShow fewer
MIKROTIK_TIMEOUTEnv var· optionalConnection timeout in seconds. Defaults to 10.
Links
Listed in the official MCP Registry since Nov 12, 2026. Mirrored daily; last checked Nov 26, 2026.