@usex/mikrotik-mcp 3.31.1 → 3.32.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "3.31.1",
3
+ "version": "3.32.1",
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",
package/schemas/README.md CHANGED
@@ -7,7 +7,7 @@ edit by hand — regenerate instead.
7
7
  | File | Contents |
8
8
  | -------------------- | ------------------------------------------------------------------------------------------ |
9
9
  | `config.schema.json` | The runtime configuration object (env vars / CLI flags). |
10
- | `tool-catalog.json` | Every one of the 758 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
10
+ | `tool-catalog.json` | Every one of the 759 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
11
11
  | `tools/<name>.json` | The input JSON Schema for a single tool. |
12
12
 
13
13
  `risk` is derived from the MCP tool annotations:
@@ -1,9 +1,31 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "3.29.0",
3
+ "version": "3.31.1",
4
4
  "generated": "by scripts/gen-schemas.ts — do not edit by hand",
5
- "toolCount": 758,
5
+ "toolCount": 759,
6
6
  "tools": [
7
+ {
8
+ "name": "run_routeros_command",
9
+ "title": "Run a RouterOS Command (raw CLI)",
10
+ "risk": "write",
11
+ "annotations": {
12
+ "destructiveHint": false,
13
+ "openWorldHint": false
14
+ },
15
+ "description": "Execute ANY single RouterOS / MikroTik CLI command on the device and return its console output — the universal primitive to read or change anything when no dedicated tool fits, for uncommon or bulk operations, or simply when you can't quickly find the specific tool among the catalog. Pass the command EXACTLY as typed in the RouterOS terminal, e.g. `/system identity set name=Router1`, `/ip dns set servers=1.1.1.1,8.8.8.8 allow-remote-requests=yes`, `/ip address print`, `/ip firewall filter print`, `/interface print`, `/ip service print`, `/system resource print`. Works for reads (`… print`) and writes (`… set` / `add` / `remove`). Runs one command per call — call again with a `… print` to verify a change. Prefer a dedicated tool when you know its name (better validation and structured output); use this whenever discovery is the bottleneck. WARNING: the command is run as-is and is NOT validated — it can be destructive (e.g. `/system reset-configuration`, removing the management address), so review it before running. For a stored multi-command script use add_script then run_script.",
16
+ "inputSchema": {
17
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
18
+ "type": "object",
19
+ "properties": {
20
+ "command": {
21
+ "type": "string",
22
+ "description": "Full RouterOS CLI command exactly as typed, e.g. '/ip address print'"
23
+ }
24
+ },
25
+ "required": ["command"],
26
+ "additionalProperties": false
27
+ }
28
+ },
7
29
  {
8
30
  "name": "list_interfaces",
9
31
  "title": "List All Network Interfaces",
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "run_routeros_command",
4
+ "type": "object",
5
+ "properties": {
6
+ "command": {
7
+ "type": "string",
8
+ "description": "Full RouterOS CLI command exactly as typed, e.g. '/ip address print'"
9
+ }
10
+ },
11
+ "required": ["command"],
12
+ "additionalProperties": false
13
+ }