@usex/mikrotik-mcp 3.6.0 → 3.8.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.
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "test_ssh_from_device",
4
+ "type": "object",
5
+ "properties": {
6
+ "host": {
7
+ "type": "string",
8
+ "description": "Remote host the ROUTER should SSH to"
9
+ },
10
+ "port": {
11
+ "default": 22,
12
+ "type": "integer",
13
+ "minimum": 1,
14
+ "maximum": 65535
15
+ },
16
+ "user": {
17
+ "type": "string",
18
+ "description": "Username on the remote host"
19
+ },
20
+ "command": {
21
+ "default": "/system identity print",
22
+ "description": "Command to run on the remote host as the connectivity test",
23
+ "type": "string"
24
+ }
25
+ },
26
+ "required": ["host", "port", "user", "command"],
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "test_ssh_to_device",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "test_ssh_to_host",
4
+ "type": "object",
5
+ "properties": {
6
+ "host": {
7
+ "type": "string",
8
+ "description": "Target IP or hostname"
9
+ },
10
+ "port": {
11
+ "default": 22,
12
+ "type": "integer",
13
+ "minimum": 1,
14
+ "maximum": 65535
15
+ },
16
+ "username": {
17
+ "type": "string"
18
+ },
19
+ "password": {
20
+ "description": "Password auth (omit if using a key)",
21
+ "type": "string"
22
+ },
23
+ "key_path": {
24
+ "description": "Path (on the MCP host) to a private key file",
25
+ "type": "string"
26
+ },
27
+ "key_passphrase": {
28
+ "type": "string"
29
+ },
30
+ "command": {
31
+ "default": "/system identity print",
32
+ "description": "Command to run once connected (a harmless RouterOS read by default)",
33
+ "type": "string"
34
+ }
35
+ },
36
+ "required": ["host", "port", "username", "command"],
37
+ "additionalProperties": false
38
+ }