@usex/mikrotik-mcp 5.16.0 → 5.18.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 (40) hide show
  1. package/README.md +180 -5
  2. package/dist/cli.js +7298 -4293
  3. package/dist/index.d.ts +12 -1
  4. package/dist/index.js +54 -16
  5. package/dist/shared/cli-97csvm6f.js +25 -0
  6. package/dist/shared/cli-ff6yww2e.js +13 -0
  7. package/dist/shared/cli-s423xk9v.js +7 -0
  8. package/dist/shared/{library-pdyv4a32.js → library-08g0pwc9.js} +1 -1
  9. package/dist/shared/{library-0ysgbdj6.js → library-552hdvw2.js} +6244 -4454
  10. package/dist/shared/library-gmx9pzx3.js +17 -0
  11. package/dist/shared/library-w5tyng4c.js +7 -0
  12. package/dist/shared/library-xbg1d52n.js +13 -0
  13. package/dist/ui/client-check.html +80 -0
  14. package/dist/ui/observability.html +136 -75
  15. package/package.json +20 -7
  16. package/schemas/README.md +1 -1
  17. package/schemas/config.schema.json +18 -0
  18. package/schemas/devtools-manifest.json +11996 -0
  19. package/schemas/tool-catalog.json +755 -3
  20. package/schemas/tools/apply_router_migration.json +27 -0
  21. package/schemas/tools/close_client_check.json +14 -0
  22. package/schemas/tools/compare_client_checks.json +24 -0
  23. package/schemas/tools/create_client_check.json +25 -0
  24. package/schemas/tools/create_support_bundle.json +41 -0
  25. package/schemas/tools/delete_support_bundle.json +18 -0
  26. package/schemas/tools/export_support_bundle.json +19 -0
  27. package/schemas/tools/inspect_router_migration.json +7 -0
  28. package/schemas/tools/list_client_checks.json +7 -0
  29. package/schemas/tools/list_router_migrations.json +7 -0
  30. package/schemas/tools/list_support_bundles.json +7 -0
  31. package/schemas/tools/memory_get_scope.json +14 -0
  32. package/schemas/tools/memory_history.json +14 -0
  33. package/schemas/tools/memory_recall.json +35 -0
  34. package/schemas/tools/memory_remember.json +65 -0
  35. package/schemas/tools/memory_review.json +44 -0
  36. package/schemas/tools/memory_revise.json +61 -0
  37. package/schemas/tools/memory_set_scope.json +37 -0
  38. package/schemas/tools/preview_router_migration.json +62 -0
  39. package/schemas/tools/undo_router_migration.json +18 -0
  40. /package/dist/shared/{cli-gee7615j.js → cli-3zrj182m.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "5.16.0",
3
+ "version": "5.18.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",
@@ -54,6 +54,7 @@
54
54
  "build:mcp:all": "bun run --bun scripts/build-mcpb.ts --all",
55
55
  "dev": "bunup --watch",
56
56
  "dev:dashboard": "bunx vp dev -c ui/vite.observability.config.ts",
57
+ "dev:tools": "bunx vp dev -c ui/vite.observability.config.ts --mode devtools",
57
58
  "prepack": "bun run build && bun run gen",
58
59
  "auth-check": "bun run --bun src/cli.ts auth-check",
59
60
  "gen:schemas": "bun run --bun scripts/gen-schemas.ts && vp fmt --write schemas",
@@ -75,6 +76,7 @@
75
76
  "security:all": "bun run security:audit && bun run security:licenses",
76
77
  "prepublish:security": "npm run security:all",
77
78
  "test": "vp test run",
79
+ "test:memory": "bun test tests/memory-store.bun.test.ts && vp test run tests/observability/memory-routes.spec.ts tests/observability/memory-view.spec.ts tests/memory-accessor.spec.ts",
78
80
  "test:built": "bun run --bun scripts/check-mcp-build.ts",
79
81
  "test:watch": "vp test",
80
82
  "test:coverage": "vp test --ui --coverage --watch",
@@ -101,29 +103,40 @@
101
103
  },
102
104
  "devDependencies": {
103
105
  "@anthropic-ai/mcpb": "^2.1.2",
106
+ "@devframes/hub": "1.1.0",
107
+ "@devframes/hub-ui": "1.1.0",
108
+ "@devframes/plugin-a11y": "1.1.0",
109
+ "@devframes/plugin-a11y--assets": "1.1.0",
110
+ "@devframes/plugin-data-inspector": "1.1.0",
111
+ "@devframes/plugin-data-inspector--assets": "1.1.0",
112
+ "@devframes/plugin-inspect": "1.1.0",
113
+ "@devframes/plugin-inspect--assets": "1.1.0",
114
+ "@devframes/vite": "1.1.0",
104
115
  "@paper-design/shaders-react": "^0.0.81",
105
116
  "@resvg/resvg-js": "^2.6.2",
106
117
  "@tailwindcss/vite": "^4.3.3",
107
118
  "@tanstack/react-virtual": "^3.14.13",
108
119
  "@types/bun": "1.4.2",
109
120
  "@types/figlet": "^1.7.0",
110
- "@types/node": "^26.6.2",
121
+ "@types/node": "^26.6.3",
111
122
  "@types/react": "^19.3.0",
112
123
  "@types/react-dom": "^19.3.0",
113
124
  "@types/ssh2": "^1.15.6",
114
125
  "@types/update-notifier": "^6.0.8",
115
126
  "@typescript/native": "npm:typescript@^7.0.2",
116
- "@vitest/coverage-v8": "5.0.1",
117
- "@vitest/ui": "5.0.1",
127
+ "@vitest/coverage-v8": "5.0.2",
128
+ "@vitest/ui": "5.0.2",
118
129
  "bunup": "^0.16.32",
119
130
  "class-variance-authority": "^0.7.1",
120
131
  "clsx": "^2.1.1",
132
+ "devframe": "1.1.0",
121
133
  "gsap": "^3.15.0",
122
134
  "happy-dom": "^20.14.5",
123
135
  "lenis": "^1.3.26",
124
136
  "license-checker": "^25.0.1",
125
137
  "lucide-react": "^1.48.0",
126
- "motion": "^13.4.2",
138
+ "motion": "^13.4.4",
139
+ "qrcode-generator": "^2.0.4",
127
140
  "radix-ui": "^1.6.7",
128
141
  "react": "^19.3.0",
129
142
  "react-dom": "^19.3.0",
@@ -146,8 +159,8 @@
146
159
  },
147
160
  "packageManager": "bun@1.4.2",
148
161
  "catalog": {
149
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
150
- "vite-plus": "0.3.1"
162
+ "vite": "npm:@voidzero-dev/vite-plus-core@1.0.0-rc.1",
163
+ "vite-plus": "1.0.0-rc.1"
151
164
  },
152
165
  "changelog": {
153
166
  "labels": {
package/schemas/README.md CHANGED
@@ -7,7 +7,7 @@ edit by hand — regenerate instead.
7
7
  | File | Contents |
8
8
  | -------------------- | ------------------------------------------------------------------------------------------ |
9
9
  | `config.schema.json` | The runtime configuration object (env vars / CLI flags). |
10
- | `tool-catalog.json` | Every one of the 911 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
10
+ | `tool-catalog.json` | Every one of the 931 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
11
11
  | `tools/<name>.json` | The input JSON Schema for a single tool. |
12
12
 
13
13
  `risk` is derived from the MCP tool annotations:
@@ -103,6 +103,24 @@
103
103
  "default": "127.0.0.1",
104
104
  "type": "string"
105
105
  },
106
+ "fallbackHosts": {
107
+ "maxItems": 7,
108
+ "type": "array",
109
+ "items": {
110
+ "anyOf": [
111
+ {
112
+ "type": "string",
113
+ "format": "ipv4",
114
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$"
115
+ },
116
+ {
117
+ "type": "string",
118
+ "format": "ipv6",
119
+ "pattern": "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$"
120
+ }
121
+ ]
122
+ }
123
+ },
106
124
  "username": {
107
125
  "default": "admin",
108
126
  "type": "string"