@usex/mikrotik-mcp 3.33.0 → 3.35.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/dist/cli.js +7 -5
- package/dist/index.d.ts +7 -3
- package/dist/index.js +5 -5
- package/dist/shared/{cli-g5kqcrt4.js → cli-8xwvyzks.js} +1 -1
- package/dist/shared/{cli-gt8xtjx9.js → cli-ymyndemx.js} +2660 -2530
- package/dist/shared/{library-aa58hkb4.js → library-q35fq2gz.js} +2660 -2530
- package/dist/shared/{library-c629x3tn.js → library-ttqfk3a5.js} +1 -1
- package/dist/ui/observability.html +4 -4
- package/package.json +4 -4
- package/schemas/README.md +1 -1
- package/schemas/tool-catalog.json +214 -2
- package/schemas/tools/describe_tool.json +14 -0
- package/schemas/tools/export_ssh_host_key.json +13 -0
- package/schemas/tools/find_tools.json +20 -0
- package/schemas/tools/get_ssh_settings.json +7 -0
- package/schemas/tools/import_ssh_host_key.json +17 -0
- package/schemas/tools/invoke_tool.json +22 -0
- package/schemas/tools/regenerate_ssh_host_key.json +7 -0
- package/schemas/tools/set_ssh_settings.json +36 -0
package/dist/cli.js
CHANGED
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
toggleAaaEntity,
|
|
85
85
|
updateAaaEntity,
|
|
86
86
|
writeBackup
|
|
87
|
-
} from "./shared/cli-
|
|
87
|
+
} from "./shared/cli-ymyndemx.js";
|
|
88
88
|
|
|
89
89
|
// src/cli.ts
|
|
90
90
|
import { existsSync as existsSync2 } from "fs";
|
|
@@ -1220,6 +1220,8 @@ function devicesPayload(store) {
|
|
|
1220
1220
|
authMode: dc.mac ? "mac-telnet" : dc.keyFilename || dc.privateKey ? "key" : dc.password ? "password" : "none",
|
|
1221
1221
|
isDefault: name === cfg.defaultDevice,
|
|
1222
1222
|
description: dc.description,
|
|
1223
|
+
jumpVia: dc.jumpVia,
|
|
1224
|
+
jumpHost: dc.jumpHost ? { host: dc.jumpHost.host, port: dc.jumpHost.port } : undefined,
|
|
1223
1225
|
status: getDeviceStatus(name),
|
|
1224
1226
|
history: getDeviceHistory(name),
|
|
1225
1227
|
activity: activity.get(name) ?? {
|
|
@@ -2231,7 +2233,7 @@ function registerPrompts(server) {
|
|
|
2231
2233
|
// package.json
|
|
2232
2234
|
var package_default = {
|
|
2233
2235
|
name: "@usex/mikrotik-mcp",
|
|
2234
|
-
version: "3.
|
|
2236
|
+
version: "3.35.0",
|
|
2235
2237
|
description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
|
|
2236
2238
|
keywords: [
|
|
2237
2239
|
"ai",
|
|
@@ -2313,7 +2315,7 @@ var package_default = {
|
|
|
2313
2315
|
},
|
|
2314
2316
|
devDependencies: {
|
|
2315
2317
|
"@resvg/resvg-js": "^2.6.2",
|
|
2316
|
-
"@tailwindcss/vite": "^4.3.
|
|
2318
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
2317
2319
|
"@types/bun": "latest",
|
|
2318
2320
|
"@types/node": "^26.0.1",
|
|
2319
2321
|
"@types/react": "^19.2.17",
|
|
@@ -2324,13 +2326,13 @@ var package_default = {
|
|
|
2324
2326
|
"class-variance-authority": "^0.7.1",
|
|
2325
2327
|
clsx: "^2.1.1",
|
|
2326
2328
|
gsap: "^3.15.0",
|
|
2327
|
-
prettier: "^3.9.
|
|
2329
|
+
prettier: "^3.9.3",
|
|
2328
2330
|
react: "^19.2.7",
|
|
2329
2331
|
"react-dom": "^19.2.7",
|
|
2330
2332
|
recharts: "^3.9.0",
|
|
2331
2333
|
"release-it": "^20.2.1",
|
|
2332
2334
|
"tailwind-merge": "^3.6.0",
|
|
2333
|
-
tailwindcss: "^4.3.
|
|
2335
|
+
tailwindcss: "^4.3.2",
|
|
2334
2336
|
vite: "npm:@voidzero-dev/vite-plus-core@latest",
|
|
2335
2337
|
"vite-plus": "latest"
|
|
2336
2338
|
},
|
package/dist/index.d.ts
CHANGED
|
@@ -219,9 +219,13 @@ declare class MikroTikSSHClient {
|
|
|
219
219
|
private openClient;
|
|
220
220
|
/**
|
|
221
221
|
* Ask a connected jump host to open a TCP channel to `host:port` and resolve
|
|
222
|
-
* the resulting stream (used as the next hop's transport `sock`).
|
|
223
|
-
*
|
|
224
|
-
*
|
|
222
|
+
* the resulting stream (used as the next hop's transport `sock`).
|
|
223
|
+
*
|
|
224
|
+
* A RouterOS bastion with SSH TCP forwarding disabled (the default) often
|
|
225
|
+
* NEVER answers the channel-open request instead of rejecting it cleanly, so
|
|
226
|
+
* without a timeout this would hang the whole connection (the dashboard sits
|
|
227
|
+
* forever at "connecting…"). The `timeoutMs` guard turns that silent stall
|
|
228
|
+
* into a fast, actionable error; an explicit rejection gets the same hint.
|
|
225
229
|
*/
|
|
226
230
|
private forwardOut;
|
|
227
231
|
/** Run a single command on a fresh SSH channel and return its decoded output. */
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
resolveDeviceName,
|
|
22
22
|
selectToolModules,
|
|
23
23
|
setConfig
|
|
24
|
-
} from "./shared/library-
|
|
24
|
+
} from "./shared/library-q35fq2gz.js";
|
|
25
25
|
// src/server.ts
|
|
26
26
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
27
27
|
import { ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -131,7 +131,7 @@ function registerPrompts(server) {
|
|
|
131
131
|
// package.json
|
|
132
132
|
var package_default = {
|
|
133
133
|
name: "@usex/mikrotik-mcp",
|
|
134
|
-
version: "3.
|
|
134
|
+
version: "3.35.0",
|
|
135
135
|
description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
|
|
136
136
|
keywords: [
|
|
137
137
|
"ai",
|
|
@@ -213,7 +213,7 @@ var package_default = {
|
|
|
213
213
|
},
|
|
214
214
|
devDependencies: {
|
|
215
215
|
"@resvg/resvg-js": "^2.6.2",
|
|
216
|
-
"@tailwindcss/vite": "^4.3.
|
|
216
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
217
217
|
"@types/bun": "latest",
|
|
218
218
|
"@types/node": "^26.0.1",
|
|
219
219
|
"@types/react": "^19.2.17",
|
|
@@ -224,13 +224,13 @@ var package_default = {
|
|
|
224
224
|
"class-variance-authority": "^0.7.1",
|
|
225
225
|
clsx: "^2.1.1",
|
|
226
226
|
gsap: "^3.15.0",
|
|
227
|
-
prettier: "^3.9.
|
|
227
|
+
prettier: "^3.9.3",
|
|
228
228
|
react: "^19.2.7",
|
|
229
229
|
"react-dom": "^19.2.7",
|
|
230
230
|
recharts: "^3.9.0",
|
|
231
231
|
"release-it": "^20.2.1",
|
|
232
232
|
"tailwind-merge": "^3.6.0",
|
|
233
|
-
tailwindcss: "^4.3.
|
|
233
|
+
tailwindcss: "^4.3.2",
|
|
234
234
|
vite: "npm:@voidzero-dev/vite-plus-core@latest",
|
|
235
235
|
"vite-plus": "latest"
|
|
236
236
|
},
|