@usex/mikrotik-mcp 3.60.0 → 4.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/README.md +1 -1
- package/dist/cli.js +27 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +21 -1
- package/dist/shared/{cli-ghatyv7e.js → cli-2dtt405d.js} +84 -44
- package/dist/shared/{cli-7yjsmkwg.js → cli-kq9jry12.js} +1 -1
- package/dist/shared/{library-1hs18tmh.js → library-0d02nsc7.js} +1 -1
- package/dist/shared/{library-7j22z9a8.js → library-pqnndx9v.js} +84 -44
- package/dist/ui/aaa.html +1 -1
- package/dist/ui/connected-devices.html +1 -1
- package/dist/ui/dashboard.html +1 -1
- package/dist/ui/firewall-audit.html +1 -1
- package/dist/ui/firewall.html +1 -1
- package/dist/ui/interfaces.html +1 -1
- package/dist/ui/observability.html +47 -47
- package/dist/ui/records.html +1 -1
- package/package.json +24 -21
- package/schemas/tool-catalog.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usex/mikrotik-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
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",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"homepage": "https://mikrotik-mcp.usestrict.dev",
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/mikrotik-mcp/mikrotik-mcp/issues"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"author": {
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/mikrotik-mcp/mikrotik-mcp.git"
|
|
26
26
|
},
|
|
27
27
|
"bin": {
|
|
28
28
|
"mikrotik-mcp": "dist/cli.js"
|
|
29
29
|
},
|
|
30
|
+
"workspaces": [],
|
|
30
31
|
"files": [
|
|
31
32
|
"dist",
|
|
32
33
|
"prompts",
|
|
@@ -47,19 +48,19 @@
|
|
|
47
48
|
},
|
|
48
49
|
"scripts": {
|
|
49
50
|
"build": "bunup && chmod +x dist/cli.js && bun run build:ui",
|
|
50
|
-
"build:ui": "bun run scripts/build-ui.ts",
|
|
51
|
+
"build:ui": "bun run --bun scripts/build-ui.ts",
|
|
51
52
|
"dev": "bunup --watch",
|
|
52
|
-
"prepack": "bunup && chmod +x dist/cli.js && bun run build:ui",
|
|
53
|
-
"auth-check": "bun run src/cli.ts auth-check",
|
|
54
|
-
"gen:schemas": "bun run scripts/gen-schemas.ts",
|
|
55
|
-
"gen:docs": "bun run scripts/gen-tool-docs.ts",
|
|
56
|
-
"gen": "bun run gen:schemas && bun run gen:docs",
|
|
57
|
-
"start": "bun run src/cli.ts serve",
|
|
58
|
-
"discover": "bun run scripts/discover-macs.ts",
|
|
59
|
-
"inspect": "bunx @modelcontextprotocol/inspector bun run src/cli.ts serve",
|
|
60
|
-
"inspect:built": "bun run build && bunx @modelcontextprotocol/inspector bun dist/cli.js serve",
|
|
53
|
+
"prepack": "bunup && chmod +x dist/cli.js && bun run build:ui && bun run gen",
|
|
54
|
+
"auth-check": "bun run --bun src/cli.ts auth-check",
|
|
55
|
+
"gen:schemas": "bun run --bun scripts/gen-schemas.ts",
|
|
56
|
+
"gen:docs": "bun run --bun scripts/gen-tool-docs.ts",
|
|
57
|
+
"gen": "bun run --bun gen:schemas && bun run --bun gen:docs",
|
|
58
|
+
"start": "bun run --bun src/cli.ts serve",
|
|
59
|
+
"discover": "bun run --bun scripts/discover-macs.ts",
|
|
60
|
+
"inspect": "bunx @modelcontextprotocol/inspector bun run --bun src/cli.ts serve",
|
|
61
|
+
"inspect:built": "bun run --bun build && bunx @modelcontextprotocol/inspector bun dist/cli.js serve",
|
|
61
62
|
"inspect:config": "bunx @modelcontextprotocol/inspector --config mcp-inspector.config.json --server mikrotik",
|
|
62
|
-
"inspect:cli": "bunx @modelcontextprotocol/inspector --cli bun run src/cli.ts serve --method tools/list",
|
|
63
|
+
"inspect:cli": "bunx @modelcontextprotocol/inspector --cli bun run --bun src/cli.ts serve --method tools/list",
|
|
63
64
|
"inspect:config:local": "bunx @modelcontextprotocol/inspector --config /var/open-source/mikrotik-mcp/mcp-inspector.config.local.json --server mikrotik",
|
|
64
65
|
"test": "vp test run",
|
|
65
66
|
"test:watch": "vp test",
|
|
@@ -96,27 +97,29 @@
|
|
|
96
97
|
"class-variance-authority": "^0.7.1",
|
|
97
98
|
"clsx": "^2.1.1",
|
|
98
99
|
"gsap": "^3.15.0",
|
|
99
|
-
"prettier": "^3.9.4",
|
|
100
100
|
"react": "^19.2.7",
|
|
101
101
|
"react-dom": "^19.2.7",
|
|
102
102
|
"recharts": "^3.9.2",
|
|
103
103
|
"release-it": "^20.2.1",
|
|
104
104
|
"tailwind-merge": "^3.6.0",
|
|
105
105
|
"tailwindcss": "^4.3.2",
|
|
106
|
-
"vite": "
|
|
107
|
-
"vite-plus": "
|
|
106
|
+
"vite": "catalog:",
|
|
107
|
+
"vite-plus": "catalog:"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"typescript": "^6.0.3"
|
|
111
111
|
},
|
|
112
112
|
"overrides": {
|
|
113
|
-
"vite": "
|
|
114
|
-
"vitest": "4.1.9"
|
|
113
|
+
"vite": "catalog:"
|
|
115
114
|
},
|
|
116
115
|
"engines": {
|
|
117
116
|
"bun": ">=1.3.0"
|
|
118
117
|
},
|
|
119
118
|
"packageManager": "bun@1.3.14",
|
|
119
|
+
"catalog": {
|
|
120
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.3",
|
|
121
|
+
"vite-plus": "0.2.3"
|
|
122
|
+
},
|
|
120
123
|
"changelog": {
|
|
121
124
|
"labels": {
|
|
122
125
|
"feature": "Features",
|
|
@@ -129,6 +132,6 @@
|
|
|
129
132
|
"breaking change": "Breaking changes"
|
|
130
133
|
}
|
|
131
134
|
},
|
|
132
|
-
"logo": "https://raw.githubusercontent.com/
|
|
133
|
-
"logoIcon": "https://raw.githubusercontent.com/
|
|
135
|
+
"logo": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo.svg",
|
|
136
|
+
"logoIcon": "https://raw.githubusercontent.com/mikrotik-mcp/mikrotik-mcp/master/assets/logo-icon.svg"
|
|
134
137
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 794,
|
|
6
6
|
"tools": [
|
|
@@ -3477,7 +3477,7 @@
|
|
|
3477
3477
|
"idempotentHint": true,
|
|
3478
3478
|
"openWorldHint": false
|
|
3479
3479
|
},
|
|
3480
|
-
"description": "Resolves which nexthop RouterOS would use for a given IPv4 destination — answers \"which gateway will this packet take?\" without sending any traffic. Version-aware: uses `/ip route check` on v6, falls back to `/ip route print where dst-address
|
|
3480
|
+
"description": "Resolves which nexthop RouterOS would use for a given IPv4 destination — answers \"which gateway will this packet take?\" without sending any traffic. Version-aware: uses `/ip route check` on v6, falls back to `/ip route print where <dest> in dst-address active=yes` on v7+ where the check command was removed. Optionally scoped by `routing_table` (v7) / `routing_mark` (v6) for policy-routing table lookups. For listing all known routes use list_routes; for a named-table view use get_routing_table. Returns the resolved nexthop and interface detail.",
|
|
3481
3481
|
"inputSchema": {
|
|
3482
3482
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3483
3483
|
"type": "object",
|