@usex/mikrotik-mcp 6.11.0 → 6.13.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.
Files changed (67) hide show
  1. package/dist/cli.js +42 -5361
  2. package/dist/index.d.ts +76 -3
  3. package/dist/index.js +858 -6179
  4. package/dist/shared/{cli-xkhmxe9c.js → cli-1vn2bbpy.js} +6033 -398
  5. package/dist/shared/{cli-xgyy9he1.js → cli-4xzq2n6j.js} +1 -1
  6. package/dist/shared/{cli-p3rfcsg3.js → cli-r1ng5cjy.js} +1 -1
  7. package/dist/shared/{cli-vrfw477g.js → cli-rcx7e9h4.js} +1 -1
  8. package/dist/shared/{cli-n6heg9q6.js → cli-w6km895r.js} +1 -1
  9. package/dist/shared/{library-qx9hax3s.js → library-0qn06vwr.js} +1 -1
  10. package/dist/shared/{library-dc9pv2hm.js → library-1nhmbsv0.js} +1 -1
  11. package/dist/shared/{library-zwdxcca2.js → library-1swafsvq.js} +1 -1
  12. package/dist/shared/{library-w2eyfdqz.js → library-2wd7mt3g.js} +6033 -399
  13. package/dist/shared/{library-y783969c.js → library-jpmbkkz7.js} +1 -1
  14. package/dist/ui/observability.html +69 -69
  15. package/package.json +20 -16
  16. package/schemas/config.schema.json +13 -0
  17. package/schemas/devtools-manifest.json +3 -3
  18. package/schemas/tool-catalog.json +383 -10
  19. package/schemas/tools/apply_plan.json +6 -1
  20. package/schemas/tools/update_bfd_configuration.json +8 -0
  21. package/schemas/tools/update_bgp_connection.json +8 -0
  22. package/schemas/tools/update_bridge.json +8 -0
  23. package/schemas/tools/update_dns_static.json +8 -0
  24. package/schemas/tools/update_dot1x_client.json +8 -0
  25. package/schemas/tools/update_dot1x_server.json +8 -0
  26. package/schemas/tools/update_filter_rule.json +8 -0
  27. package/schemas/tools/update_igmp_proxy_interface.json +8 -0
  28. package/schemas/tools/update_ip_pool.json +8 -0
  29. package/schemas/tools/update_ipsec_peer.json +8 -0
  30. package/schemas/tools/update_ipsec_profile.json +8 -0
  31. package/schemas/tools/update_ipsec_proposal.json +8 -0
  32. package/schemas/tools/update_ipv6_filter_rule.json +8 -0
  33. package/schemas/tools/update_ipv6_mangle_rule.json +8 -0
  34. package/schemas/tools/update_ipv6_nat_rule.json +8 -0
  35. package/schemas/tools/update_ipv6_nd.json +8 -0
  36. package/schemas/tools/update_ipv6_pool.json +8 -0
  37. package/schemas/tools/update_ipv6_raw_rule.json +8 -0
  38. package/schemas/tools/update_mangle_rule.json +8 -0
  39. package/schemas/tools/update_nat_rule.json +8 -0
  40. package/schemas/tools/update_ospf_instance.json +8 -0
  41. package/schemas/tools/update_ovpn_server.json +8 -0
  42. package/schemas/tools/update_ppp_profile.json +8 -0
  43. package/schemas/tools/update_ppp_secret.json +8 -0
  44. package/schemas/tools/update_queue_interface.json +8 -0
  45. package/schemas/tools/update_queue_tree.json +8 -0
  46. package/schemas/tools/update_queue_type.json +8 -0
  47. package/schemas/tools/update_radius_server.json +8 -0
  48. package/schemas/tools/update_rip_instance.json +8 -0
  49. package/schemas/tools/update_route.json +8 -0
  50. package/schemas/tools/update_routing_filter_rule.json +8 -0
  51. package/schemas/tools/update_routing_id.json +8 -0
  52. package/schemas/tools/update_routing_rule.json +8 -0
  53. package/schemas/tools/update_routing_table.json +8 -0
  54. package/schemas/tools/update_rpki_session.json +8 -0
  55. package/schemas/tools/update_simple_queue.json +8 -0
  56. package/schemas/tools/update_switch.json +8 -0
  57. package/schemas/tools/update_switch_port.json +8 -0
  58. package/schemas/tools/update_switch_port_isolation.json +8 -0
  59. package/schemas/tools/update_switch_rule.json +8 -0
  60. package/schemas/tools/update_traffic_monitor.json +8 -0
  61. package/schemas/tools/update_user_manager_user.json +8 -0
  62. package/schemas/tools/update_vlan_interface.json +8 -0
  63. package/schemas/tools/update_wireguard_interface.json +8 -0
  64. package/schemas/tools/update_wireguard_peer.json +8 -0
  65. package/schemas/tools/update_wireless_interface.json +8 -0
  66. package/scripts/service.ts +618 -0
  67. package/scripts/upgrade.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "6.11.0",
3
+ "version": "6.13.0",
4
4
  "description": "MCP server for MikroTik RouterOS — 780+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
5
5
  "keywords": [
6
6
  "ai",
@@ -25,14 +25,18 @@
25
25
  "url": "https://github.com/mikrotik-mcp/mikrotik-mcp.git"
26
26
  },
27
27
  "bin": {
28
- "mikrotik-mcp": "dist/cli.js"
28
+ "mikrotik-mcp": "dist/cli.js",
29
+ "mikrotik-mcp-service": "scripts/service.ts",
30
+ "mikrotik-mcp-upgrade": "scripts/upgrade.ts"
29
31
  },
30
32
  "workspaces": [],
31
33
  "files": [
32
34
  "dist",
33
35
  "policies",
34
36
  "prompts",
35
- "schemas"
37
+ "schemas",
38
+ "scripts/service.ts",
39
+ "scripts/upgrade.ts"
36
40
  ],
37
41
  "type": "module",
38
42
  "main": "dist/index.js",
@@ -86,7 +90,7 @@
86
90
  "test:coverage:combined": "bun run test:coverage && bun run test:bun:coverage && bun scripts/report-combined-coverage.ts --check",
87
91
  "test:coverage:check": "bun run test:coverage --coverage.thresholds.lines=90.01 --coverage.thresholds.statements=90.01 --coverage.thresholds.functions=90.01 --coverage.thresholds.branches=90.01",
88
92
  "release": "release-it",
89
- "test:types": "tsc --noEmit && tsc --project scripts/docker-publish/tsconfig.json && bun run test:types:ui",
93
+ "test:types": "tsc --noEmit && tsc --project scripts/docker-publish/tsconfig.json && tsc --project scripts/tsconfig.service.json && bun run test:types:ui",
90
94
  "test:types:ui": "tsc --noEmit --project ui/tsconfig.json",
91
95
  "check": "vp check",
92
96
  "lint": "vp lint",
@@ -109,15 +113,15 @@
109
113
  },
110
114
  "devDependencies": {
111
115
  "@anthropic-ai/mcpb": "^2.1.2",
112
- "@devframes/hub": "1.3.2",
113
- "@devframes/hub-ui": "1.3.2",
114
- "@devframes/plugin-a11y": "1.3.2",
115
- "@devframes/plugin-a11y--assets": "1.3.2",
116
- "@devframes/plugin-data-inspector": "1.3.2",
117
- "@devframes/plugin-data-inspector--assets": "1.3.2",
118
- "@devframes/plugin-inspect": "1.3.2",
119
- "@devframes/plugin-inspect--assets": "1.3.2",
120
- "@devframes/vite": "1.3.2",
116
+ "@devframes/hub": "1.3.5",
117
+ "@devframes/hub-ui": "1.3.5",
118
+ "@devframes/plugin-a11y": "1.3.5",
119
+ "@devframes/plugin-a11y--assets": "1.3.5",
120
+ "@devframes/plugin-data-inspector": "1.3.5",
121
+ "@devframes/plugin-data-inspector--assets": "1.3.5",
122
+ "@devframes/plugin-inspect": "1.3.5",
123
+ "@devframes/plugin-inspect--assets": "1.3.5",
124
+ "@devframes/vite": "1.3.5",
121
125
  "@paper-design/shaders-react": "^0.0.82",
122
126
  "@resvg/resvg-js": "^2.6.2",
123
127
  "@tailwindcss/vite": "^4.3.5",
@@ -136,13 +140,13 @@
136
140
  "class-variance-authority": "^0.7.1",
137
141
  "clsx": "^2.1.1",
138
142
  "date-fns": "^4.4.0",
139
- "devframe": "1.3.2",
143
+ "devframe": "1.3.5",
140
144
  "gsap": "^3.15.1",
141
145
  "happy-dom": "^21.0.4",
142
146
  "lenis": "^1.3.27",
143
147
  "license-checker": "^25.0.1",
144
- "lucide-react": "^1.70.0",
145
- "motion": "^14.10.1",
148
+ "lucide-react": "^1.73.0",
149
+ "motion": "^14.14.0",
146
150
  "qrcode-generator": "^2.0.4",
147
151
  "radix-ui": "^1.8.1",
148
152
  "react": "^19.3.1",
@@ -262,6 +262,8 @@
262
262
  "allowedOrigins": "",
263
263
  "corsOrigins": "",
264
264
  "toolPageSize": 0,
265
+ "toolSurface": "full",
266
+ "coreTools": "",
265
267
  "appViews": false,
266
268
  "capabilityGating": "annotate"
267
269
  },
@@ -300,6 +302,15 @@
300
302
  "minimum": 0,
301
303
  "maximum": 9007199254740991
302
304
  },
305
+ "toolSurface": {
306
+ "default": "full",
307
+ "type": "string",
308
+ "enum": ["full", "core"]
309
+ },
310
+ "coreTools": {
311
+ "default": "",
312
+ "type": "string"
313
+ },
303
314
  "appViews": {
304
315
  "default": false,
305
316
  "type": "boolean"
@@ -318,6 +329,8 @@
318
329
  "allowedOrigins",
319
330
  "corsOrigins",
320
331
  "toolPageSize",
332
+ "toolSurface",
333
+ "coreTools",
321
334
  "appViews",
322
335
  "capabilityGating"
323
336
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": 1,
3
- "version": "6.11.0",
3
+ "version": "6.13.0",
4
4
  "modules": [
5
5
  {
6
6
  "slug": "client-check",
@@ -1706,7 +1706,7 @@
1706
1706
  "label": "Access Scope",
1707
1707
  "group": "Discovery & Meta",
1708
1708
  "description": "Caller-scoped access control: inspect the risk/device/tool boundary enforced on this session, review denied calls, and voluntarily narrow the scope (one-way).",
1709
- "alwaysOn": false,
1709
+ "alwaysOn": true,
1710
1710
  "tools": ["get_access_scope", "narrow_access_scope"]
1711
1711
  },
1712
1712
  {
@@ -2111,7 +2111,7 @@
2111
2111
  "label": "Safe Mode",
2112
2112
  "group": "System & Ops",
2113
2113
  "description": "Transactional config window with auto-revert (Ctrl+X session).",
2114
- "alwaysOn": false,
2114
+ "alwaysOn": true,
2115
2115
  "tools": [
2116
2116
  "set_safe_mode_timeout",
2117
2117
  "safe_mode_status",