Preview before you break it
plan_changes scores risk and flags lock-outs; apply_plan runs
it in Safe Mode, shows the exact /export diff, and commits only if
the device still answers — else it auto-reverts.
885 risk-annotated tools across 137 modules turn one — or a whole fleet — of MikroTik devices into something your AI can read, configure and secure in plain language. Now it watches too: attack detection from the devices' own logs, scheduled audits that report only what changed, and an offline simulator that answers "would this get through?" without touching the wire.
plan_changes scores risk and flags lock-outs; apply_plan runs
it in Safe Mode, shows the exact /export diff, and commits only if
the device still answers — else it auto-reverts.
Stream mirrored packets to your host as TZSP, decode them live — protocol mix,
top talkers, a scrolling list — and export .pcap. No hardware needed.
firewall_audit finds shadowed, overly-broad, missing-default-drop,
duplicate and dead rules — IPv4 & IPv6 — risk-scored, with one-click fixes.
Store /export snapshots on the host and diff any two — or one against the
live device — to see exactly what drifted, and when.
bun run discover lists MikroTik devices on the LAN over MNDP; the dashboard
draws a live Layer-2 topology map — onboard new neighbours in a click.
Correlates brute force, credential spraying and a login that succeeded after failures into incidents with evidence — across the whole fleet, so one source hitting three routers is one story. Blocks are timed, reversible and refused when the source could be forged. Detect-only until you say otherwise.
Runs the auditors on a cron with nobody in the loop and compares every run with the last. New, worsened and resolved reach you; unchanged findings stay silent — an audit that reports forty findings nightly is muted by week two.
explain_device turns a config into plain language: what the box is
for, its VLANs and subnets, what each firewall chain does, and — first, because
it is what people read — what is exposed to the internet. With a Mermaid topology
diagram, and an honest list of what it did not recognise.
Trace a hypothetical packet through NAT, routing and the firewall against a snapshot — no device in the loop. When it meets something it does not model it reports UNKNOWN rather than guessing, which is the only way a simulator earns trust.
A schema-aware JSON editor with autocomplete and validation, per-device connection tests, and a safe-apply that auto-reverts if it locks you out.
Scroll to traverse →
Push changes through RouterOS Safe Mode's persistent session — a broken config rolls back instead of locking you out of the box.
Every device command is assembled with a typed Cmd builder and
quoteValue escaping — even control chars and newlines never reach the SSH
channel raw.
MAC-Telnet (Layer-2, UDP 20561) reaches a router with a wrong, missing or unroutable IP — the classic provisioning & recovery case — behind the same tool surface.
Manage many routers from one server. Tools auto-expose a device selector
and the registry peels it off before your handler runs — configure both ends of a tunnel
in one chat.
An opt-in localhost dashboard streams every tool call in real time — latency, errors, per-device health, a topology map, packet capture and an editable config studio.
stdio, SSE and streamable-HTTP — with CORS and a read-only mode for safe public exposure, plus a self-contained Docker image and MCP App UI views.
mikrotik-mcp serve --dashboard opens a localhost UI on port 9090 that records
every tool call as it happens — inputs, outputs, latency, target device, risk — with every
secret redacted before it is ever stored. Off by default. Zero overhead until you flip it
on.
Picks a tool by its description — “block SSH from the WAN” becomes a single typed call.
promptAuto-injects the device, then validates against a five-tier risk preset before anything runs.
risk · gateA typed builder + quoteValue escape every argument — control chars and newlines never reach the channel raw.
quote · buildOne choke point — executeMikrotikCommand — funnels it to the device, Safe-Mode aware.
SSH · MAC-TelnetPoint any MCP client at your MikroTik and start talking. Bun ≥ 1.3 · RouterOS 6.x ∴ 7.x · SSH or MAC-Telnet.