Atlas / MCP servers / jeff-nasseri / MikroTik

MikroTikBLOCK

mcp/jeff-nasseri/mikrotik

MCP server for Mikrotik

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
293
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://mseep.ai/app/jeff-nasseri-mikrotik-mcp)

[](https://mcptoplist.com/server/io.github.jeff-nasseri%2Fmikrotik-mcp) [](https://www.mikrotik-mcp.com/) [](https://github.com/jeff-nasseri/mikrotik-mcp/actions/workflows/publish.yml) [](https://github.com/jeff-nasseri/mikrotik-mcp/actions/workflows/publish.yml) [](https://github.com/jeff-nasseri/mikrotik-mcp/blob/master/LICENSE) [](https://discord.gg/kmVSpstbNU)

Overview

MikroTik MCP provides a bridge between AI assistants and MikroTik RouterOS devices. It allows AI assistants to interact with MikroTik routers through natural language requests, executing commands like managing VLANs, configuring firewall rules, handling DNS settings, and more.

Demo Videos

Claude Desktop

https://github.com/user-attachments/assets/24fadcdc-c6a8-48ed-90ac-74baf8f94b59

Inspector

https://github.com/user-attachments/assets/e0301ff2-8144-4503-83d0-48589d95027d

Inventory

[!NOTE] Since MikroTik MCP version 0.14.0, the MikroTik MCP will allow you to manage multiple MikroTik devices within your
Read from source at commit c0609d866c55OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add mcp-server-mikrotik --env MIKROTIK_PASSWORD=${MIKROTIK_PASSWORD} --env MIKROTIK_INVENTORY=${MIKROTIK_INVENTORY} -- None mcp-server-mikrotik==0.14.1.0
03

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
found

Findings (19)

HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
inventory.example.yml:33
key_filename: /config/keys/id_ed25519   # SSH private key, preferred over a password
Why it matters. touches a credential store
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
src/mcp_mikrotik/server.py:95
allowed_origins=["http://127.0.0.1:*", "http://localhost:*", "http://[::1]:*"],
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
tests/unit/test_sensitive.py:27
value = "before\n-----BEGIN OPENSSH PRIVATE KEY-----\nsecret\n-----END OPENSSH PRIVATE KEY-----\nafter"
LOWInventory / provenance · inv.hidden_file · CWE-1104
routeros-docker/.env.template
.env.template
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_scope_write_selectors.py:21
module = __import__(f"mcp_mikrotik.scope.{module_name}", fromlist=["*"])
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_scope_write_selectors.py:59
module = __import__(f"mcp_mikrotik.scope.{module_name}", fromlist=["*"])
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_scope_write_selectors.py:79
module = __import__(f"mcp_mikrotik.scope.{module_name}", fromlist=["*"])
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_scope_write_selectors.py:100
module = __import__(f"mcp_mikrotik.scope.{module_name}", fromlist=["*"])
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_scope_write_selectors.py:122
module = __import__(f"mcp_mikrotik.scope.{module_name}", fromlist=["*"])
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/unit/test_inventory.py:86
key_filename="/keys/id_ed25519", tags=["eu"], region="NL")
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/unit/test_inventory.py:91
assert "id_ed25519" not in blob
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/unit/test_inventory.py:387
assert devices[1].key_filename == "/config/keys/id_ed25519"
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/unit/test_server_main.py:194
cfg = types.SimpleNamespace(password="", key_filename="/keys/id_ed25519")
Why it matters. touches a credential store
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/integrations/mcpo.md:58
- Server running on `http://0.0.0.0:8000`
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/mcp_mikrotik/scope/backup.py:235
content = base64.b64decode(content_base64)
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, paramiko, pydantic, pydantic-settings, starlette, pytest, testcontainers, PyYAML
Why it matters. 8 requirement(s) not pinned with ==
Fix. pin exact versions
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
docs/articles/examples.md:527
with full access except sensitive operations. Add three users: "monitor" with password
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
docs/getting-started/installation.md:321
preserve unrestricted access:
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha c0609d866c55full audit observations/trust-audit/mcp-server/jeff-nasseri__mikrotik.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06c0609d866c55BLOCKD69first audit
05

Questions

What is the MikroTik MCP server?

MCP server for Mikrotik

Is MikroTik safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does MikroTik need?

It reads MIKROTIK_INVENTORY, MIKROTIK_PASSWORD and ROUTEROS_PASS from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does MikroTik run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mcp-server-mikrotik.

How current is this page?

The grade is for one exact copy of the source (c0609d866c55), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement