@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.
- package/dist/cli.js +4108 -3407
- package/dist/index.d.ts +35 -18
- package/dist/index.js +4041 -3376
- package/dist/ui/observability.html +41 -41
- package/package.json +1 -1
- package/schemas/README.md +1 -1
- package/schemas/config.schema.json +17 -2
- package/schemas/tool-catalog.json +793 -24
- package/schemas/tools/add_container.json +93 -0
- package/schemas/tools/add_container_env.json +21 -0
- package/schemas/tools/add_container_mount.json +21 -0
- package/schemas/tools/add_disk.json +38 -0
- package/schemas/tools/disable_sstp_client.json +12 -0
- package/schemas/tools/eject_disk.json +13 -0
- package/schemas/tools/enable_sstp_client.json +12 -0
- package/schemas/tools/format_disk.json +18 -6
- package/schemas/tools/get_container.json +16 -0
- package/schemas/tools/get_container_config.json +7 -0
- package/schemas/tools/get_disk.json +3 -3
- package/schemas/tools/list_container_envs.json +12 -0
- package/schemas/tools/list_container_mounts.json +12 -0
- package/schemas/tools/list_containers.json +26 -0
- package/schemas/tools/list_disks.json +20 -1
- package/schemas/tools/remove_container.json +16 -0
- package/schemas/tools/remove_container_env.json +17 -0
- package/schemas/tools/remove_container_mount.json +13 -0
- package/schemas/tools/remove_disk.json +13 -0
- package/schemas/tools/set_container_config.json +32 -0
- package/schemas/tools/set_disk.json +31 -0
- package/schemas/tools/share_disk.json +29 -0
- package/schemas/tools/sign_certificate.json +2 -6
- package/schemas/tools/start_container.json +16 -0
- package/schemas/tools/stop_container.json +16 -0
- package/schemas/tools/update_container.json +64 -0
package/package.json
CHANGED
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
|
|
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": [
|
|
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": {
|