@usex/mikrotik-mcp 6.10.0 → 6.12.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 (69) hide show
  1. package/README.md +47 -1078
  2. package/dist/cli.js +649 -132
  3. package/dist/index.d.ts +15 -2
  4. package/dist/index.js +1 -1
  5. package/dist/shared/{cli-81s63cts.js → cli-cbs63p0r.js} +5477 -5220
  6. package/dist/shared/{cli-b4kkd56k.js → cli-frg1ynaw.js} +1 -1
  7. package/dist/shared/{cli-0srgjr3v.js → cli-rbe7s4mf.js} +1 -1
  8. package/dist/shared/{cli-chcn79z7.js → cli-s9k59ne8.js} +1 -1
  9. package/dist/shared/{cli-twafzgn3.js → cli-zhfcf33s.js} +1 -1
  10. package/dist/shared/{library-x66xvb3s.js → library-5qaxx124.js} +1 -1
  11. package/dist/shared/{library-f89nvhan.js → library-9sjsjtd1.js} +1 -1
  12. package/dist/shared/{library-thv5s4bs.js → library-he7xy22v.js} +495 -293
  13. package/dist/shared/{library-sxxt02xq.js → library-je5saqvp.js} +1 -1
  14. package/dist/shared/{library-2kk6k7zh.js → library-vtet3w1h.js} +1 -1
  15. package/dist/ui/observability.html +222 -89
  16. package/package.json +37 -28
  17. package/schemas/config.schema.json +16 -0
  18. package/schemas/devtools-manifest.json +1 -1
  19. package/schemas/tool-catalog.json +416 -9
  20. package/schemas/tools/apply_plan.json +6 -1
  21. package/schemas/tools/update_bandwidth_server.json +34 -0
  22. package/schemas/tools/update_bfd_configuration.json +8 -0
  23. package/schemas/tools/update_bgp_connection.json +8 -0
  24. package/schemas/tools/update_bridge.json +8 -0
  25. package/schemas/tools/update_dns_static.json +8 -0
  26. package/schemas/tools/update_dot1x_client.json +8 -0
  27. package/schemas/tools/update_dot1x_server.json +8 -0
  28. package/schemas/tools/update_filter_rule.json +8 -0
  29. package/schemas/tools/update_igmp_proxy_interface.json +8 -0
  30. package/schemas/tools/update_ip_pool.json +8 -0
  31. package/schemas/tools/update_ipsec_peer.json +8 -0
  32. package/schemas/tools/update_ipsec_profile.json +8 -0
  33. package/schemas/tools/update_ipsec_proposal.json +8 -0
  34. package/schemas/tools/update_ipv6_filter_rule.json +8 -0
  35. package/schemas/tools/update_ipv6_mangle_rule.json +8 -0
  36. package/schemas/tools/update_ipv6_nat_rule.json +8 -0
  37. package/schemas/tools/update_ipv6_nd.json +8 -0
  38. package/schemas/tools/update_ipv6_pool.json +8 -0
  39. package/schemas/tools/update_ipv6_raw_rule.json +8 -0
  40. package/schemas/tools/update_mangle_rule.json +8 -0
  41. package/schemas/tools/update_nat_rule.json +8 -0
  42. package/schemas/tools/update_ospf_instance.json +8 -0
  43. package/schemas/tools/update_ovpn_server.json +8 -0
  44. package/schemas/tools/update_ppp_profile.json +8 -0
  45. package/schemas/tools/update_ppp_secret.json +8 -0
  46. package/schemas/tools/update_queue_interface.json +8 -0
  47. package/schemas/tools/update_queue_tree.json +8 -0
  48. package/schemas/tools/update_queue_type.json +8 -0
  49. package/schemas/tools/update_radius_server.json +8 -0
  50. package/schemas/tools/update_rip_instance.json +8 -0
  51. package/schemas/tools/update_route.json +8 -0
  52. package/schemas/tools/update_routing_filter_rule.json +8 -0
  53. package/schemas/tools/update_routing_id.json +8 -0
  54. package/schemas/tools/update_routing_rule.json +8 -0
  55. package/schemas/tools/update_routing_table.json +8 -0
  56. package/schemas/tools/update_rpki_session.json +8 -0
  57. package/schemas/tools/update_simple_queue.json +8 -0
  58. package/schemas/tools/update_switch.json +8 -0
  59. package/schemas/tools/update_switch_port.json +8 -0
  60. package/schemas/tools/update_switch_port_isolation.json +8 -0
  61. package/schemas/tools/update_switch_rule.json +8 -0
  62. package/schemas/tools/update_traffic_monitor.json +8 -0
  63. package/schemas/tools/update_user_manager_user.json +8 -0
  64. package/schemas/tools/update_vlan_interface.json +8 -0
  65. package/schemas/tools/update_wireguard_interface.json +8 -0
  66. package/schemas/tools/update_wireguard_peer.json +8 -0
  67. package/schemas/tools/update_wireless_interface.json +8 -0
  68. package/scripts/service.ts +618 -0
  69. 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.10.0",
3
+ "version": "6.12.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",
@@ -59,7 +63,7 @@
59
63
  "prepack": "bun run build && bun run gen",
60
64
  "auth-check": "bun run --bun src/cli.ts auth-check",
61
65
  "gen:schemas": "bun run --bun scripts/gen-schemas.ts && vp fmt --write schemas",
62
- "gen:docs": "bun run --bun scripts/gen-tool-docs.ts && vp fmt --write docs/tools-reference.md",
66
+ "gen:docs": "bun run --bun scripts/gen-tool-docs.ts && vp fmt --write docs/content/docs/reference docs/content/docs/guides/config-schema.md docs/content/docs/guides/prompt-catalog.md",
63
67
  "gen": "bun run --bun gen:schemas && bun run --bun gen:docs",
64
68
  "start": "bun run --bun src/cli.ts serve",
65
69
  "start:dev": "bun run --watch --bun src/cli.ts serve",
@@ -86,7 +90,8 @@
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",
93
+ "test:types": "tsc --noEmit && tsc --project scripts/docker-publish/tsconfig.json && tsc --project scripts/tsconfig.service.json && bun run test:types:ui",
94
+ "test:types:ui": "tsc --noEmit --project ui/tsconfig.json",
90
95
  "check": "vp check",
91
96
  "lint": "vp lint",
92
97
  "lint:fix": "vp lint --fix",
@@ -99,7 +104,7 @@
99
104
  "@modelcontextprotocol/core": "^2.4.0",
100
105
  "@modelcontextprotocol/ext-apps": "^2.0.4",
101
106
  "@modelcontextprotocol/sdk": "^1.32.2",
102
- "@tikoci/centrs": "^0.1.8",
107
+ "@tikoci/centrs": "^0.1.10",
103
108
  "figlet": "^1.12.0",
104
109
  "gradient-string": "^3.0.0",
105
110
  "ipaddr.js": "^2.5.0",
@@ -108,19 +113,19 @@
108
113
  },
109
114
  "devDependencies": {
110
115
  "@anthropic-ai/mcpb": "^2.1.2",
111
- "@devframes/hub": "1.2.6",
112
- "@devframes/hub-ui": "1.2.6",
113
- "@devframes/plugin-a11y": "1.2.6",
114
- "@devframes/plugin-a11y--assets": "1.2.6",
115
- "@devframes/plugin-data-inspector": "1.2.6",
116
- "@devframes/plugin-data-inspector--assets": "1.2.6",
117
- "@devframes/plugin-inspect": "1.2.6",
118
- "@devframes/plugin-inspect--assets": "1.2.6",
119
- "@devframes/vite": "1.2.6",
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",
120
125
  "@paper-design/shaders-react": "^0.0.82",
121
126
  "@resvg/resvg-js": "^2.6.2",
122
- "@tailwindcss/vite": "^4.3.3",
123
- "@tanstack/react-virtual": "^3.14.24",
127
+ "@tailwindcss/vite": "^4.3.5",
128
+ "@tanstack/react-virtual": "^3.14.26",
124
129
  "@types/bun": "1.4.4",
125
130
  "@types/figlet": "^1.12.0",
126
131
  "@types/node": "^26.6.6",
@@ -129,30 +134,31 @@
129
134
  "@types/ssh2": "^1.15.6",
130
135
  "@types/update-notifier": "^6.0.9",
131
136
  "@typescript/native": "npm:typescript@^7.0.2",
132
- "@vitest/coverage-v8": "5.0.5",
133
- "@vitest/ui": "5.0.5",
137
+ "@vitest/coverage-v8": "5.1.0",
138
+ "@vitest/ui": "5.1.0",
134
139
  "bunup": "^0.16.32",
135
140
  "class-variance-authority": "^0.7.1",
136
141
  "clsx": "^2.1.1",
137
142
  "date-fns": "^4.4.0",
138
- "devframe": "1.2.6",
139
- "gsap": "^3.15.0",
143
+ "devframe": "1.3.5",
144
+ "gsap": "^3.15.1",
140
145
  "happy-dom": "^21.0.4",
141
146
  "lenis": "^1.3.27",
142
147
  "license-checker": "^25.0.1",
143
- "lucide-react": "^1.65.0",
144
- "motion": "^14.8.0",
148
+ "lucide-react": "^1.73.0",
149
+ "motion": "^14.14.0",
145
150
  "qrcode-generator": "^2.0.4",
146
151
  "radix-ui": "^1.8.1",
147
152
  "react": "^19.3.1",
148
153
  "react-day-picker": "^10.0.2",
149
154
  "react-dom": "^19.3.1",
150
155
  "recharts": "^3.10.1",
151
- "release-it": "^21.1.1",
152
- "shiki": "^4.5.0",
156
+ "release-it": "^21.1.2",
157
+ "shiki": "^4.6.0",
158
+ "skullet": "^0.0.3",
153
159
  "sonner": "^2.0.8",
154
160
  "tailwind-merge": "^3.7.0",
155
- "tailwindcss": "^4.3.3",
161
+ "tailwindcss": "^4.3.5",
156
162
  "tw-animate-css": "^1.4.0",
157
163
  "typescript": "npm:@typescript/typescript6@^6.0.2",
158
164
  "vite": "catalog:",
@@ -162,7 +168,7 @@
162
168
  "vite": "catalog:"
163
169
  },
164
170
  "engines": {
165
- "bun": ">=1.3.0"
171
+ "bun": ">=1.4.4"
166
172
  },
167
173
  "packageManager": "bun@1.4.4",
168
174
  "catalog": {
@@ -182,5 +188,8 @@
182
188
  }
183
189
  },
184
190
  "logo": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo.svg",
185
- "logoIcon": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo-icon.svg"
191
+ "logoIcon": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo-icon.svg",
192
+ "patchedDependencies": {
193
+ "@tikoci/centrs@0.1.10": "patches/@tikoci%2Fcentrs@0.1.10.patch"
194
+ }
186
195
  }
@@ -129,6 +129,22 @@
129
129
  "default": "",
130
130
  "type": "string"
131
131
  },
132
+ "bandwidthAuth": {
133
+ "type": "object",
134
+ "properties": {
135
+ "username": {
136
+ "type": "string",
137
+ "minLength": 1
138
+ },
139
+ "password": {
140
+ "type": "string",
141
+ "minLength": 1,
142
+ "maxLength": 32
143
+ }
144
+ },
145
+ "required": ["username", "password"],
146
+ "additionalProperties": false
147
+ },
132
148
  "port": {
133
149
  "default": 22,
134
150
  "type": "integer",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": 1,
3
- "version": "6.10.0",
3
+ "version": "6.12.0",
4
4
  "modules": [
5
5
  {
6
6
  "slug": "client-check",