@usex/mikrotik-mcp 6.10.0 → 6.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "6.10.0",
3
+ "version": "6.11.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",
@@ -59,7 +59,7 @@
59
59
  "prepack": "bun run build && bun run gen",
60
60
  "auth-check": "bun run --bun src/cli.ts auth-check",
61
61
  "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",
62
+ "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
63
  "gen": "bun run --bun gen:schemas && bun run --bun gen:docs",
64
64
  "start": "bun run --bun src/cli.ts serve",
65
65
  "start:dev": "bun run --watch --bun src/cli.ts serve",
@@ -86,7 +86,8 @@
86
86
  "test:coverage:combined": "bun run test:coverage && bun run test:bun:coverage && bun scripts/report-combined-coverage.ts --check",
87
87
  "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
88
  "release": "release-it",
89
- "test:types": "tsc --noEmit && tsc --project scripts/docker-publish/tsconfig.json",
89
+ "test:types": "tsc --noEmit && tsc --project scripts/docker-publish/tsconfig.json && bun run test:types:ui",
90
+ "test:types:ui": "tsc --noEmit --project ui/tsconfig.json",
90
91
  "check": "vp check",
91
92
  "lint": "vp lint",
92
93
  "lint:fix": "vp lint --fix",
@@ -99,7 +100,7 @@
99
100
  "@modelcontextprotocol/core": "^2.4.0",
100
101
  "@modelcontextprotocol/ext-apps": "^2.0.4",
101
102
  "@modelcontextprotocol/sdk": "^1.32.2",
102
- "@tikoci/centrs": "^0.1.8",
103
+ "@tikoci/centrs": "^0.1.10",
103
104
  "figlet": "^1.12.0",
104
105
  "gradient-string": "^3.0.0",
105
106
  "ipaddr.js": "^2.5.0",
@@ -108,19 +109,19 @@
108
109
  },
109
110
  "devDependencies": {
110
111
  "@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",
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",
120
121
  "@paper-design/shaders-react": "^0.0.82",
121
122
  "@resvg/resvg-js": "^2.6.2",
122
- "@tailwindcss/vite": "^4.3.3",
123
- "@tanstack/react-virtual": "^3.14.24",
123
+ "@tailwindcss/vite": "^4.3.5",
124
+ "@tanstack/react-virtual": "^3.14.26",
124
125
  "@types/bun": "1.4.4",
125
126
  "@types/figlet": "^1.12.0",
126
127
  "@types/node": "^26.6.6",
@@ -129,30 +130,31 @@
129
130
  "@types/ssh2": "^1.15.6",
130
131
  "@types/update-notifier": "^6.0.9",
131
132
  "@typescript/native": "npm:typescript@^7.0.2",
132
- "@vitest/coverage-v8": "5.0.5",
133
- "@vitest/ui": "5.0.5",
133
+ "@vitest/coverage-v8": "5.1.0",
134
+ "@vitest/ui": "5.1.0",
134
135
  "bunup": "^0.16.32",
135
136
  "class-variance-authority": "^0.7.1",
136
137
  "clsx": "^2.1.1",
137
138
  "date-fns": "^4.4.0",
138
- "devframe": "1.2.6",
139
- "gsap": "^3.15.0",
139
+ "devframe": "1.3.2",
140
+ "gsap": "^3.15.1",
140
141
  "happy-dom": "^21.0.4",
141
142
  "lenis": "^1.3.27",
142
143
  "license-checker": "^25.0.1",
143
- "lucide-react": "^1.65.0",
144
- "motion": "^14.8.0",
144
+ "lucide-react": "^1.70.0",
145
+ "motion": "^14.10.1",
145
146
  "qrcode-generator": "^2.0.4",
146
147
  "radix-ui": "^1.8.1",
147
148
  "react": "^19.3.1",
148
149
  "react-day-picker": "^10.0.2",
149
150
  "react-dom": "^19.3.1",
150
151
  "recharts": "^3.10.1",
151
- "release-it": "^21.1.1",
152
- "shiki": "^4.5.0",
152
+ "release-it": "^21.1.2",
153
+ "shiki": "^4.6.0",
154
+ "skullet": "^0.0.3",
153
155
  "sonner": "^2.0.8",
154
156
  "tailwind-merge": "^3.7.0",
155
- "tailwindcss": "^4.3.3",
157
+ "tailwindcss": "^4.3.5",
156
158
  "tw-animate-css": "^1.4.0",
157
159
  "typescript": "npm:@typescript/typescript6@^6.0.2",
158
160
  "vite": "catalog:",
@@ -162,7 +164,7 @@
162
164
  "vite": "catalog:"
163
165
  },
164
166
  "engines": {
165
- "bun": ">=1.3.0"
167
+ "bun": ">=1.4.4"
166
168
  },
167
169
  "packageManager": "bun@1.4.4",
168
170
  "catalog": {
@@ -182,5 +184,8 @@
182
184
  }
183
185
  },
184
186
  "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"
187
+ "logoIcon": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo-icon.svg",
188
+ "patchedDependencies": {
189
+ "@tikoci/centrs@0.1.10": "patches/@tikoci%2Fcentrs@0.1.10.patch"
190
+ }
186
191
  }
@@ -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.11.0",
4
4
  "modules": [
5
5
  {
6
6
  "slug": "client-check",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "generated": "by scripts/gen-schemas.ts — do not edit by hand",
5
5
  "toolCount": 983,
6
6
  "tools": [
@@ -28414,7 +28414,7 @@
28414
28414
  "idempotentHint": true,
28415
28415
  "openWorldHint": false
28416
28416
  },
28417
- "description": "Configures the bandwidth-test server (`/tool bandwidth-server set`) — enables or disables the server, toggles client authentication, caps concurrent sessions, and sets the UDP port allocation base. To inspect current values before changing them use `get_bandwidth_server`. Returns the updated settings block after applying changes.\n\nArguments:\n `enabled`: accept incoming bandwidth-test sessions.\n `authenticate`: require valid device credentials from test clients.\n `max_sessions`: cap concurrent test sessions.\n `allocate_udp_ports_from`: first UDP port used for test streams.",
28417
+ "description": "Configures the bandwidth-test server (`/tool bandwidth-server set`) — enables or disables the server, toggles client authentication, caps concurrent sessions, sets the UDP port allocation base and restricts client IP prefixes. An empty allowlist allows all clients; retain authentication and firewall restrictions. To inspect current values before changing them use `get_bandwidth_server`. Returns the updated settings block after applying changes.\n\nArguments:\n `enabled`: accept incoming bandwidth-test sessions.\n `authenticate`: require valid device credentials from test clients.\n `max_sessions`: cap concurrent test sessions.\n `allocate_udp_ports_from`: first UDP port used for test streams.",
28418
28418
  "inputSchema": {
28419
28419
  "$schema": "https://json-schema.org/draft/2020-12/schema",
28420
28420
  "type": "object",
@@ -28434,6 +28434,40 @@
28434
28434
  "type": "integer",
28435
28435
  "minimum": -9007199254740991,
28436
28436
  "maximum": 9007199254740991
28437
+ },
28438
+ "allowed_addresses4": {
28439
+ "type": "array",
28440
+ "items": {
28441
+ "anyOf": [
28442
+ {
28443
+ "type": "string",
28444
+ "format": "ipv4",
28445
+ "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])$"
28446
+ },
28447
+ {
28448
+ "type": "string",
28449
+ "format": "cidrv4",
28450
+ "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])\\/([0-9]|[1-2][0-9]|3[0-2])$"
28451
+ }
28452
+ ]
28453
+ }
28454
+ },
28455
+ "allowed_addresses6": {
28456
+ "type": "array",
28457
+ "items": {
28458
+ "anyOf": [
28459
+ {
28460
+ "type": "string",
28461
+ "format": "ipv6",
28462
+ "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}|:))$"
28463
+ },
28464
+ {
28465
+ "type": "string",
28466
+ "format": "cidrv6",
28467
+ "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}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$"
28468
+ }
28469
+ ]
28470
+ }
28437
28471
  }
28438
28472
  },
28439
28473
  "additionalProperties": false
@@ -18,6 +18,40 @@
18
18
  "type": "integer",
19
19
  "minimum": -9007199254740991,
20
20
  "maximum": 9007199254740991
21
+ },
22
+ "allowed_addresses4": {
23
+ "type": "array",
24
+ "items": {
25
+ "anyOf": [
26
+ {
27
+ "type": "string",
28
+ "format": "ipv4",
29
+ "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])$"
30
+ },
31
+ {
32
+ "type": "string",
33
+ "format": "cidrv4",
34
+ "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])\\/([0-9]|[1-2][0-9]|3[0-2])$"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ "allowed_addresses6": {
40
+ "type": "array",
41
+ "items": {
42
+ "anyOf": [
43
+ {
44
+ "type": "string",
45
+ "format": "ipv6",
46
+ "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}|:))$"
47
+ },
48
+ {
49
+ "type": "string",
50
+ "format": "cidrv6",
51
+ "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}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$"
52
+ }
53
+ ]
54
+ }
21
55
  }
22
56
  },
23
57
  "additionalProperties": false