@usex/mikrotik-mcp 4.21.0 → 4.23.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 (630) hide show
  1. package/dist/cli.js +200 -37
  2. package/dist/index.js +13 -2
  3. package/dist/shared/{cli-g27x73vg.js → cli-p673815b.js} +1 -1
  4. package/dist/shared/{cli-4tycy2mf.js → cli-tssmr7sb.js} +3 -3
  5. package/dist/shared/{library-v21pwa2g.js → library-2144zr9f.js} +2 -2
  6. package/dist/shared/{library-w7gzvedz.js → library-8f4pbp0x.js} +1 -1
  7. package/dist/ui/observability.html +2 -2
  8. package/package.json +6 -5
  9. package/prompts/setup-eoip-tunnel-between-sites.md +4 -0
  10. package/prompts/setup-gre-tunnel-between-sites.md +4 -0
  11. package/prompts/setup-ipip-tunnel-between-sites.md +4 -0
  12. package/prompts/setup-ipsec-site-to-site.md +4 -0
  13. package/prompts/setup-l2tp-ipsec-roadwarrior.md +4 -0
  14. package/prompts/setup-openvpn-tunnel-between-sites.md +4 -0
  15. package/prompts/setup-sstp-tunnel-between-sites.md +4 -0
  16. package/prompts/setup-tunnel-between-sites.md +4 -0
  17. package/prompts/setup-v2ray-container-proxy.md +4 -0
  18. package/prompts/setup-vxlan-tunnel-between-sites.md +4 -0
  19. package/prompts/setup-wireguard-tunnel-between-sites.md +4 -0
  20. package/prompts/setup-wireguard-vpn.md +4 -0
  21. package/schemas/README.md +5 -5
  22. package/schemas/config.schema.json +7 -36
  23. package/schemas/tool-catalog.json +747 -2974
  24. package/schemas/tools/aaa_mutate.json +2 -10
  25. package/schemas/tools/add_address_list_entry.json +1 -5
  26. package/schemas/tools/add_bfd_configuration.json +1 -4
  27. package/schemas/tools/add_bgp_connection.json +1 -5
  28. package/schemas/tools/add_bgp_template.json +1 -4
  29. package/schemas/tools/add_blackhole_route.json +1 -4
  30. package/schemas/tools/add_bridge_port.json +6 -31
  31. package/schemas/tools/add_bridge_vlan.json +1 -4
  32. package/schemas/tools/add_container_env.json +1 -5
  33. package/schemas/tools/add_container_mount.json +1 -5
  34. package/schemas/tools/add_default_route.json +1 -5
  35. package/schemas/tools/add_dhcp_client.json +1 -7
  36. package/schemas/tools/add_disk.json +1 -3
  37. package/schemas/tools/add_dns_regexp.json +1 -6
  38. package/schemas/tools/add_dns_static.json +1 -4
  39. package/schemas/tools/add_dot1x_client.json +1 -5
  40. package/schemas/tools/add_dot1x_server.json +3 -13
  41. package/schemas/tools/add_firewall_default_deny.json +1 -4
  42. package/schemas/tools/add_graphing_interface.json +1 -3
  43. package/schemas/tools/add_graphing_queue.json +1 -3
  44. package/schemas/tools/add_igmp_proxy_interface.json +1 -5
  45. package/schemas/tools/add_ip_address.json +1 -6
  46. package/schemas/tools/add_ipv6_address.json +1 -6
  47. package/schemas/tools/add_ipv6_address_list_entry.json +1 -5
  48. package/schemas/tools/add_ipv6_default_route.json +1 -4
  49. package/schemas/tools/add_ipv6_dhcp_binding.json +1 -4
  50. package/schemas/tools/add_ipv6_dhcp_client.json +3 -15
  51. package/schemas/tools/add_ipv6_dhcp_option.json +1 -5
  52. package/schemas/tools/add_ipv6_dhcp_relay.json +1 -6
  53. package/schemas/tools/add_ipv6_nd.json +2 -9
  54. package/schemas/tools/add_ipv6_nd_prefix.json +1 -4
  55. package/schemas/tools/add_ipv6_route.json +2 -10
  56. package/schemas/tools/add_logging_action.json +2 -12
  57. package/schemas/tools/add_logging_rule.json +1 -4
  58. package/schemas/tools/add_netwatch.json +2 -10
  59. package/schemas/tools/add_ospf_area.json +2 -11
  60. package/schemas/tools/add_ospf_area_range.json +1 -5
  61. package/schemas/tools/add_ospf_instance.json +1 -5
  62. package/schemas/tools/add_ospf_interface_template.json +3 -20
  63. package/schemas/tools/add_ovpn_server.json +4 -17
  64. package/schemas/tools/add_pimsm_instance.json +2 -9
  65. package/schemas/tools/add_pimsm_interface_template.json +1 -5
  66. package/schemas/tools/add_pimsm_rp.json +1 -5
  67. package/schemas/tools/add_radius_server.json +1 -4
  68. package/schemas/tools/add_rip_instance.json +1 -4
  69. package/schemas/tools/add_rip_interface_template.json +1 -5
  70. package/schemas/tools/add_rip_static_neighbor.json +1 -4
  71. package/schemas/tools/add_romon_port.json +1 -4
  72. package/schemas/tools/add_route.json +1 -5
  73. package/schemas/tools/add_routing_filter_num_list.json +1 -4
  74. package/schemas/tools/add_routing_filter_rule.json +1 -5
  75. package/schemas/tools/add_routing_id.json +1 -4
  76. package/schemas/tools/add_routing_rule.json +2 -10
  77. package/schemas/tools/add_routing_table.json +1 -5
  78. package/schemas/tools/add_rpki_session.json +1 -6
  79. package/schemas/tools/add_script.json +1 -5
  80. package/schemas/tools/add_switch_port_isolation.json +1 -4
  81. package/schemas/tools/add_switch_rule.json +2 -10
  82. package/schemas/tools/add_traffic_generator_port.json +1 -5
  83. package/schemas/tools/add_traffic_generator_stream.json +1 -5
  84. package/schemas/tools/add_traffic_monitor.json +3 -17
  85. package/schemas/tools/add_user.json +1 -6
  86. package/schemas/tools/add_user_group.json +1 -4
  87. package/schemas/tools/add_user_manager_limitation.json +1 -3
  88. package/schemas/tools/add_user_manager_profile.json +2 -7
  89. package/schemas/tools/add_user_manager_router.json +1 -6
  90. package/schemas/tools/add_user_manager_user.json +1 -5
  91. package/schemas/tools/add_wireguard_peer.json +1 -6
  92. package/schemas/tools/allow_device.json +1 -3
  93. package/schemas/tools/apply_capsman_fixes.json +1 -3
  94. package/schemas/tools/apply_plan.json +1 -3
  95. package/schemas/tools/apply_security_hardening_fixes.json +1 -4
  96. package/schemas/tools/apply_traffic_shaping.json +2 -10
  97. package/schemas/tools/assign_user_manager_profile.json +1 -4
  98. package/schemas/tools/audit_certificate_expiry.json +1 -3
  99. package/schemas/tools/audit_fleet.json +2 -9
  100. package/schemas/tools/audit_remediate.json +2 -9
  101. package/schemas/tools/backup_info.json +1 -3
  102. package/schemas/tools/bandwidth_test.json +3 -15
  103. package/schemas/tools/block_device.json +1 -3
  104. package/schemas/tools/bootstrap_ipv6_firewall_baseline.json +1 -4
  105. package/schemas/tools/build_guest_hotspot.json +1 -7
  106. package/schemas/tools/build_wireguard_mesh.json +1 -4
  107. package/schemas/tools/capture_config_snapshot.json +1 -5
  108. package/schemas/tools/change_password.json +1 -4
  109. package/schemas/tools/check_route_path.json +1 -3
  110. package/schemas/tools/config_check_drift.json +1 -5
  111. package/schemas/tools/config_reconcile.json +1 -3
  112. package/schemas/tools/config_set_baseline.json +1 -4
  113. package/schemas/tools/correlate_events.json +1 -4
  114. package/schemas/tools/create_backup.json +1 -4
  115. package/schemas/tools/create_bridge.json +5 -28
  116. package/schemas/tools/create_certificate.json +1 -6
  117. package/schemas/tools/create_dhcp_network.json +1 -4
  118. package/schemas/tools/create_dhcp_pool.json +1 -4
  119. package/schemas/tools/create_dhcp_server.json +4 -22
  120. package/schemas/tools/create_eoip_tunnel.json +3 -17
  121. package/schemas/tools/create_export.json +3 -17
  122. package/schemas/tools/create_filter_rule.json +1 -6
  123. package/schemas/tools/create_gre_tunnel.json +2 -9
  124. package/schemas/tools/create_ip_pool.json +1 -4
  125. package/schemas/tools/create_ipip_tunnel.json +2 -9
  126. package/schemas/tools/create_ipsec_identity.json +4 -21
  127. package/schemas/tools/create_ipsec_peer.json +2 -10
  128. package/schemas/tools/create_ipsec_policy.json +3 -15
  129. package/schemas/tools/create_ipsec_profile.json +1 -5
  130. package/schemas/tools/create_ipsec_proposal.json +1 -7
  131. package/schemas/tools/create_ipv6_dhcp_server.json +1 -7
  132. package/schemas/tools/create_ipv6_filter_rule.json +2 -11
  133. package/schemas/tools/create_ipv6_mangle_rule.json +2 -13
  134. package/schemas/tools/create_ipv6_nat_rule.json +2 -10
  135. package/schemas/tools/create_ipv6_pool.json +1 -5
  136. package/schemas/tools/create_ipv6_raw_rule.json +3 -19
  137. package/schemas/tools/create_l2tp_client.json +2 -12
  138. package/schemas/tools/create_local_backup.json +1 -6
  139. package/schemas/tools/create_mangle_rule.json +2 -13
  140. package/schemas/tools/create_nat_rule.json +2 -10
  141. package/schemas/tools/create_ovpn_client.json +4 -18
  142. package/schemas/tools/create_ppp_profile.json +6 -30
  143. package/schemas/tools/create_ppp_secret.json +2 -14
  144. package/schemas/tools/create_pptp_client.json +1 -7
  145. package/schemas/tools/create_queue_tree.json +1 -5
  146. package/schemas/tools/create_queue_type.json +5 -28
  147. package/schemas/tools/create_scheduler.json +1 -5
  148. package/schemas/tools/create_simple_queue.json +1 -5
  149. package/schemas/tools/create_sstp_client.json +2 -11
  150. package/schemas/tools/create_vlan_interface.json +3 -19
  151. package/schemas/tools/create_vxlan_tunnel.json +3 -17
  152. package/schemas/tools/create_wireguard_interface.json +1 -4
  153. package/schemas/tools/create_wireless_interface.json +6 -37
  154. package/schemas/tools/create_wireless_security_profile.json +1 -3
  155. package/schemas/tools/delete_local_backup.json +1 -3
  156. package/schemas/tools/delete_s3_backup.json +1 -3
  157. package/schemas/tools/describe_tool.json +1 -3
  158. package/schemas/tools/design_network_segment.json +1 -10
  159. package/schemas/tools/diagnose.json +1 -3
  160. package/schemas/tools/diff_config_snapshots.json +1 -6
  161. package/schemas/tools/disable_address_list_entry.json +1 -3
  162. package/schemas/tools/disable_dns_static.json +1 -3
  163. package/schemas/tools/disable_filter_rule.json +1 -3
  164. package/schemas/tools/disable_interface.json +1 -3
  165. package/schemas/tools/disable_ip_service.json +1 -3
  166. package/schemas/tools/disable_ipv6_address_list_entry.json +1 -3
  167. package/schemas/tools/disable_ipv6_dhcp_relay.json +1 -3
  168. package/schemas/tools/disable_ipv6_filter_rule.json +1 -3
  169. package/schemas/tools/disable_ipv6_mangle_rule.json +1 -3
  170. package/schemas/tools/disable_ipv6_nat_rule.json +1 -3
  171. package/schemas/tools/disable_ipv6_raw_rule.json +1 -3
  172. package/schemas/tools/disable_ipv6_route.json +1 -3
  173. package/schemas/tools/disable_l2tp_client.json +1 -3
  174. package/schemas/tools/disable_mangle_rule.json +1 -3
  175. package/schemas/tools/disable_nat_rule.json +1 -3
  176. package/schemas/tools/disable_ovpn_client.json +1 -3
  177. package/schemas/tools/disable_ovpn_server.json +1 -3
  178. package/schemas/tools/disable_queue_tree.json +1 -3
  179. package/schemas/tools/disable_radius_server.json +1 -3
  180. package/schemas/tools/disable_route.json +1 -3
  181. package/schemas/tools/disable_scheduler.json +1 -3
  182. package/schemas/tools/disable_simple_queue.json +1 -3
  183. package/schemas/tools/disable_sstp_client.json +1 -3
  184. package/schemas/tools/disable_switch_rule.json +1 -3
  185. package/schemas/tools/disable_traffic_monitor.json +1 -3
  186. package/schemas/tools/disable_user.json +1 -3
  187. package/schemas/tools/disable_wireguard_interface.json +1 -3
  188. package/schemas/tools/disable_wireguard_peer.json +1 -3
  189. package/schemas/tools/disable_wireless_interface.json +1 -3
  190. package/schemas/tools/disconnect_ppp_active.json +1 -3
  191. package/schemas/tools/disconnect_user.json +1 -3
  192. package/schemas/tools/download_backup_from_s3.json +1 -3
  193. package/schemas/tools/download_file.json +1 -3
  194. package/schemas/tools/eject_disk.json +1 -3
  195. package/schemas/tools/enable_address_list_entry.json +1 -3
  196. package/schemas/tools/enable_dns_static.json +1 -3
  197. package/schemas/tools/enable_filter_rule.json +1 -3
  198. package/schemas/tools/enable_interface.json +1 -3
  199. package/schemas/tools/enable_ip_service.json +1 -3
  200. package/schemas/tools/enable_ipv6_address_list_entry.json +1 -3
  201. package/schemas/tools/enable_ipv6_dhcp_relay.json +1 -3
  202. package/schemas/tools/enable_ipv6_filter_rule.json +1 -3
  203. package/schemas/tools/enable_ipv6_mangle_rule.json +1 -3
  204. package/schemas/tools/enable_ipv6_nat_rule.json +1 -3
  205. package/schemas/tools/enable_ipv6_raw_rule.json +1 -3
  206. package/schemas/tools/enable_ipv6_route.json +1 -3
  207. package/schemas/tools/enable_l2tp_client.json +1 -3
  208. package/schemas/tools/enable_mangle_rule.json +1 -3
  209. package/schemas/tools/enable_nat_rule.json +1 -3
  210. package/schemas/tools/enable_ovpn_client.json +1 -3
  211. package/schemas/tools/enable_ovpn_server.json +1 -3
  212. package/schemas/tools/enable_queue_tree.json +1 -3
  213. package/schemas/tools/enable_radius_server.json +1 -3
  214. package/schemas/tools/enable_route.json +1 -3
  215. package/schemas/tools/enable_scheduler.json +1 -3
  216. package/schemas/tools/enable_simple_queue.json +1 -3
  217. package/schemas/tools/enable_sstp_client.json +1 -3
  218. package/schemas/tools/enable_switch_rule.json +1 -3
  219. package/schemas/tools/enable_traffic_monitor.json +1 -3
  220. package/schemas/tools/enable_user.json +1 -3
  221. package/schemas/tools/enable_wireguard_interface.json +1 -3
  222. package/schemas/tools/enable_wireguard_peer.json +1 -3
  223. package/schemas/tools/enable_wireless_interface.json +1 -3
  224. package/schemas/tools/enforce_address_list_blocking.json +1 -4
  225. package/schemas/tools/expand_ip_pool.json +1 -4
  226. package/schemas/tools/export_logs.json +2 -7
  227. package/schemas/tools/export_section.json +1 -5
  228. package/schemas/tools/export_ssh_host_key.json +1 -3
  229. package/schemas/tools/find_tools.json +1 -3
  230. package/schemas/tools/firewall_audit.json +1 -4
  231. package/schemas/tools/firmware_check.json +2 -8
  232. package/schemas/tools/firmware_stage.json +1 -5
  233. package/schemas/tools/firmware_status.json +1 -3
  234. package/schemas/tools/firmware_upgrade.json +1 -5
  235. package/schemas/tools/fix_certificate_crl_policy.json +1 -4
  236. package/schemas/tools/fix_password_policy.json +1 -4
  237. package/schemas/tools/flood_ping.json +1 -4
  238. package/schemas/tools/forecast_link_saturation.json +1 -5
  239. package/schemas/tools/format_disk.json +2 -10
  240. package/schemas/tools/forward_port.json +2 -10
  241. package/schemas/tools/generate_hotspot_vouchers.json +1 -5
  242. package/schemas/tools/get_aaa_section.json +1 -3
  243. package/schemas/tools/get_address_list_entry.json +1 -3
  244. package/schemas/tools/get_bgp_connection.json +1 -3
  245. package/schemas/tools/get_bridge.json +1 -3
  246. package/schemas/tools/get_certificate.json +1 -3
  247. package/schemas/tools/get_config_snapshot.json +1 -4
  248. package/schemas/tools/get_device_traffic.json +1 -3
  249. package/schemas/tools/get_dhcp_client.json +1 -3
  250. package/schemas/tools/get_dhcp_server.json +1 -3
  251. package/schemas/tools/get_disk.json +1 -3
  252. package/schemas/tools/get_dns_static.json +1 -3
  253. package/schemas/tools/get_dot1x_client.json +1 -3
  254. package/schemas/tools/get_dot1x_server.json +1 -3
  255. package/schemas/tools/get_eoip_tunnel.json +1 -3
  256. package/schemas/tools/get_filter_rule.json +1 -3
  257. package/schemas/tools/get_gre_tunnel.json +1 -3
  258. package/schemas/tools/get_interface.json +1 -3
  259. package/schemas/tools/get_ip_address.json +1 -3
  260. package/schemas/tools/get_ip_pool.json +1 -3
  261. package/schemas/tools/get_ip_service.json +1 -3
  262. package/schemas/tools/get_ipip_tunnel.json +1 -3
  263. package/schemas/tools/get_ipsec_peer.json +1 -3
  264. package/schemas/tools/get_ipsec_profile.json +1 -3
  265. package/schemas/tools/get_ipsec_proposal.json +1 -3
  266. package/schemas/tools/get_ipv6_address.json +1 -3
  267. package/schemas/tools/get_ipv6_address_list_entry.json +1 -3
  268. package/schemas/tools/get_ipv6_dhcp_client.json +1 -3
  269. package/schemas/tools/get_ipv6_dhcp_relay.json +1 -3
  270. package/schemas/tools/get_ipv6_dhcp_server.json +1 -3
  271. package/schemas/tools/get_ipv6_filter_rule.json +1 -3
  272. package/schemas/tools/get_ipv6_mangle_rule.json +1 -3
  273. package/schemas/tools/get_ipv6_nat_rule.json +1 -3
  274. package/schemas/tools/get_ipv6_nd.json +1 -3
  275. package/schemas/tools/get_ipv6_neighbor.json +1 -3
  276. package/schemas/tools/get_ipv6_pool.json +1 -3
  277. package/schemas/tools/get_ipv6_raw_rule.json +1 -3
  278. package/schemas/tools/get_ipv6_route.json +1 -3
  279. package/schemas/tools/get_l2tp_client.json +1 -3
  280. package/schemas/tools/get_local_backup.json +1 -3
  281. package/schemas/tools/get_logs.json +2 -9
  282. package/schemas/tools/get_logs_by_severity.json +2 -10
  283. package/schemas/tools/get_logs_by_topic.json +1 -3
  284. package/schemas/tools/get_mangle_rule.json +1 -3
  285. package/schemas/tools/get_nat_rule.json +1 -3
  286. package/schemas/tools/get_netwatch.json +1 -3
  287. package/schemas/tools/get_ovpn_client.json +1 -3
  288. package/schemas/tools/get_poe_monitor.json +1 -3
  289. package/schemas/tools/get_poe_settings.json +1 -3
  290. package/schemas/tools/get_port.json +1 -3
  291. package/schemas/tools/get_ppp_profile.json +1 -3
  292. package/schemas/tools/get_ppp_secret.json +1 -3
  293. package/schemas/tools/get_pptp_client.json +1 -3
  294. package/schemas/tools/get_queue_interface.json +1 -3
  295. package/schemas/tools/get_queue_tree.json +1 -3
  296. package/schemas/tools/get_queue_type.json +1 -3
  297. package/schemas/tools/get_radius_server.json +1 -3
  298. package/schemas/tools/get_route.json +1 -3
  299. package/schemas/tools/get_routing_id.json +1 -3
  300. package/schemas/tools/get_routing_rule.json +1 -3
  301. package/schemas/tools/get_routing_table.json +1 -4
  302. package/schemas/tools/get_routing_table_def.json +1 -3
  303. package/schemas/tools/get_scheduler.json +1 -3
  304. package/schemas/tools/get_simple_queue.json +1 -3
  305. package/schemas/tools/get_sstp_client.json +1 -3
  306. package/schemas/tools/get_switch.json +1 -3
  307. package/schemas/tools/get_switch_port.json +1 -3
  308. package/schemas/tools/get_switch_port_isolation.json +1 -3
  309. package/schemas/tools/get_switch_rule.json +1 -3
  310. package/schemas/tools/get_traffic_monitor.json +1 -3
  311. package/schemas/tools/get_user.json +1 -3
  312. package/schemas/tools/get_user_group.json +1 -3
  313. package/schemas/tools/get_user_manager_user.json +1 -3
  314. package/schemas/tools/get_vlan_interface.json +1 -3
  315. package/schemas/tools/get_vxlan_tunnel.json +1 -3
  316. package/schemas/tools/get_wireguard_interface.json +1 -3
  317. package/schemas/tools/get_wireguard_peer.json +1 -3
  318. package/schemas/tools/get_wireless_interface.json +1 -3
  319. package/schemas/tools/get_wireless_security_profile.json +1 -3
  320. package/schemas/tools/harden_connection_tracking_helpers.json +1 -4
  321. package/schemas/tools/harden_dns_resolver_exposure.json +1 -4
  322. package/schemas/tools/harden_firewall.json +1 -6
  323. package/schemas/tools/harden_ip_service_exposure.json +1 -4
  324. package/schemas/tools/harden_kernel_ip_settings.json +1 -4
  325. package/schemas/tools/harden_management_plane_exposure.json +1 -4
  326. package/schemas/tools/harden_ssh_service.json +1 -4
  327. package/schemas/tools/import_certificate.json +1 -3
  328. package/schemas/tools/import_configuration.json +1 -5
  329. package/schemas/tools/import_ssh_host_key.json +1 -3
  330. package/schemas/tools/invoke_tool.json +1 -3
  331. package/schemas/tools/ip_scan.json +1 -3
  332. package/schemas/tools/list_address_lists.json +1 -3
  333. package/schemas/tools/list_backups.json +1 -3
  334. package/schemas/tools/list_bfd_sessions.json +1 -3
  335. package/schemas/tools/list_bgp_sessions.json +1 -3
  336. package/schemas/tools/list_config_snapshots.json +1 -3
  337. package/schemas/tools/list_connected_devices.json +1 -4
  338. package/schemas/tools/list_containers.json +1 -3
  339. package/schemas/tools/list_dhcp_servers.json +1 -4
  340. package/schemas/tools/list_disks.json +1 -3
  341. package/schemas/tools/list_dns_static.json +1 -4
  342. package/schemas/tools/list_dot1x_clients.json +1 -3
  343. package/schemas/tools/list_dot1x_servers.json +1 -3
  344. package/schemas/tools/list_filter_rules.json +1 -5
  345. package/schemas/tools/list_graphing.json +2 -8
  346. package/schemas/tools/list_interfaces.json +1 -4
  347. package/schemas/tools/list_ip_addresses.json +1 -4
  348. package/schemas/tools/list_ip_pools.json +1 -3
  349. package/schemas/tools/list_ipv6_address_lists.json +1 -3
  350. package/schemas/tools/list_ipv6_addresses.json +1 -5
  351. package/schemas/tools/list_ipv6_dhcp_bindings.json +1 -3
  352. package/schemas/tools/list_ipv6_dhcp_clients.json +1 -4
  353. package/schemas/tools/list_ipv6_dhcp_relays.json +1 -3
  354. package/schemas/tools/list_ipv6_dhcp_servers.json +1 -4
  355. package/schemas/tools/list_ipv6_filter_rules.json +1 -5
  356. package/schemas/tools/list_ipv6_mangle_rules.json +1 -5
  357. package/schemas/tools/list_ipv6_nat_rules.json +1 -5
  358. package/schemas/tools/list_ipv6_nd.json +1 -3
  359. package/schemas/tools/list_ipv6_nd_prefixes.json +1 -3
  360. package/schemas/tools/list_ipv6_neighbors.json +1 -3
  361. package/schemas/tools/list_ipv6_raw_rules.json +1 -5
  362. package/schemas/tools/list_ipv6_routes.json +1 -5
  363. package/schemas/tools/list_mangle_rules.json +1 -5
  364. package/schemas/tools/list_nat_rules.json +1 -4
  365. package/schemas/tools/list_ppp_secrets.json +1 -8
  366. package/schemas/tools/list_queue_trees.json +1 -4
  367. package/schemas/tools/list_routes.json +1 -6
  368. package/schemas/tools/list_routing_nexthops.json +1 -3
  369. package/schemas/tools/list_routing_rules.json +1 -3
  370. package/schemas/tools/list_s3_backups.json +1 -3
  371. package/schemas/tools/list_simple_queues.json +1 -4
  372. package/schemas/tools/list_switch_rules.json +1 -3
  373. package/schemas/tools/list_traffic_monitors.json +1 -3
  374. package/schemas/tools/list_user_manager_sessions.json +1 -3
  375. package/schemas/tools/list_user_ssh_keys.json +1 -3
  376. package/schemas/tools/list_users.json +1 -4
  377. package/schemas/tools/list_vlan_interfaces.json +1 -3
  378. package/schemas/tools/list_wireguard_interfaces.json +1 -4
  379. package/schemas/tools/list_wireguard_peers.json +1 -3
  380. package/schemas/tools/list_wireless_interfaces.json +1 -4
  381. package/schemas/tools/make_device_static.json +1 -3
  382. package/schemas/tools/memory_add_observations.json +2 -7
  383. package/schemas/tools/memory_create_entities.json +2 -7
  384. package/schemas/tools/memory_create_relations.json +2 -8
  385. package/schemas/tools/memory_delete_entities.json +1 -3
  386. package/schemas/tools/memory_delete_observations.json +2 -7
  387. package/schemas/tools/memory_delete_relations.json +2 -8
  388. package/schemas/tools/memory_open_nodes.json +1 -3
  389. package/schemas/tools/memory_search_nodes.json +1 -3
  390. package/schemas/tools/mirror_traffic_to_capture.json +2 -12
  391. package/schemas/tools/monitor_logs.json +1 -3
  392. package/schemas/tools/move_filter_rule.json +1 -4
  393. package/schemas/tools/move_ipv6_filter_rule.json +1 -4
  394. package/schemas/tools/move_ipv6_mangle_rule.json +1 -4
  395. package/schemas/tools/move_ipv6_nat_rule.json +1 -4
  396. package/schemas/tools/move_ipv6_raw_rule.json +1 -4
  397. package/schemas/tools/move_mangle_rule.json +1 -4
  398. package/schemas/tools/move_nat_rule.json +1 -4
  399. package/schemas/tools/onboard_wireguard_user.json +1 -8
  400. package/schemas/tools/packet_capture_status.json +1 -3
  401. package/schemas/tools/ping.json +1 -4
  402. package/schemas/tools/profile_cpu.json +1 -3
  403. package/schemas/tools/reboot_system.json +1 -3
  404. package/schemas/tools/release_ipv6_dhcp_client.json +1 -3
  405. package/schemas/tools/remove_address_list_entry.json +1 -3
  406. package/schemas/tools/remove_bfd_configuration.json +1 -3
  407. package/schemas/tools/remove_bgp_connection.json +1 -3
  408. package/schemas/tools/remove_bgp_template.json +1 -3
  409. package/schemas/tools/remove_bridge.json +1 -3
  410. package/schemas/tools/remove_bridge_port.json +1 -3
  411. package/schemas/tools/remove_certificate.json +1 -3
  412. package/schemas/tools/remove_config_snapshot.json +1 -3
  413. package/schemas/tools/remove_container_env.json +1 -4
  414. package/schemas/tools/remove_container_mount.json +1 -3
  415. package/schemas/tools/remove_device_lease.json +1 -3
  416. package/schemas/tools/remove_dhcp_client.json +1 -3
  417. package/schemas/tools/remove_dhcp_server.json +1 -3
  418. package/schemas/tools/remove_disk.json +1 -3
  419. package/schemas/tools/remove_dns_static.json +1 -3
  420. package/schemas/tools/remove_dot1x_client.json +1 -3
  421. package/schemas/tools/remove_dot1x_server.json +1 -3
  422. package/schemas/tools/remove_eoip_tunnel.json +1 -3
  423. package/schemas/tools/remove_file.json +1 -3
  424. package/schemas/tools/remove_filter_rule.json +1 -3
  425. package/schemas/tools/remove_graphing.json +2 -9
  426. package/schemas/tools/remove_gre_tunnel.json +1 -3
  427. package/schemas/tools/remove_igmp_proxy_interface.json +1 -3
  428. package/schemas/tools/remove_ip_address.json +1 -3
  429. package/schemas/tools/remove_ip_pool.json +1 -3
  430. package/schemas/tools/remove_ipip_tunnel.json +1 -3
  431. package/schemas/tools/remove_ipsec_identity.json +1 -3
  432. package/schemas/tools/remove_ipsec_peer.json +1 -3
  433. package/schemas/tools/remove_ipsec_policy.json +1 -3
  434. package/schemas/tools/remove_ipsec_profile.json +1 -3
  435. package/schemas/tools/remove_ipsec_proposal.json +1 -3
  436. package/schemas/tools/remove_ipv6_address.json +1 -3
  437. package/schemas/tools/remove_ipv6_address_list_entry.json +1 -3
  438. package/schemas/tools/remove_ipv6_dhcp_binding.json +1 -3
  439. package/schemas/tools/remove_ipv6_dhcp_client.json +1 -3
  440. package/schemas/tools/remove_ipv6_dhcp_option.json +1 -3
  441. package/schemas/tools/remove_ipv6_dhcp_relay.json +1 -3
  442. package/schemas/tools/remove_ipv6_dhcp_server.json +1 -3
  443. package/schemas/tools/remove_ipv6_filter_rule.json +1 -3
  444. package/schemas/tools/remove_ipv6_mangle_rule.json +1 -3
  445. package/schemas/tools/remove_ipv6_nat_rule.json +1 -3
  446. package/schemas/tools/remove_ipv6_nd.json +1 -3
  447. package/schemas/tools/remove_ipv6_nd_prefix.json +1 -3
  448. package/schemas/tools/remove_ipv6_neighbor.json +1 -3
  449. package/schemas/tools/remove_ipv6_pool.json +1 -3
  450. package/schemas/tools/remove_ipv6_raw_rule.json +1 -3
  451. package/schemas/tools/remove_ipv6_route.json +1 -3
  452. package/schemas/tools/remove_l2tp_client.json +1 -3
  453. package/schemas/tools/remove_logging_action.json +1 -3
  454. package/schemas/tools/remove_logging_rule.json +1 -3
  455. package/schemas/tools/remove_mangle_rule.json +1 -3
  456. package/schemas/tools/remove_nat_rule.json +1 -3
  457. package/schemas/tools/remove_netwatch.json +1 -3
  458. package/schemas/tools/remove_ospf_area.json +1 -3
  459. package/schemas/tools/remove_ospf_area_range.json +1 -3
  460. package/schemas/tools/remove_ospf_instance.json +1 -3
  461. package/schemas/tools/remove_ospf_interface_template.json +1 -3
  462. package/schemas/tools/remove_ovpn_client.json +1 -3
  463. package/schemas/tools/remove_ovpn_server.json +1 -3
  464. package/schemas/tools/remove_pimsm_instance.json +1 -3
  465. package/schemas/tools/remove_pimsm_interface_template.json +1 -3
  466. package/schemas/tools/remove_pimsm_rp.json +1 -3
  467. package/schemas/tools/remove_ppp_profile.json +1 -3
  468. package/schemas/tools/remove_ppp_secret.json +1 -3
  469. package/schemas/tools/remove_pptp_client.json +1 -3
  470. package/schemas/tools/remove_queue_tree.json +1 -3
  471. package/schemas/tools/remove_queue_type.json +1 -3
  472. package/schemas/tools/remove_radius_server.json +1 -3
  473. package/schemas/tools/remove_rip_instance.json +1 -3
  474. package/schemas/tools/remove_rip_interface_template.json +1 -3
  475. package/schemas/tools/remove_rip_static_neighbor.json +1 -3
  476. package/schemas/tools/remove_romon_port.json +1 -3
  477. package/schemas/tools/remove_route.json +1 -3
  478. package/schemas/tools/remove_routing_filter_num_list.json +1 -3
  479. package/schemas/tools/remove_routing_filter_rule.json +1 -3
  480. package/schemas/tools/remove_routing_id.json +1 -3
  481. package/schemas/tools/remove_routing_rule.json +1 -3
  482. package/schemas/tools/remove_routing_table.json +1 -3
  483. package/schemas/tools/remove_rpki_session.json +1 -3
  484. package/schemas/tools/remove_scheduler.json +1 -3
  485. package/schemas/tools/remove_script.json +1 -3
  486. package/schemas/tools/remove_simple_queue.json +1 -3
  487. package/schemas/tools/remove_sstp_client.json +1 -3
  488. package/schemas/tools/remove_switch_port_isolation.json +1 -3
  489. package/schemas/tools/remove_switch_rule.json +1 -3
  490. package/schemas/tools/remove_threat_feed.json +1 -3
  491. package/schemas/tools/remove_time_policy.json +1 -3
  492. package/schemas/tools/remove_traffic_generator_port.json +1 -3
  493. package/schemas/tools/remove_traffic_generator_stream.json +1 -3
  494. package/schemas/tools/remove_traffic_monitor.json +1 -3
  495. package/schemas/tools/remove_user.json +1 -3
  496. package/schemas/tools/remove_user_group.json +1 -3
  497. package/schemas/tools/remove_user_manager_limitation.json +1 -3
  498. package/schemas/tools/remove_user_manager_profile.json +1 -3
  499. package/schemas/tools/remove_user_manager_router.json +1 -3
  500. package/schemas/tools/remove_user_manager_user.json +1 -3
  501. package/schemas/tools/remove_user_ssh_key.json +1 -3
  502. package/schemas/tools/remove_vlan_interface.json +1 -3
  503. package/schemas/tools/remove_vxlan_tunnel.json +1 -3
  504. package/schemas/tools/remove_wireguard_interface.json +1 -3
  505. package/schemas/tools/remove_wireguard_peer.json +1 -3
  506. package/schemas/tools/remove_wireless_access_list_entry.json +1 -3
  507. package/schemas/tools/remove_wireless_interface.json +1 -3
  508. package/schemas/tools/remove_wireless_security_profile.json +1 -3
  509. package/schemas/tools/rename_local_backup.json +1 -4
  510. package/schemas/tools/renew_dhcp_client.json +1 -4
  511. package/schemas/tools/renew_ipv6_dhcp_client.json +1 -3
  512. package/schemas/tools/request_letsencrypt_certificate.json +1 -3
  513. package/schemas/tools/reset_configuration.json +1 -3
  514. package/schemas/tools/resolve_dns.json +1 -3
  515. package/schemas/tools/restore_backup.json +1 -3
  516. package/schemas/tools/restore_local_backup.json +1 -4
  517. package/schemas/tools/revoke_wireguard_user.json +1 -3
  518. package/schemas/tools/run_capsman_audit.json +1 -7
  519. package/schemas/tools/run_compliance_audit.json +2 -9
  520. package/schemas/tools/run_failover_drill.json +2 -11
  521. package/schemas/tools/run_routeros_command.json +1 -3
  522. package/schemas/tools/run_script.json +1 -3
  523. package/schemas/tools/s3_backup_info.json +1 -3
  524. package/schemas/tools/save_sniffer.json +1 -3
  525. package/schemas/tools/scan_wireless_networks.json +1 -4
  526. package/schemas/tools/search_logs.json +1 -4
  527. package/schemas/tools/send_sms.json +1 -5
  528. package/schemas/tools/set_aaa_settings.json +2 -8
  529. package/schemas/tools/set_bfd_configuration_enabled.json +1 -4
  530. package/schemas/tools/set_bgp_connection_enabled.json +1 -4
  531. package/schemas/tools/set_device_ip.json +1 -4
  532. package/schemas/tools/set_device_label.json +1 -4
  533. package/schemas/tools/set_device_limits.json +1 -3
  534. package/schemas/tools/set_dhcp_client.json +1 -3
  535. package/schemas/tools/set_disk.json +1 -3
  536. package/schemas/tools/set_dns_servers.json +1 -6
  537. package/schemas/tools/set_igmp_proxy_interface_enabled.json +1 -4
  538. package/schemas/tools/set_ip_cloud_advanced.json +1 -3
  539. package/schemas/tools/set_ip_service.json +1 -3
  540. package/schemas/tools/set_l2tp_server.json +2 -9
  541. package/schemas/tools/set_leds_settings.json +1 -6
  542. package/schemas/tools/set_neighbor_discovery_settings.json +1 -5
  543. package/schemas/tools/set_ntp_client.json +1 -6
  544. package/schemas/tools/set_ovpn_server.json +3 -12
  545. package/schemas/tools/set_port.json +3 -13
  546. package/schemas/tools/set_routing_filter_rule_enabled.json +1 -4
  547. package/schemas/tools/set_routing_id_enabled.json +1 -4
  548. package/schemas/tools/set_routing_rule_enabled.json +1 -4
  549. package/schemas/tools/set_routing_table_enabled.json +1 -4
  550. package/schemas/tools/set_rpki_session_enabled.json +1 -4
  551. package/schemas/tools/set_ssh_settings.json +2 -10
  552. package/schemas/tools/set_sstp_server.json +1 -4
  553. package/schemas/tools/set_system_identity.json +1 -3
  554. package/schemas/tools/set_time_policy.json +1 -7
  555. package/schemas/tools/set_user_ssh_keys.json +1 -4
  556. package/schemas/tools/set_wireless_security_profile.json +1 -4
  557. package/schemas/tools/setup_port_knock.json +1 -7
  558. package/schemas/tools/setup_wan_failover.json +2 -11
  559. package/schemas/tools/setup_wan_loadbalance.json +2 -10
  560. package/schemas/tools/share_disk.json +1 -3
  561. package/schemas/tools/shutdown_system.json +1 -3
  562. package/schemas/tools/sign_certificate.json +1 -3
  563. package/schemas/tools/speed_test.json +1 -4
  564. package/schemas/tools/start_packet_capture.json +1 -4
  565. package/schemas/tools/steer_client.json +2 -8
  566. package/schemas/tools/subscribe_threat_feed.json +1 -8
  567. package/schemas/tools/suggest_fix.json +1 -3
  568. package/schemas/tools/test_dns_query.json +1 -4
  569. package/schemas/tools/test_ssh_from_device.json +1 -6
  570. package/schemas/tools/test_ssh_to_host.json +1 -6
  571. package/schemas/tools/trace_path.json +1 -5
  572. package/schemas/tools/traceroute.json +1 -4
  573. package/schemas/tools/tune_wifi_channel.json +1 -5
  574. package/schemas/tools/update_bfd_configuration.json +1 -3
  575. package/schemas/tools/update_bgp_connection.json +1 -3
  576. package/schemas/tools/update_bridge.json +5 -26
  577. package/schemas/tools/update_dns_static.json +1 -3
  578. package/schemas/tools/update_dot1x_client.json +1 -3
  579. package/schemas/tools/update_dot1x_server.json +3 -12
  580. package/schemas/tools/update_filter_rule.json +1 -3
  581. package/schemas/tools/update_igmp_proxy_interface.json +1 -3
  582. package/schemas/tools/update_ip_pool.json +1 -3
  583. package/schemas/tools/update_ipsec_peer.json +2 -8
  584. package/schemas/tools/update_ipsec_profile.json +1 -3
  585. package/schemas/tools/update_ipsec_proposal.json +1 -3
  586. package/schemas/tools/update_ipv6_filter_rule.json +1 -3
  587. package/schemas/tools/update_ipv6_mangle_rule.json +1 -3
  588. package/schemas/tools/update_ipv6_nat_rule.json +1 -3
  589. package/schemas/tools/update_ipv6_nd.json +2 -8
  590. package/schemas/tools/update_ipv6_pool.json +1 -3
  591. package/schemas/tools/update_ipv6_raw_rule.json +1 -3
  592. package/schemas/tools/update_ipv6_settings.json +3 -15
  593. package/schemas/tools/update_mac_ping.json +1 -3
  594. package/schemas/tools/update_mac_server.json +1 -3
  595. package/schemas/tools/update_mac_winbox.json +1 -3
  596. package/schemas/tools/update_mangle_rule.json +1 -3
  597. package/schemas/tools/update_nat_rule.json +1 -3
  598. package/schemas/tools/update_ospf_instance.json +1 -3
  599. package/schemas/tools/update_ovpn_server.json +4 -15
  600. package/schemas/tools/update_ppp_profile.json +6 -30
  601. package/schemas/tools/update_ppp_secret.json +2 -11
  602. package/schemas/tools/update_queue_interface.json +1 -4
  603. package/schemas/tools/update_queue_tree.json +1 -3
  604. package/schemas/tools/update_queue_type.json +1 -3
  605. package/schemas/tools/update_radius_server.json +2 -7
  606. package/schemas/tools/update_rip_instance.json +1 -3
  607. package/schemas/tools/update_route.json +1 -3
  608. package/schemas/tools/update_routing_filter_rule.json +1 -3
  609. package/schemas/tools/update_routing_id.json +1 -3
  610. package/schemas/tools/update_routing_rule.json +2 -9
  611. package/schemas/tools/update_routing_settings.json +2 -10
  612. package/schemas/tools/update_routing_table.json +1 -3
  613. package/schemas/tools/update_rpki_session.json +1 -3
  614. package/schemas/tools/update_simple_queue.json +1 -3
  615. package/schemas/tools/update_sniffer_settings.json +2 -9
  616. package/schemas/tools/update_switch.json +1 -3
  617. package/schemas/tools/update_switch_port.json +3 -14
  618. package/schemas/tools/update_switch_port_isolation.json +1 -3
  619. package/schemas/tools/update_switch_rule.json +2 -8
  620. package/schemas/tools/update_traffic_monitor.json +3 -12
  621. package/schemas/tools/update_user.json +1 -3
  622. package/schemas/tools/update_user_group.json +1 -3
  623. package/schemas/tools/update_user_manager_user.json +1 -3
  624. package/schemas/tools/update_vlan_interface.json +3 -14
  625. package/schemas/tools/update_wireguard_interface.json +1 -3
  626. package/schemas/tools/update_wireguard_peer.json +1 -3
  627. package/schemas/tools/update_wireless_interface.json +6 -36
  628. package/schemas/tools/upload_backup_to_s3.json +1 -3
  629. package/schemas/tools/upload_file.json +1 -4
  630. package/schemas/tools/wake_on_lan.json +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usex/mikrotik-mcp",
3
- "version": "4.21.0",
3
+ "version": "4.23.0",
4
4
  "description": "MCP server for MikroTik RouterOS — 780+ tools over SSH for firewall, NAT, routing, DHCP, DNS, WireGuard, wireless, QoS and more.",
5
5
  "keywords": [
6
6
  "ai",
@@ -54,11 +54,12 @@
54
54
  "dev": "bunup --watch",
55
55
  "prepack": "bunup && chmod +x dist/cli.js && bun run build:ui && bun run gen",
56
56
  "auth-check": "bun run --bun src/cli.ts auth-check",
57
- "gen:schemas": "bun run --bun scripts/gen-schemas.ts",
57
+ "gen:schemas": "bun run --bun scripts/gen-schemas.ts && vp fmt --write schemas",
58
58
  "gen:docs": "bun run --bun scripts/gen-tool-docs.ts",
59
59
  "gen": "bun run --bun gen:schemas && bun run --bun gen:docs",
60
60
  "start": "bun run --bun src/cli.ts serve",
61
61
  "discover": "bun run --bun scripts/discover-macs.ts",
62
+ "flags:download": "bun run --bun scripts/download-flags.ts",
62
63
  "chat": "bunx mcp-chat --server \"./dist/cli.js serve\"",
63
64
  "inspect": "bunx @modelcontextprotocol/inspector bun run --bun src/cli.ts serve",
64
65
  "inspect:built": "bun run --bun build && bunx @modelcontextprotocol/inspector bun dist/cli.js serve",
@@ -94,7 +95,7 @@
94
95
  "devDependencies": {
95
96
  "@anthropic-ai/mcpb": "^2.1.2",
96
97
  "@resvg/resvg-js": "^2.6.2",
97
- "@tailwindcss/vite": "^4.3.2",
98
+ "@tailwindcss/vite": "^4.3.3",
98
99
  "@types/bun": "latest",
99
100
  "@types/figlet": "^1.7.0",
100
101
  "@types/node": "^26.1.1",
@@ -107,7 +108,7 @@
107
108
  "clsx": "^2.1.1",
108
109
  "gsap": "^3.15.0",
109
110
  "license-checker": "^25.0.1",
110
- "lucide-react": "^1.24.0",
111
+ "lucide-react": "^1.25.0",
111
112
  "radix-ui": "^1.6.2",
112
113
  "react": "^19.2.7",
113
114
  "react-dom": "^19.2.7",
@@ -115,7 +116,7 @@
115
116
  "release-it": "^20.2.1",
116
117
  "sonner": "^2.0.7",
117
118
  "tailwind-merge": "^3.6.0",
118
- "tailwindcss": "^4.3.2",
119
+ "tailwindcss": "^4.3.3",
119
120
  "tw-animate-css": "^1.4.0",
120
121
  "vite": "catalog:",
121
122
  "vite-plus": "catalog:"
@@ -32,6 +32,10 @@ Device B: {{device_b}}
32
32
  Tunnel ID: {{tunnel_id}}
33
33
  Encrypt with IPsec: {{encrypt}}
34
34
 
35
+ ## Back up before the first write
36
+
37
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
38
+
35
39
  ## 0. Discover and confirm (FIRST)
36
40
 
37
41
  - `list_mikrotik_devices`; resolve {{device_a}}/{{device_b}} — never substitute a
@@ -31,6 +31,10 @@ Device B: {{device_b}}
31
31
  Transit subnet: {{tunnel_subnet}}
32
32
  Encrypt with IPsec: {{encrypt}}
33
33
 
34
+ ## Back up before the first write
35
+
36
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
37
+
34
38
  ## 0. Discover and confirm both endpoints (do this FIRST)
35
39
 
36
40
  - Call `list_mikrotik_devices` to enumerate the configured routers (key, label,
@@ -31,6 +31,10 @@ Device B: {{device_b}}
31
31
  Transit subnet: {{tunnel_subnet}}
32
32
  Encrypt with IPsec: {{encrypt}}
33
33
 
34
+ ## Back up before the first write
35
+
36
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
37
+
34
38
  ## 0. Discover and confirm both endpoints (FIRST)
35
39
 
36
40
  - `list_mikrotik_devices`; resolve {{device_a}}/{{device_b}} against it — never
@@ -23,6 +23,10 @@ Local subnet: {{local_subnet}}
23
23
  Remote subnet: {{remote_subnet}}
24
24
  Peer address: {{peer_address}}
25
25
 
26
+ ## Back up before the first write
27
+
28
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
29
+
26
30
  Build order (use the `create_ipsec_*` tools; keep phase-1/phase-2 parameters
27
31
  identical on both ends):
28
32
 
@@ -18,6 +18,10 @@ install). Plan first, then apply (firewall under Safe Mode).
18
18
  Client address pool: {{vpn_pool}}
19
19
  Gateway / DNS for clients: {{local_gateway}}
20
20
 
21
+ ## Back up before the first write
22
+
23
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
24
+
21
25
  Build order:
22
26
 
23
27
  1. **IP pool** — `create_ip_pool` for {{vpn_pool}} (e.g. name `l2tp-pool`).
@@ -35,6 +35,10 @@ Mode: {{mode}}
35
35
  Protocol: {{protocol}}
36
36
  Port: {{port}}
37
37
 
38
+ ## Back up before the first write
39
+
40
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
41
+
38
42
  ## 0. Discover and assign roles (FIRST)
39
43
 
40
44
  - `list_mikrotik_devices`; resolve {{server_device}}/{{client_device}} — never
@@ -30,6 +30,10 @@ Client device: {{client_device}}
30
30
  Transit subnet: {{tunnel_subnet}}
31
31
  Port: {{port}}
32
32
 
33
+ ## Back up before the first write
34
+
35
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
36
+
33
37
  ## 0. Discover and assign roles (FIRST)
34
38
 
35
39
  - `list_mikrotik_devices`; resolve {{server_device}}/{{client_device}} — never
@@ -32,6 +32,10 @@ Device A: {{device_a}}
32
32
  Device B: {{device_b}}
33
33
  Requested technology: {{technology}}
34
34
 
35
+ ## Back up before the first write
36
+
37
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
38
+
35
39
  Work in this order, confirming the plan before any change:
36
40
 
37
41
  0. **Discover both endpoints.** Call `list_mikrotik_devices` first and resolve
@@ -39,6 +39,10 @@ Routing scope: {{scope}}
39
39
 
40
40
  ---
41
41
 
42
+ ## Back up before the first write
43
+
44
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
45
+
42
46
  ## 0. Discover the device and confirm it CAN run containers (do this FIRST)
43
47
 
44
48
  - Call `list_mikrotik_devices`; resolve `{{device}}` (never substitute a similar
@@ -42,6 +42,10 @@ Device B: {{device_b}}
42
42
  VNI: {{vni}}
43
43
  UDP port: {{port}}
44
44
 
45
+ ## Back up before the first write
46
+
47
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
48
+
45
49
  ## 0. Discover and confirm (FIRST)
46
50
 
47
51
  - `list_mikrotik_devices`; resolve the endpoints — never substitute a similar name;
@@ -29,6 +29,10 @@ Device B: {{device_b}}
29
29
  Transit subnet: {{tunnel_subnet}}
30
30
  Listen port: {{listen_port}}
31
31
 
32
+ ## Back up before the first write
33
+
34
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
35
+
32
36
  ## 0. Discover and confirm both endpoints (do this FIRST)
33
37
 
34
38
  - Call `list_mikrotik_devices` to enumerate the configured routers (key, label,
@@ -21,6 +21,10 @@ VPN subnet: {{vpn_subnet}}
21
21
  Public endpoint: {{endpoint}}
22
22
  Listen port: {{listen_port}}
23
23
 
24
+ ## Back up before the first write
25
+
26
+ Before your FIRST configuration change in this workflow — the tunnel/interface, keys/peers, addresses, routes, NAT, or any mangle or firewall filter rule — ASK the user "Create a local backup first?" and, on yes, call `create_local_backup` for each device you are about to change. It saves a host-side `.rsc` restore point you can `restore_local_backup` if the change cuts the link. Discovery and the read-only fact-gathering steps below need no backup — do it once, right before you start writing. Tunnel creation always warrants a backup; you may skip it only for a minor, non-critical mangle/filter tweak the user explicitly waves off.
27
+
24
28
  Steps:
25
29
 
26
30
  1. **Server interface** — `create_wireguard_interface` (e.g. name `wg-vpn`,
package/schemas/README.md CHANGED
@@ -4,11 +4,11 @@ Machine-readable JSON Schemas for `@usex/mikrotik-mcp`, **generated** from the
4
4
  TypeScript source by `scripts/gen-schemas.ts` (`bun run gen:schemas`). Do not
5
5
  edit by hand — regenerate instead.
6
6
 
7
- | File | Contents |
8
- |------|----------|
9
- | `config.schema.json` | The runtime configuration object (env vars / CLI flags). |
10
- | `tool-catalog.json` | Every one of the 833 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
11
- | `tools/<name>.json` | The input JSON Schema for a single tool. |
7
+ | File | Contents |
8
+ | -------------------- | ------------------------------------------------------------------------------------------ |
9
+ | `config.schema.json` | The runtime configuration object (env vars / CLI flags). |
10
+ | `tool-catalog.json` | Every one of the 833 tools: `name`, `risk`, `title`, `description`, and input JSON Schema. |
11
+ | `tools/<name>.json` | The input JSON Schema for a single tool. |
12
12
 
13
13
  `risk` is derived from the MCP tool annotations:
14
14
  `read` · `write` · `write-idempotent` · `destructive` · `dangerous`.
@@ -90,11 +90,7 @@
90
90
  "maximum": 9007199254740991
91
91
  }
92
92
  },
93
- "required": [
94
- "host",
95
- "port",
96
- "username"
97
- ],
93
+ "required": ["host", "port", "username"],
98
94
  "additionalProperties": false
99
95
  },
100
96
  "mac": {
@@ -118,13 +114,7 @@
118
114
  "type": "boolean"
119
115
  }
120
116
  },
121
- "required": [
122
- "host",
123
- "username",
124
- "password",
125
- "port",
126
- "timeoutMs"
127
- ],
117
+ "required": ["host", "username", "password", "port", "timeoutMs"],
128
118
  "additionalProperties": false
129
119
  }
130
120
  },
@@ -148,11 +138,7 @@
148
138
  "transport": {
149
139
  "default": "stdio",
150
140
  "type": "string",
151
- "enum": [
152
- "stdio",
153
- "sse",
154
- "streamable-http"
155
- ]
141
+ "enum": ["stdio", "sse", "streamable-http"]
156
142
  },
157
143
  "host": {
158
144
  "default": "0.0.0.0",
@@ -231,10 +217,7 @@
231
217
  "maximum": 9007199254740991
232
218
  }
233
219
  },
234
- "required": [
235
- "prefix",
236
- "presignExpiresIn"
237
- ],
220
+ "required": ["prefix", "presignExpiresIn"],
238
221
  "additionalProperties": false
239
222
  },
240
223
  "dashboard": {
@@ -337,11 +320,7 @@
337
320
  "maximum": 9007199254740991
338
321
  }
339
322
  },
340
- "required": [
341
- "keepAlive",
342
- "keepAliveInterval",
343
- "idleTimeout"
344
- ],
323
+ "required": ["keepAlive", "keepAliveInterval", "idleTimeout"],
345
324
  "additionalProperties": false
346
325
  },
347
326
  "readOnly": {
@@ -386,12 +365,7 @@
386
365
  }
387
366
  }
388
367
  },
389
- "required": [
390
- "enabledModules",
391
- "disabledModules",
392
- "enabledGroups",
393
- "disabledGroups"
394
- ],
368
+ "required": ["enabledModules", "disabledModules", "enabledGroups", "disabledGroups"],
395
369
  "additionalProperties": false
396
370
  },
397
371
  "memory": {
@@ -410,10 +384,7 @@
410
384
  "type": "string"
411
385
  }
412
386
  },
413
- "required": [
414
- "enabled",
415
- "dbPath"
416
- ],
387
+ "required": ["enabled", "dbPath"],
417
388
  "additionalProperties": false
418
389
  },
419
390
  "backupDir": {