@usex/mikrotik-mcp 3.26.0 → 3.28.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.
Files changed (34) hide show
  1. package/dist/cli.js +4108 -3407
  2. package/dist/index.d.ts +35 -18
  3. package/dist/index.js +4041 -3376
  4. package/dist/ui/observability.html +41 -41
  5. package/package.json +1 -1
  6. package/schemas/README.md +1 -1
  7. package/schemas/config.schema.json +17 -2
  8. package/schemas/tool-catalog.json +793 -24
  9. package/schemas/tools/add_container.json +93 -0
  10. package/schemas/tools/add_container_env.json +21 -0
  11. package/schemas/tools/add_container_mount.json +21 -0
  12. package/schemas/tools/add_disk.json +38 -0
  13. package/schemas/tools/disable_sstp_client.json +12 -0
  14. package/schemas/tools/eject_disk.json +13 -0
  15. package/schemas/tools/enable_sstp_client.json +12 -0
  16. package/schemas/tools/format_disk.json +18 -6
  17. package/schemas/tools/get_container.json +16 -0
  18. package/schemas/tools/get_container_config.json +7 -0
  19. package/schemas/tools/get_disk.json +3 -3
  20. package/schemas/tools/list_container_envs.json +12 -0
  21. package/schemas/tools/list_container_mounts.json +12 -0
  22. package/schemas/tools/list_containers.json +26 -0
  23. package/schemas/tools/list_disks.json +20 -1
  24. package/schemas/tools/remove_container.json +16 -0
  25. package/schemas/tools/remove_container_env.json +17 -0
  26. package/schemas/tools/remove_container_mount.json +13 -0
  27. package/schemas/tools/remove_disk.json +13 -0
  28. package/schemas/tools/set_container_config.json +32 -0
  29. package/schemas/tools/set_disk.json +31 -0
  30. package/schemas/tools/share_disk.json +29 -0
  31. package/schemas/tools/sign_certificate.json +2 -6
  32. package/schemas/tools/start_container.json +16 -0
  33. package/schemas/tools/stop_container.json +16 -0
  34. package/schemas/tools/update_container.json +64 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "3.26.0",
3
+ "version": "3.28.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",
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 736 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
10
+ | `tool-catalog.json` | Every one of the 758 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:
@@ -86,7 +86,8 @@
86
86
  "port": 8000,
87
87
  "allowedHosts": "",
88
88
  "allowedOrigins": "",
89
- "corsOrigins": ""
89
+ "corsOrigins": "",
90
+ "toolPageSize": 0
90
91
  },
91
92
  "type": "object",
92
93
  "properties": {
@@ -116,9 +117,23 @@
116
117
  "corsOrigins": {
117
118
  "default": "",
118
119
  "type": "string"
120
+ },
121
+ "toolPageSize": {
122
+ "default": 0,
123
+ "type": "integer",
124
+ "minimum": 0,
125
+ "maximum": 9007199254740991
119
126
  }
120
127
  },
121
- "required": ["transport", "host", "port", "allowedHosts", "allowedOrigins", "corsOrigins"],
128
+ "required": [
129
+ "transport",
130
+ "host",
131
+ "port",
132
+ "allowedHosts",
133
+ "allowedOrigins",
134
+ "corsOrigins",
135
+ "toolPageSize"
136
+ ],
122
137
  "additionalProperties": false
123
138
  },
124
139
  "s3": {