@usex/mikrotik-mcp 3.34.0 → 3.36.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 +3 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +3 -3
- package/dist/shared/{cli-gt8xtjx9.js → cli-3580mf22.js} +2664 -2557
- package/dist/shared/{cli-g5kqcrt4.js → cli-ckbcx5hs.js} +1 -1
- package/dist/shared/{library-aa58hkb4.js → library-jm3khjrr.js} +2664 -2557
- package/dist/shared/{library-c629x3tn.js → library-jrp4dawm.js} +1 -1
- package/dist/ui/observability.html +4 -4
- package/package.json +2 -2
- 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-3580mf22.js";
|
|
88
88
|
|
|
89
89
|
// src/cli.ts
|
|
90
90
|
import { existsSync as existsSync2 } from "fs";
|
|
@@ -2233,7 +2233,7 @@ function registerPrompts(server) {
|
|
|
2233
2233
|
// package.json
|
|
2234
2234
|
var package_default = {
|
|
2235
2235
|
name: "@usex/mikrotik-mcp",
|
|
2236
|
-
version: "3.
|
|
2236
|
+
version: "3.36.0",
|
|
2237
2237
|
description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
|
|
2238
2238
|
keywords: [
|
|
2239
2239
|
"ai",
|
|
@@ -2326,7 +2326,7 @@ var package_default = {
|
|
|
2326
2326
|
"class-variance-authority": "^0.7.1",
|
|
2327
2327
|
clsx: "^2.1.1",
|
|
2328
2328
|
gsap: "^3.15.0",
|
|
2329
|
-
prettier: "^3.9.
|
|
2329
|
+
prettier: "^3.9.4",
|
|
2330
2330
|
react: "^19.2.7",
|
|
2331
2331
|
"react-dom": "^19.2.7",
|
|
2332
2332
|
recharts: "^3.9.0",
|
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-jm3khjrr.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.36.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",
|
|
@@ -224,7 +224,7 @@ 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.4",
|
|
228
228
|
react: "^19.2.7",
|
|
229
229
|
"react-dom": "^19.2.7",
|
|
230
230
|
recharts: "^3.9.0",
|