@usex/mikrotik-mcp 6.0.0 → 6.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 +5 -5
- package/dist/cli.js +171 -77
- package/dist/index.js +1 -1
- package/dist/shared/{library-m19hkdpp.js → library-039808cq.js} +1 -1
- package/dist/shared/{library-h50w7j79.js → library-53nrt1xj.js} +1 -1
- package/dist/shared/{library-gpedv6x6.js → library-7nnp4ntt.js} +1 -1
- package/dist/shared/{library-8mh5hjvp.js → library-ph2n6fjm.js} +1 -1
- package/dist/shared/{library-fyaw9mjm.js → library-qt6rx1ht.js} +171 -77
- package/package.json +1 -1
- package/schemas/README.md +1 -1
- package/schemas/devtools-manifest.json +24 -2
- package/schemas/tool-catalog.json +88 -25
- package/schemas/tools/get_wireless_interface.json +2 -1
- package/schemas/tools/get_wireless_interface_status.json +13 -0
- package/schemas/tools/get_wireless_security_profile.json +2 -1
- package/schemas/tools/scan_wifi_channels.json +24 -0
- package/schemas/tools/scan_wireless_networks.json +10 -4
- /package/dist/shared/{cli-hp8hfqak.js → cli-8h5ye8pv.js} +0 -0
- /package/dist/shared/{cli-ym8ckwzg.js → cli-92qtg8n3.js} +0 -0
- /package/dist/shared/{cli-s4ppty58.js → cli-ncmy3wt1.js} +0 -0
- /package/dist/shared/{cli-q0pxwaea.js → cli-y746q0cw.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
|
-
"toolCount":
|
|
5
|
+
"toolCount": 963,
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "create_client_check",
|
|
@@ -3701,7 +3701,7 @@
|
|
|
3701
3701
|
"idempotentHint": true,
|
|
3702
3702
|
"openWorldHint": false
|
|
3703
3703
|
},
|
|
3704
|
-
"description": "Lists all wireless interfaces (`/interface wifi`, `/interface wifiwave2`, `/interface wireless`, `/interface wlan`) — probes every supported command path and aggregates results. Filters by name_filter (
|
|
3704
|
+
"description": "Lists all wireless interfaces (`/interface wifi`, `/interface wifiwave2`, `/interface wireless`, `/interface wlan`) — probes every supported command path and aggregates results. Returns detail including SSID, security/authentication types and configured channel settings, with secrets redacted. Filters by name_filter (RouterOS regular expression), disabled_only, or running_only. Configured frequencies are NOT proof of the current operating channel; use get_wireless_interface_status. For full property detail on a single interface use get_wireless_interface; to see currently connected clients use get_wireless_registration_table. Falls back to `/interface print` with debugging info when no wireless interfaces match, to help identify the correct path on the device.",
|
|
3705
3705
|
"inputSchema": {
|
|
3706
3706
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3707
3707
|
"type": "object",
|
|
@@ -3731,19 +3731,43 @@
|
|
|
3731
3731
|
"idempotentHint": true,
|
|
3732
3732
|
"openWorldHint": false
|
|
3733
3733
|
},
|
|
3734
|
-
"description": "Retrieves the full detail of one named wireless interface (`<auto-detected path> print detail where name=...`), probing `/interface wifi`, `/interface wifiwave2`, `/interface wireless`, and `/interface wlan` in order. Use
|
|
3734
|
+
"description": "Retrieves the full detail of one named wireless interface (`<auto-detected path> print detail where name=...`), probing `/interface wifi`, `/interface wifiwave2`, `/interface wireless`, and `/interface wlan` in order. Use to inspect SSID, security.authentication-types (allowed WPA2/WPA3 methods), profile references, country and channel settings. On modern Wi-Fi since RouterOS 7.15 print detail includes inherited values; on older releases also read actual-configuration. Allowed authentication types do not prove which method a client negotiated; missing values do not prove an open network. For the ACTUAL operating channel use get_wireless_interface_status, not the configured frequency list. Secrets are redacted.",
|
|
3735
3735
|
"inputSchema": {
|
|
3736
3736
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3737
3737
|
"type": "object",
|
|
3738
3738
|
"properties": {
|
|
3739
3739
|
"name": {
|
|
3740
|
-
"type": "string"
|
|
3740
|
+
"type": "string",
|
|
3741
|
+
"minLength": 1
|
|
3741
3742
|
}
|
|
3742
3743
|
},
|
|
3743
3744
|
"required": ["name"],
|
|
3744
3745
|
"additionalProperties": false
|
|
3745
3746
|
}
|
|
3746
3747
|
},
|
|
3748
|
+
{
|
|
3749
|
+
"name": "get_wireless_interface_status",
|
|
3750
|
+
"title": "Get Actual Wi-Fi Channel and Runtime Status",
|
|
3751
|
+
"risk": "read",
|
|
3752
|
+
"annotations": {
|
|
3753
|
+
"readOnlyHint": true,
|
|
3754
|
+
"idempotentHint": true,
|
|
3755
|
+
"openWorldHint": false
|
|
3756
|
+
},
|
|
3757
|
+
"description": "Reads one non-disruptive runtime snapshot (`<auto-detected Wi-Fi path> monitor <interface> once`). Supports modern /interface wifi, older wifiwave2 and legacy wireless. Returns actual channel/frequency/width, state and radio statistics when reported by the driver; disabled/inactive radios may not have a current channel. Does NOT scan, disconnect clients or change settings. Pair with get_wireless_interface and get_wireless_security_profile for SSID and configured WPA2/WPA3 security; never invent unavailable runtime fields.",
|
|
3758
|
+
"inputSchema": {
|
|
3759
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3760
|
+
"type": "object",
|
|
3761
|
+
"properties": {
|
|
3762
|
+
"interface": {
|
|
3763
|
+
"type": "string",
|
|
3764
|
+
"minLength": 1
|
|
3765
|
+
}
|
|
3766
|
+
},
|
|
3767
|
+
"required": ["interface"],
|
|
3768
|
+
"additionalProperties": false
|
|
3769
|
+
}
|
|
3770
|
+
},
|
|
3747
3771
|
{
|
|
3748
3772
|
"name": "remove_wireless_interface",
|
|
3749
3773
|
"title": "Remove Wireless Interface",
|
|
@@ -3813,28 +3837,66 @@
|
|
|
3813
3837
|
{
|
|
3814
3838
|
"name": "scan_wireless_networks",
|
|
3815
3839
|
"title": "Scan for Nearby Wireless Networks",
|
|
3816
|
-
"risk": "
|
|
3840
|
+
"risk": "write",
|
|
3817
3841
|
"annotations": {
|
|
3818
|
-
"
|
|
3819
|
-
"idempotentHint": true,
|
|
3842
|
+
"destructiveHint": false,
|
|
3820
3843
|
"openWorldHint": false
|
|
3821
3844
|
},
|
|
3822
|
-
"description": "Scans for visible nearby wireless networks/SSIDs/APs in range (`<auto-detected path> scan <interface> duration=<n>`). Use to discover external networks — not to list connected clients. For currently associated client stations use get_wireless_registration_table instead. `interface` is the local wireless interface name to scan from (e.g. `wlan1`); `duration` is scan time in seconds (default 5). Returns raw scan output from the device.",
|
|
3845
|
+
"description": "Scans for visible nearby wireless networks/SSIDs/APs in range (`<auto-detected path> scan <interface> duration=<n>`). DISRUPTIVE: scanning can temporarily disconnect clients. Requires explicit user approval (confirm=true). Use to discover external networks — not to list connected clients or read the actual channel without disruption. For non-disruptive current-channel evidence use get_wireless_interface_status; for modern RF channel load use scan_wifi_channels. For currently associated client stations use get_wireless_registration_table instead. `interface` is the local wireless interface name to scan from (e.g. `wlan1`); `duration` is scan time in seconds (default 5). Returns raw scan output from the device.",
|
|
3823
3846
|
"inputSchema": {
|
|
3824
3847
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3825
3848
|
"type": "object",
|
|
3826
3849
|
"properties": {
|
|
3827
3850
|
"interface": {
|
|
3828
|
-
"type": "string"
|
|
3851
|
+
"type": "string",
|
|
3852
|
+
"minLength": 1
|
|
3829
3853
|
},
|
|
3830
3854
|
"duration": {
|
|
3831
3855
|
"default": 5,
|
|
3832
3856
|
"type": "integer",
|
|
3833
|
-
"minimum":
|
|
3834
|
-
"maximum":
|
|
3857
|
+
"minimum": 1,
|
|
3858
|
+
"maximum": 30
|
|
3859
|
+
},
|
|
3860
|
+
"confirm": {
|
|
3861
|
+
"default": false,
|
|
3862
|
+
"description": "Explicit user approval for a scan that can disconnect Wi-Fi clients.",
|
|
3863
|
+
"type": "boolean"
|
|
3835
3864
|
}
|
|
3836
3865
|
},
|
|
3837
|
-
"required": ["interface", "duration"],
|
|
3866
|
+
"required": ["interface", "duration", "confirm"],
|
|
3867
|
+
"additionalProperties": false
|
|
3868
|
+
}
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"name": "scan_wifi_channels",
|
|
3872
|
+
"title": "Survey Modern Wi-Fi Channel Load (Disruptive)",
|
|
3873
|
+
"risk": "write",
|
|
3874
|
+
"annotations": {
|
|
3875
|
+
"destructiveHint": false,
|
|
3876
|
+
"openWorldHint": false
|
|
3877
|
+
},
|
|
3878
|
+
"description": "Runs a bounded /interface wifi (or wifiwave2) frequency-scan to measure channel load, networks, noise floor and signal levels. Modern Wi-Fi equivalent of a legacy frequency survey, NOT /interface wireless frequency-monitor. DISCONNECTS associated clients/station during the scan; obtain explicit user approval and set confirm=true. Never use during a strictly read-only/non-disruptive audit; get_wireless_interface_status reads the current channel safely. Does not auto-tune or modify configuration; frequency-scan availability depends on RouterOS/driver.",
|
|
3879
|
+
"inputSchema": {
|
|
3880
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3881
|
+
"type": "object",
|
|
3882
|
+
"properties": {
|
|
3883
|
+
"interface": {
|
|
3884
|
+
"type": "string",
|
|
3885
|
+
"minLength": 1
|
|
3886
|
+
},
|
|
3887
|
+
"duration": {
|
|
3888
|
+
"default": 5,
|
|
3889
|
+
"type": "integer",
|
|
3890
|
+
"minimum": 1,
|
|
3891
|
+
"maximum": 30
|
|
3892
|
+
},
|
|
3893
|
+
"confirm": {
|
|
3894
|
+
"default": false,
|
|
3895
|
+
"description": "Explicit user approval to temporarily disconnect Wi-Fi clients.",
|
|
3896
|
+
"type": "boolean"
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
"required": ["interface", "duration", "confirm"],
|
|
3838
3900
|
"additionalProperties": false
|
|
3839
3901
|
}
|
|
3840
3902
|
},
|
|
@@ -3878,13 +3940,13 @@
|
|
|
3878
3940
|
},
|
|
3879
3941
|
{
|
|
3880
3942
|
"name": "create_wireless_security_profile",
|
|
3881
|
-
"title": "Create Wireless Security Profile (
|
|
3943
|
+
"title": "Create Wireless Security Profile (Not Implemented)",
|
|
3882
3944
|
"risk": "write",
|
|
3883
3945
|
"annotations": {
|
|
3884
3946
|
"destructiveHint": false,
|
|
3885
3947
|
"openWorldHint": false
|
|
3886
3948
|
},
|
|
3887
|
-
"description": "
|
|
3949
|
+
"description": "Not implemented: creating modern wifi/wifiwave2 security or legacy wireless security-profiles presets. For read-only security inspection use list_wireless_security_profiles, get_wireless_security_profile and get_wireless_interface.",
|
|
3888
3950
|
"inputSchema": {
|
|
3889
3951
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3890
3952
|
"type": "object",
|
|
@@ -3899,14 +3961,14 @@
|
|
|
3899
3961
|
},
|
|
3900
3962
|
{
|
|
3901
3963
|
"name": "list_wireless_security_profiles",
|
|
3902
|
-
"title": "List
|
|
3964
|
+
"title": "List Wi-Fi Security Profiles (Modern and Legacy)",
|
|
3903
3965
|
"risk": "read",
|
|
3904
3966
|
"annotations": {
|
|
3905
3967
|
"readOnlyHint": true,
|
|
3906
3968
|
"idempotentHint": true,
|
|
3907
3969
|
"openWorldHint": false
|
|
3908
3970
|
},
|
|
3909
|
-
"description": "
|
|
3971
|
+
"description": "Reads modern /interface wifi security (or wifiwave2 security) and legacy /interface wireless security-profiles, auto-detected. Returns authentication-types (allowed WPA2/WPA3 methods), ciphers, management protection, WPS and EAP settings where available. Passwords, passphrases and pre-shared keys are redacted. Profiles are presets, not proof of effective interface settings; pair with get_wireless_interface to see assigned profiles and overrides. Does not modify the router.",
|
|
3910
3972
|
"inputSchema": {
|
|
3911
3973
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3912
3974
|
"type": "object",
|
|
@@ -3916,20 +3978,21 @@
|
|
|
3916
3978
|
},
|
|
3917
3979
|
{
|
|
3918
3980
|
"name": "get_wireless_security_profile",
|
|
3919
|
-
"title": "Get
|
|
3981
|
+
"title": "Get Wi-Fi Security Profile (Modern and Legacy)",
|
|
3920
3982
|
"risk": "read",
|
|
3921
3983
|
"annotations": {
|
|
3922
3984
|
"readOnlyHint": true,
|
|
3923
3985
|
"idempotentHint": true,
|
|
3924
3986
|
"openWorldHint": false
|
|
3925
3987
|
},
|
|
3926
|
-
"description": "
|
|
3988
|
+
"description": "Reads one named modern wifi/wifiwave2 security profile or legacy wireless security-profiles entry. Shows configured WPA2/WPA3 authentication methods, encryption, WPS and management protection where available; secrets are redacted. Use the profile name returned by list_wireless_security_profiles or get_wireless_interface. An interface override takes precedence over a profile; missing authentication fields do not prove an open network.",
|
|
3927
3989
|
"inputSchema": {
|
|
3928
3990
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3929
3991
|
"type": "object",
|
|
3930
3992
|
"properties": {
|
|
3931
3993
|
"name": {
|
|
3932
|
-
"type": "string"
|
|
3994
|
+
"type": "string",
|
|
3995
|
+
"minLength": 1
|
|
3933
3996
|
}
|
|
3934
3997
|
},
|
|
3935
3998
|
"required": ["name"],
|
|
@@ -3938,14 +4001,14 @@
|
|
|
3938
4001
|
},
|
|
3939
4002
|
{
|
|
3940
4003
|
"name": "remove_wireless_security_profile",
|
|
3941
|
-
"title": "Remove Wireless Security Profile (
|
|
4004
|
+
"title": "Remove Wireless Security Profile (Not Implemented)",
|
|
3942
4005
|
"risk": "destructive",
|
|
3943
4006
|
"annotations": {
|
|
3944
4007
|
"destructiveHint": true,
|
|
3945
4008
|
"idempotentHint": true,
|
|
3946
4009
|
"openWorldHint": false
|
|
3947
4010
|
},
|
|
3948
|
-
"description": "
|
|
4011
|
+
"description": "Not implemented: deleting modern wifi/wifiwave2 security or legacy wireless security-profiles presets. Use list_wireless_security_profiles or get_wireless_security_profile for read-only inspection.",
|
|
3949
4012
|
"inputSchema": {
|
|
3950
4013
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3951
4014
|
"type": "object",
|
|
@@ -3960,13 +4023,13 @@
|
|
|
3960
4023
|
},
|
|
3961
4024
|
{
|
|
3962
4025
|
"name": "set_wireless_security_profile",
|
|
3963
|
-
"title": "Assign Security Profile to Wireless Interface (
|
|
4026
|
+
"title": "Assign Security Profile to Wireless Interface (Not Implemented)",
|
|
3964
4027
|
"risk": "write",
|
|
3965
4028
|
"annotations": {
|
|
3966
4029
|
"destructiveHint": false,
|
|
3967
4030
|
"openWorldHint": false
|
|
3968
4031
|
},
|
|
3969
|
-
"description": "
|
|
4032
|
+
"description": "Not implemented: assigning a modern wifi/wifiwave2 security profile. For legacy wireless only, update_wireless_interface supports security_profile. Use get_wireless_interface and get_wireless_security_profile to inspect settings without changes.",
|
|
3970
4033
|
"inputSchema": {
|
|
3971
4034
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3972
4035
|
"type": "object",
|
|
@@ -4194,7 +4257,7 @@
|
|
|
4194
4257
|
"destructiveHint": false,
|
|
4195
4258
|
"openWorldHint": false
|
|
4196
4259
|
},
|
|
4197
|
-
"description": "Runs an RF survey on a wireless radio (`/interface wireless frequency-monitor`, blocking for `duration`), finds the least-congested channel, and reports a before/after. DEFAULTS TO A DRY RUN (`apply=false`) — it surveys and recommends; set `apply=true` to set the radio to the best frequency (`/interface wireless set`). Targets the LEGACY wireless stack; for wifiwave2
|
|
4260
|
+
"description": "Runs an RF survey on a wireless radio (`/interface wireless frequency-monitor`, blocking for `duration`), finds the least-congested channel, and reports a before/after. DEFAULTS TO A DRY RUN (`apply=false`) — it surveys and recommends; set `apply=true` to set the radio to the best frequency (`/interface wireless set`). Targets ONLY the LEGACY wireless stack, including legacy drivers on v7; for modern wifi/wifiwave2 use get_wireless_interface_status for a non-disruptive current-channel read or scan_wifi_channels for an explicitly approved, disruptive channel-load survey (no auto-tuning). Returns the per-channel usage finding and the chosen frequency.",
|
|
4198
4261
|
"inputSchema": {
|
|
4199
4262
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4200
4263
|
"type": "object",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "get_wireless_interface_status",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"interface": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": ["interface"],
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "scan_wifi_channels",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"interface": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
},
|
|
10
|
+
"duration": {
|
|
11
|
+
"default": 5,
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 1,
|
|
14
|
+
"maximum": 30
|
|
15
|
+
},
|
|
16
|
+
"confirm": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"description": "Explicit user approval to temporarily disconnect Wi-Fi clients.",
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["interface", "duration", "confirm"],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
@@ -4,15 +4,21 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"interface": {
|
|
7
|
-
"type": "string"
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
8
9
|
},
|
|
9
10
|
"duration": {
|
|
10
11
|
"default": 5,
|
|
11
12
|
"type": "integer",
|
|
12
|
-
"minimum":
|
|
13
|
-
"maximum":
|
|
13
|
+
"minimum": 1,
|
|
14
|
+
"maximum": 30
|
|
15
|
+
},
|
|
16
|
+
"confirm": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"description": "Explicit user approval for a scan that can disconnect Wi-Fi clients.",
|
|
19
|
+
"type": "boolean"
|
|
14
20
|
}
|
|
15
21
|
},
|
|
16
|
-
"required": ["interface", "duration"],
|
|
22
|
+
"required": ["interface", "duration", "confirm"],
|
|
17
23
|
"additionalProperties": false
|
|
18
24
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|