@usex/mikrotik-mcp 4.2.0 → 4.4.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/README.md +28 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/{cli-10a2apr1.js → cli-k18dkv4w.js} +1 -1
- package/dist/shared/{cli-365rqpy1.js → cli-mm90zmj3.js} +3 -3
- package/dist/shared/{library-ndn9hj45.js → library-t0cfgfyj.js} +3 -3
- package/dist/shared/{library-wbht6e2m.js → library-tmmvpwjf.js} +1 -1
- package/dist/ui/observability.html +119 -54
- package/package.json +19 -6
- package/schemas/tool-catalog.json +4 -3
- package/schemas/tools/add_ospf_interface_template.json +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usex/mikrotik-mcp",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "MCP server for MikroTik RouterOS —
|
|
3
|
+
"version": "4.4.0",
|
|
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",
|
|
7
7
|
"bun",
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "bunup && chmod +x dist/cli.js && bun run build:ui",
|
|
51
51
|
"build:ui": "bun run --bun scripts/build-ui.ts",
|
|
52
|
+
"build:mcp": "bun run --bun scripts/build-mcpb.ts",
|
|
53
|
+
"build:mcp:all": "bun run --bun scripts/build-mcpb.ts --all",
|
|
52
54
|
"dev": "bunup --watch",
|
|
53
55
|
"prepack": "bunup && chmod +x dist/cli.js && bun run build:ui && bun run gen",
|
|
54
56
|
"auth-check": "bun run --bun src/cli.ts auth-check",
|
|
@@ -57,11 +59,17 @@
|
|
|
57
59
|
"gen": "bun run --bun gen:schemas && bun run --bun gen:docs",
|
|
58
60
|
"start": "bun run --bun src/cli.ts serve",
|
|
59
61
|
"discover": "bun run --bun scripts/discover-macs.ts",
|
|
62
|
+
"chat": "bunx mcp-chat --server \"./dist/cli.js serve\"",
|
|
60
63
|
"inspect": "bunx @modelcontextprotocol/inspector bun run --bun src/cli.ts serve",
|
|
61
64
|
"inspect:built": "bun run --bun build && bunx @modelcontextprotocol/inspector bun dist/cli.js serve",
|
|
62
65
|
"inspect:config": "bunx @modelcontextprotocol/inspector --config mcp-inspector.config.json --server mikrotik",
|
|
63
66
|
"inspect:cli": "bunx @modelcontextprotocol/inspector --cli bun run --bun src/cli.ts serve --method tools/list",
|
|
64
67
|
"inspect:config:local": "bunx @modelcontextprotocol/inspector --config /var/open-source/mikrotik-mcp/mcp-inspector.config.local.json --server mikrotik",
|
|
68
|
+
"security:audit": "bun audit --audit-level=moderate",
|
|
69
|
+
"security:audit:fix": "bun audit fix",
|
|
70
|
+
"security:licenses": "license-checker --summary",
|
|
71
|
+
"security:all": "bun run security:audit && bun run security:licenses",
|
|
72
|
+
"prepublish:security": "npm run security:all",
|
|
65
73
|
"test": "vp test run",
|
|
66
74
|
"test:watch": "vp test",
|
|
67
75
|
"release": "release-it",
|
|
@@ -84,11 +92,12 @@
|
|
|
84
92
|
"zod": "^4.4.3"
|
|
85
93
|
},
|
|
86
94
|
"devDependencies": {
|
|
95
|
+
"@anthropic-ai/mcpb": "^2.1.2",
|
|
87
96
|
"@resvg/resvg-js": "^2.6.2",
|
|
88
97
|
"@tailwindcss/vite": "^4.3.2",
|
|
89
98
|
"@types/bun": "latest",
|
|
90
99
|
"@types/figlet": "^1.7.0",
|
|
91
|
-
"@types/node": "^26.1.
|
|
100
|
+
"@types/node": "^26.1.1",
|
|
92
101
|
"@types/react": "^19.2.17",
|
|
93
102
|
"@types/react-dom": "^19.2.3",
|
|
94
103
|
"@types/ssh2": "^1.15.5",
|
|
@@ -97,17 +106,21 @@
|
|
|
97
106
|
"class-variance-authority": "^0.7.1",
|
|
98
107
|
"clsx": "^2.1.1",
|
|
99
108
|
"gsap": "^3.15.0",
|
|
109
|
+
"license-checker": "^25.0.1",
|
|
110
|
+
"lucide-react": "^1.24.0",
|
|
111
|
+
"radix-ui": "^1.6.2",
|
|
100
112
|
"react": "^19.2.7",
|
|
101
113
|
"react-dom": "^19.2.7",
|
|
102
114
|
"recharts": "^3.9.2",
|
|
103
115
|
"release-it": "^20.2.1",
|
|
104
116
|
"tailwind-merge": "^3.6.0",
|
|
105
117
|
"tailwindcss": "^4.3.2",
|
|
118
|
+
"tw-animate-css": "^1.4.0",
|
|
106
119
|
"vite": "catalog:",
|
|
107
120
|
"vite-plus": "catalog:"
|
|
108
121
|
},
|
|
109
122
|
"peerDependencies": {
|
|
110
|
-
"typescript": "^
|
|
123
|
+
"typescript": "^7.0.2"
|
|
111
124
|
},
|
|
112
125
|
"overrides": {
|
|
113
126
|
"vite": "catalog:"
|
|
@@ -117,8 +130,8 @@
|
|
|
117
130
|
},
|
|
118
131
|
"packageManager": "bun@1.3.14",
|
|
119
132
|
"catalog": {
|
|
120
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.
|
|
121
|
-
"vite-plus": "0.2.
|
|
133
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
|
|
134
|
+
"vite-plus": "0.2.4"
|
|
122
135
|
},
|
|
123
136
|
"changelog": {
|
|
124
137
|
"labels": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 794,
|
|
6
6
|
"tools": [
|
|
@@ -11411,7 +11411,7 @@
|
|
|
11411
11411
|
"destructiveHint": false,
|
|
11412
11412
|
"openWorldHint": false
|
|
11413
11413
|
},
|
|
11414
|
-
"description": "Bind interfaces or network prefixes to an OSPF area (`/routing ospf interface-template add`). Match links via `interfaces` (interface or interface-list name) and/or `networks` (prefix, e.g. '10.0.0.0/24'). `type` sets the link model: broadcast (LAN), ptp (point-to-point),
|
|
11414
|
+
"description": "Bind interfaces or network prefixes to an OSPF area (`/routing ospf interface-template add`). Match links via `interfaces` (interface or interface-list name) and/or `networks` (prefix, e.g. '10.0.0.0/24'). `type` sets the link model: broadcast (LAN), ptp (point-to-point), ptmp, ptmp-broadcast, nbma, or virtual-link. `passive=true` advertises the subnet without forming OSPF adjacencies (for stub networks). `auth`/`auth_id`/`auth_key` enable per-interface authentication; `hello_interval` e.g. '10s', `dead_interval` e.g. '40s'. Requires the area to already exist (add_ospf_area). Returns the new template id (e.g. '*2') if RouterOS echoes one; use list_ospf_interface_templates to verify.",
|
|
11415
11415
|
"inputSchema": {
|
|
11416
11416
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11417
11417
|
"type": "object",
|
|
@@ -11445,8 +11445,9 @@
|
|
|
11445
11445
|
"enum": [
|
|
11446
11446
|
"broadcast",
|
|
11447
11447
|
"ptp",
|
|
11448
|
-
"nbma",
|
|
11449
11448
|
"ptmp",
|
|
11449
|
+
"ptmp-broadcast",
|
|
11450
|
+
"nbma",
|
|
11450
11451
|
"virtual-link"
|
|
11451
11452
|
]
|
|
11452
11453
|
},
|