@usex/mikrotik-mcp 3.32.1 → 3.32.2

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 CHANGED
@@ -2231,7 +2231,7 @@ function registerPrompts(server) {
2231
2231
  // package.json
2232
2232
  var package_default = {
2233
2233
  name: "@usex/mikrotik-mcp",
2234
- version: "3.32.1",
2234
+ version: "3.32.2",
2235
2235
  description: "MCP server for MikroTik RouterOS \u2014 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
2236
2236
  keywords: [
2237
2237
  "ai",
@@ -2707,16 +2707,20 @@ async function main() {
2707
2707
  warnIfPlaintextPasswordInContainer(Object.values(cfg.devices).some((d) => !!d.password));
2708
2708
  const deviceNames = Object.keys(cfg.devices);
2709
2709
  logger.info(`Starting ${SERVER_NAME} v${VERSION} (transport=${cfg.mcp.transport}, ` + `devices=${deviceNames.length === 1 ? deviceNames[0] : deviceNames.join("/")})`);
2710
- if (cfg.dashboard.enabled) {
2710
+ const startDashboard = async () => {
2711
+ if (!cfg.dashboard.enabled)
2712
+ return;
2711
2713
  try {
2712
2714
  await runDashboard(cfg.dashboard, cfg.mcp.transport);
2713
2715
  } catch (e) {
2714
2716
  logger.error(`Failed to start observability dashboard: ${e instanceof Error ? e.message : String(e)}. ` + "Continuing without it.");
2715
2717
  }
2716
- }
2718
+ };
2717
2719
  if (cfg.mcp.transport === "stdio") {
2718
2720
  await runStdio();
2721
+ await startDashboard();
2719
2722
  } else {
2723
+ await startDashboard();
2720
2724
  await runHttp(cfg.mcp);
2721
2725
  }
2722
2726
  }
package/dist/index.js CHANGED
@@ -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.32.1",
134
+ version: "3.32.2",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "3.32.1",
3
+ "version": "3.32.2",
4
4
  "description": "MCP server for MikroTik RouterOS — 660+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
5
5
  "keywords": [
6
6
  "ai",