@usex/mikrotik-mcp 5.20.0 → 5.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -5
- package/dist/cli.js +853 -97
- package/dist/index.js +1 -1
- package/dist/shared/{library-krajvnj9.js → library-0ej78km8.js} +1 -1
- package/dist/shared/{library-81amv3az.js → library-8ve5x0t1.js} +1 -1
- package/dist/shared/{library-73y8qdjr.js → library-hbxz5fg7.js} +750 -44
- package/dist/shared/{library-76naf20r.js → library-nxgjnp8e.js} +1 -1
- package/dist/shared/{library-y9tt30y1.js → library-swqk16r2.js} +1 -1
- package/dist/ui/observability.html +64 -62
- package/package.json +3 -2
- package/schemas/README.md +1 -1
- package/schemas/devtools-manifest.json +41 -1
- package/schemas/tool-catalog.json +122 -9
- package/schemas/tools/create_service_routing.json +16 -3
- package/schemas/tools/disconnect_ovpn_session.json +20 -0
- package/schemas/tools/list_ovpn_sessions.json +7 -0
- package/schemas/tools/service_routing_address_page.json +19 -0
- package/schemas/tools/service_routing_traffic.json +14 -0
- /package/dist/shared/{cli-6wdstvdq.js → cli-0v69rn38.js} +0 -0
- /package/dist/shared/{cli-426pkqe9.js → cli-8tmbrnm5.js} +0 -0
- /package/dist/shared/{cli-z1kavk0z.js → cli-a5tef6t8.js} +0 -0
- /package/dist/shared/{cli-cvt06346.js → cli-v5brt13c.js} +0 -0
package/README.md
CHANGED
|
@@ -46,7 +46,9 @@ Then just ask:
|
|
|
46
46
|
|
|
47
47
|
## Highlights
|
|
48
48
|
|
|
49
|
-
- **Service
|
|
49
|
+
- **Service probes:** add, edit, search and remove approved HTTPS/TLS/TCP/DNS targets directly in Config or Service Routing, with explicit IP/CIDR boundaries and safe-apply confirmation. [Setup guide](docs/service-contracts.md#dashboard-setup-no-json-required).
|
|
50
|
+
- **OpenVPN connections:** a dedicated dashboard page for active users, source/tunnel IPs and live connection time, with confirmed single-session disconnect and read-only access controls. [Guide](docs/openvpn-connections.md).
|
|
51
|
+
- **Service Routing:** live IPv4/IPv6 routes, fuzzy address-list search, exact/wildcard domain-to-exit policies with optional health probes, per-policy live matched-traffic counters and charts, VRF HTTPS exit checks and
|
|
50
52
|
explicitly authorized failover, with preview, backup and Safe Mode. [Guide](docs/service-routing.md)
|
|
51
53
|
- **Flight Recorder:** opt-in, durable pre/post-incident telemetry and log metadata,
|
|
52
54
|
with an evidence timeline and scoped JSON export. [Guide](docs/flight-recorder.md)
|
|
@@ -233,9 +235,9 @@ mikrotik-mcp devices # site-a (default) · site-b
|
|
|
233
235
|
#### Docker: one writable `devices.json` for all MCP settings
|
|
234
236
|
|
|
235
237
|
Use the published **[alimaster/mikrotik-mcp](https://hub.docker.com/r/alimaster/mikrotik-mcp)**
|
|
236
|
-
image (`5.
|
|
238
|
+
image (`5.21.0`, or the moving `latest` tag). Docker selects `linux/amd64` or
|
|
237
239
|
`linux/arm64` automatically; no local build is needed. Compose defaults to
|
|
238
|
-
`5.
|
|
240
|
+
`5.21.0`; set `MIKROTIK_IMAGE_TAG` explicitly to select a different release.
|
|
239
241
|
|
|
240
242
|
The Bun container reads **`/home/bun/.mikrotik-mcp/devices.json`** automatically.
|
|
241
243
|
Despite its name, this is the **complete MCP configuration**, not just the router
|
|
@@ -266,13 +268,13 @@ Create a real JSON file on the host (no comments or trailing commas). For exampl
|
|
|
266
268
|
```
|
|
267
269
|
|
|
268
270
|
```bash
|
|
269
|
-
docker pull alimaster/mikrotik-mcp:5.
|
|
271
|
+
docker pull alimaster/mikrotik-mcp:5.21.0
|
|
270
272
|
docker run -d --name mikrotik-mcp --restart unless-stopped \
|
|
271
273
|
-p 127.0.0.1:8000:8000 -p 127.0.0.1:9090:9090 \
|
|
272
274
|
--mount type=volume,src=mikrotik-state,dst=/home/bun/.mikrotik-mcp \
|
|
273
275
|
--mount type=bind,src=/absolute/path/devices.json,dst=/home/bun/.mikrotik-mcp/devices.json \
|
|
274
276
|
--mount type=bind,src=/absolute/path/mikrotik_ed25519,dst=/run/secrets/mikrotik_key,readonly \
|
|
275
|
-
alimaster/mikrotik-mcp:5.
|
|
277
|
+
alimaster/mikrotik-mcp:5.21.0
|
|
276
278
|
```
|
|
277
279
|
|
|
278
280
|
Dashboard: **http://localhost:9090** · MCP: **http://localhost:8000/mcp**.
|
|
@@ -317,6 +319,10 @@ MIKROTIK_CONFIG_PATH=/absolute/path/devices.json docker compose up -d mikrotik-m
|
|
|
317
319
|
|
|
318
320
|
See **[Docker deployment and persistence](docs/docker.md#persistent-devicesjson)**
|
|
319
321
|
for directory mounts, permissions and explicit configuration overrides.
|
|
322
|
+
Maintainers: run **`bun run docker:publish`** for the interactive Docker Hub
|
|
323
|
+
publisher (automatic account detection/login, release review, multi-platform push
|
|
324
|
+
and verified `latest` promotion). Preview safely with `bun run docker:publish --dry-run`.
|
|
325
|
+
See **[Publishing to Docker Hub](docs/docker-publishing.md)** for details and manual commands.
|
|
320
326
|
|
|
321
327
|
Every tool gains an optional `device` argument, and **Safe Mode is per-device**:
|
|
322
328
|
|
|
@@ -439,6 +445,13 @@ and last-seen.
|
|
|
439
445
|
|
|
440
446
|
**RADIUS & User Manager.** Servers, sessions, profiles, limitations and vouchers.
|
|
441
447
|
|
|
448
|
+
In **Users → Edit → Service profile**, keep the current profile or choose another
|
|
449
|
+
profile on the selected router. Saving reuses an eligible assignment (or creates
|
|
450
|
+
one), activates it and verifies the result. Previous assignments and accounting
|
|
451
|
+
history are preserved; queued profiles can still take over after expiry. Existing
|
|
452
|
+
connections may need to reconnect to receive new limits. No session is forcibly
|
|
453
|
+
disconnected. If a save cannot be confirmed, check **Assignments** before retrying.
|
|
454
|
+
|
|
442
455
|
Reports & insights collects accounting in the background and shows verified-session
|
|
443
456
|
progress on the first visit. Complete snapshots are saved privately alongside the
|
|
444
457
|
dashboard database in `<dashboard.dbPath>.um-reports/` and restored after restart
|
|
@@ -673,6 +686,8 @@ Full reference: **[docs/observability.md](docs/observability.md)**.
|
|
|
673
686
|
|
|
674
687
|
The dashboard includes a responsive operations shell with searchable grouped
|
|
675
688
|
navigation, pinned page shortcuts, a mobile drawer, and coordinated light/dark themes.
|
|
689
|
+
Its 41 pages are organised into eight task-based categories, with shared-scrollbar
|
|
690
|
+
navigation, category counts and common-term search. [Navigation guide](docs/dashboard-navigation.md).
|
|
676
691
|
The activity chart pairs a dotted canvas with animated successful-call trends and
|
|
677
692
|
independent error bars, with reduced-motion and pause controls.
|
|
678
693
|
BeUI now powers the dashboard's shared buttons, inputs, badges, checkboxes,
|