@usex/mikrotik-mcp 3.0.0 → 3.1.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 +13 -3
- package/dist/index.js +13 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -20509,7 +20509,7 @@ function registerPrompts(server) {
|
|
|
20509
20509
|
// package.json
|
|
20510
20510
|
var package_default = {
|
|
20511
20511
|
name: "@usex/mikrotik-mcp",
|
|
20512
|
-
version: "3.
|
|
20512
|
+
version: "3.1.0",
|
|
20513
20513
|
description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
|
|
20514
20514
|
keywords: [
|
|
20515
20515
|
"ai",
|
|
@@ -20682,11 +20682,21 @@ function createServer(opts = {}) {
|
|
|
20682
20682
|
}
|
|
20683
20683
|
]
|
|
20684
20684
|
}, {
|
|
20685
|
-
capabilities: {
|
|
20685
|
+
capabilities: {
|
|
20686
|
+
tools: { listChanged: true },
|
|
20687
|
+
prompts: { listChanged: true },
|
|
20688
|
+
resources: { listChanged: true },
|
|
20689
|
+
logging: {}
|
|
20690
|
+
},
|
|
20686
20691
|
instructions
|
|
20687
20692
|
});
|
|
20693
|
+
const sendLog = opts.sendLog ?? ((level, message) => {
|
|
20694
|
+
try {
|
|
20695
|
+
server.server.sendLoggingMessage({ level, data: message }).catch(() => {});
|
|
20696
|
+
} catch {}
|
|
20697
|
+
});
|
|
20688
20698
|
const toolCount = registerTools(server, allToolModules, {
|
|
20689
|
-
sendLog
|
|
20699
|
+
sendLog,
|
|
20690
20700
|
deviceNames: names,
|
|
20691
20701
|
readOnly
|
|
20692
20702
|
});
|
package/dist/index.js
CHANGED
|
@@ -19337,7 +19337,7 @@ var allToolModules = moduleCatalog.map((m) => m.tools);
|
|
|
19337
19337
|
// package.json
|
|
19338
19338
|
var package_default = {
|
|
19339
19339
|
name: "@usex/mikrotik-mcp",
|
|
19340
|
-
version: "3.
|
|
19340
|
+
version: "3.1.0",
|
|
19341
19341
|
description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
|
|
19342
19342
|
keywords: [
|
|
19343
19343
|
"ai",
|
|
@@ -19510,11 +19510,21 @@ function createServer(opts = {}) {
|
|
|
19510
19510
|
}
|
|
19511
19511
|
]
|
|
19512
19512
|
}, {
|
|
19513
|
-
capabilities: {
|
|
19513
|
+
capabilities: {
|
|
19514
|
+
tools: { listChanged: true },
|
|
19515
|
+
prompts: { listChanged: true },
|
|
19516
|
+
resources: { listChanged: true },
|
|
19517
|
+
logging: {}
|
|
19518
|
+
},
|
|
19514
19519
|
instructions
|
|
19515
19520
|
});
|
|
19521
|
+
const sendLog = opts.sendLog ?? ((level, message) => {
|
|
19522
|
+
try {
|
|
19523
|
+
server.server.sendLoggingMessage({ level, data: message }).catch(() => {});
|
|
19524
|
+
} catch {}
|
|
19525
|
+
});
|
|
19516
19526
|
const toolCount = registerTools(server, allToolModules, {
|
|
19517
|
-
sendLog
|
|
19527
|
+
sendLog,
|
|
19518
19528
|
deviceNames: names,
|
|
19519
19529
|
readOnly
|
|
19520
19530
|
});
|
package/package.json
CHANGED