@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.
- package/dist/cli.js +200 -37
- package/dist/index.js +13 -2
- package/dist/shared/{cli-g27x73vg.js → cli-p673815b.js} +1 -1
- package/dist/shared/{cli-4tycy2mf.js → cli-tssmr7sb.js} +3 -3
- package/dist/shared/{library-v21pwa2g.js → library-2144zr9f.js} +2 -2
- package/dist/shared/{library-w7gzvedz.js → library-8f4pbp0x.js} +1 -1
- package/dist/ui/observability.html +2 -2
- package/package.json +6 -5
- package/prompts/setup-eoip-tunnel-between-sites.md +4 -0
- package/prompts/setup-gre-tunnel-between-sites.md +4 -0
- package/prompts/setup-ipip-tunnel-between-sites.md +4 -0
- package/prompts/setup-ipsec-site-to-site.md +4 -0
- package/prompts/setup-l2tp-ipsec-roadwarrior.md +4 -0
- package/prompts/setup-openvpn-tunnel-between-sites.md +4 -0
- package/prompts/setup-sstp-tunnel-between-sites.md +4 -0
- package/prompts/setup-tunnel-between-sites.md +4 -0
- package/prompts/setup-v2ray-container-proxy.md +4 -0
- package/prompts/setup-vxlan-tunnel-between-sites.md +4 -0
- package/prompts/setup-wireguard-tunnel-between-sites.md +4 -0
- package/prompts/setup-wireguard-vpn.md +4 -0
- package/schemas/README.md +5 -5
- package/schemas/config.schema.json +7 -36
- package/schemas/tool-catalog.json +747 -2974
- package/schemas/tools/aaa_mutate.json +2 -10
- package/schemas/tools/add_address_list_entry.json +1 -5
- package/schemas/tools/add_bfd_configuration.json +1 -4
- package/schemas/tools/add_bgp_connection.json +1 -5
- package/schemas/tools/add_bgp_template.json +1 -4
- package/schemas/tools/add_blackhole_route.json +1 -4
- package/schemas/tools/add_bridge_port.json +6 -31
- package/schemas/tools/add_bridge_vlan.json +1 -4
- package/schemas/tools/add_container_env.json +1 -5
- package/schemas/tools/add_container_mount.json +1 -5
- package/schemas/tools/add_default_route.json +1 -5
- package/schemas/tools/add_dhcp_client.json +1 -7
- package/schemas/tools/add_disk.json +1 -3
- package/schemas/tools/add_dns_regexp.json +1 -6
- package/schemas/tools/add_dns_static.json +1 -4
- package/schemas/tools/add_dot1x_client.json +1 -5
- package/schemas/tools/add_dot1x_server.json +3 -13
- package/schemas/tools/add_firewall_default_deny.json +1 -4
- package/schemas/tools/add_graphing_interface.json +1 -3
- package/schemas/tools/add_graphing_queue.json +1 -3
- package/schemas/tools/add_igmp_proxy_interface.json +1 -5
- package/schemas/tools/add_ip_address.json +1 -6
- package/schemas/tools/add_ipv6_address.json +1 -6
- package/schemas/tools/add_ipv6_address_list_entry.json +1 -5
- package/schemas/tools/add_ipv6_default_route.json +1 -4
- package/schemas/tools/add_ipv6_dhcp_binding.json +1 -4
- package/schemas/tools/add_ipv6_dhcp_client.json +3 -15
- package/schemas/tools/add_ipv6_dhcp_option.json +1 -5
- package/schemas/tools/add_ipv6_dhcp_relay.json +1 -6
- package/schemas/tools/add_ipv6_nd.json +2 -9
- package/schemas/tools/add_ipv6_nd_prefix.json +1 -4
- package/schemas/tools/add_ipv6_route.json +2 -10
- package/schemas/tools/add_logging_action.json +2 -12
- package/schemas/tools/add_logging_rule.json +1 -4
- package/schemas/tools/add_netwatch.json +2 -10
- package/schemas/tools/add_ospf_area.json +2 -11
- package/schemas/tools/add_ospf_area_range.json +1 -5
- package/schemas/tools/add_ospf_instance.json +1 -5
- package/schemas/tools/add_ospf_interface_template.json +3 -20
- package/schemas/tools/add_ovpn_server.json +4 -17
- package/schemas/tools/add_pimsm_instance.json +2 -9
- package/schemas/tools/add_pimsm_interface_template.json +1 -5
- package/schemas/tools/add_pimsm_rp.json +1 -5
- package/schemas/tools/add_radius_server.json +1 -4
- package/schemas/tools/add_rip_instance.json +1 -4
- package/schemas/tools/add_rip_interface_template.json +1 -5
- package/schemas/tools/add_rip_static_neighbor.json +1 -4
- package/schemas/tools/add_romon_port.json +1 -4
- package/schemas/tools/add_route.json +1 -5
- package/schemas/tools/add_routing_filter_num_list.json +1 -4
- package/schemas/tools/add_routing_filter_rule.json +1 -5
- package/schemas/tools/add_routing_id.json +1 -4
- package/schemas/tools/add_routing_rule.json +2 -10
- package/schemas/tools/add_routing_table.json +1 -5
- package/schemas/tools/add_rpki_session.json +1 -6
- package/schemas/tools/add_script.json +1 -5
- package/schemas/tools/add_switch_port_isolation.json +1 -4
- package/schemas/tools/add_switch_rule.json +2 -10
- package/schemas/tools/add_traffic_generator_port.json +1 -5
- package/schemas/tools/add_traffic_generator_stream.json +1 -5
- package/schemas/tools/add_traffic_monitor.json +3 -17
- package/schemas/tools/add_user.json +1 -6
- package/schemas/tools/add_user_group.json +1 -4
- package/schemas/tools/add_user_manager_limitation.json +1 -3
- package/schemas/tools/add_user_manager_profile.json +2 -7
- package/schemas/tools/add_user_manager_router.json +1 -6
- package/schemas/tools/add_user_manager_user.json +1 -5
- package/schemas/tools/add_wireguard_peer.json +1 -6
- package/schemas/tools/allow_device.json +1 -3
- package/schemas/tools/apply_capsman_fixes.json +1 -3
- package/schemas/tools/apply_plan.json +1 -3
- package/schemas/tools/apply_security_hardening_fixes.json +1 -4
- package/schemas/tools/apply_traffic_shaping.json +2 -10
- package/schemas/tools/assign_user_manager_profile.json +1 -4
- package/schemas/tools/audit_certificate_expiry.json +1 -3
- package/schemas/tools/audit_fleet.json +2 -9
- package/schemas/tools/audit_remediate.json +2 -9
- package/schemas/tools/backup_info.json +1 -3
- package/schemas/tools/bandwidth_test.json +3 -15
- package/schemas/tools/block_device.json +1 -3
- package/schemas/tools/bootstrap_ipv6_firewall_baseline.json +1 -4
- package/schemas/tools/build_guest_hotspot.json +1 -7
- package/schemas/tools/build_wireguard_mesh.json +1 -4
- package/schemas/tools/capture_config_snapshot.json +1 -5
- package/schemas/tools/change_password.json +1 -4
- package/schemas/tools/check_route_path.json +1 -3
- package/schemas/tools/config_check_drift.json +1 -5
- package/schemas/tools/config_reconcile.json +1 -3
- package/schemas/tools/config_set_baseline.json +1 -4
- package/schemas/tools/correlate_events.json +1 -4
- package/schemas/tools/create_backup.json +1 -4
- package/schemas/tools/create_bridge.json +5 -28
- package/schemas/tools/create_certificate.json +1 -6
- package/schemas/tools/create_dhcp_network.json +1 -4
- package/schemas/tools/create_dhcp_pool.json +1 -4
- package/schemas/tools/create_dhcp_server.json +4 -22
- package/schemas/tools/create_eoip_tunnel.json +3 -17
- package/schemas/tools/create_export.json +3 -17
- package/schemas/tools/create_filter_rule.json +1 -6
- package/schemas/tools/create_gre_tunnel.json +2 -9
- package/schemas/tools/create_ip_pool.json +1 -4
- package/schemas/tools/create_ipip_tunnel.json +2 -9
- package/schemas/tools/create_ipsec_identity.json +4 -21
- package/schemas/tools/create_ipsec_peer.json +2 -10
- package/schemas/tools/create_ipsec_policy.json +3 -15
- package/schemas/tools/create_ipsec_profile.json +1 -5
- package/schemas/tools/create_ipsec_proposal.json +1 -7
- package/schemas/tools/create_ipv6_dhcp_server.json +1 -7
- package/schemas/tools/create_ipv6_filter_rule.json +2 -11
- package/schemas/tools/create_ipv6_mangle_rule.json +2 -13
- package/schemas/tools/create_ipv6_nat_rule.json +2 -10
- package/schemas/tools/create_ipv6_pool.json +1 -5
- package/schemas/tools/create_ipv6_raw_rule.json +3 -19
- package/schemas/tools/create_l2tp_client.json +2 -12
- package/schemas/tools/create_local_backup.json +1 -6
- package/schemas/tools/create_mangle_rule.json +2 -13
- package/schemas/tools/create_nat_rule.json +2 -10
- package/schemas/tools/create_ovpn_client.json +4 -18
- package/schemas/tools/create_ppp_profile.json +6 -30
- package/schemas/tools/create_ppp_secret.json +2 -14
- package/schemas/tools/create_pptp_client.json +1 -7
- package/schemas/tools/create_queue_tree.json +1 -5
- package/schemas/tools/create_queue_type.json +5 -28
- package/schemas/tools/create_scheduler.json +1 -5
- package/schemas/tools/create_simple_queue.json +1 -5
- package/schemas/tools/create_sstp_client.json +2 -11
- package/schemas/tools/create_vlan_interface.json +3 -19
- package/schemas/tools/create_vxlan_tunnel.json +3 -17
- package/schemas/tools/create_wireguard_interface.json +1 -4
- package/schemas/tools/create_wireless_interface.json +6 -37
- package/schemas/tools/create_wireless_security_profile.json +1 -3
- package/schemas/tools/delete_local_backup.json +1 -3
- package/schemas/tools/delete_s3_backup.json +1 -3
- package/schemas/tools/describe_tool.json +1 -3
- package/schemas/tools/design_network_segment.json +1 -10
- package/schemas/tools/diagnose.json +1 -3
- package/schemas/tools/diff_config_snapshots.json +1 -6
- package/schemas/tools/disable_address_list_entry.json +1 -3
- package/schemas/tools/disable_dns_static.json +1 -3
- package/schemas/tools/disable_filter_rule.json +1 -3
- package/schemas/tools/disable_interface.json +1 -3
- package/schemas/tools/disable_ip_service.json +1 -3
- package/schemas/tools/disable_ipv6_address_list_entry.json +1 -3
- package/schemas/tools/disable_ipv6_dhcp_relay.json +1 -3
- package/schemas/tools/disable_ipv6_filter_rule.json +1 -3
- package/schemas/tools/disable_ipv6_mangle_rule.json +1 -3
- package/schemas/tools/disable_ipv6_nat_rule.json +1 -3
- package/schemas/tools/disable_ipv6_raw_rule.json +1 -3
- package/schemas/tools/disable_ipv6_route.json +1 -3
- package/schemas/tools/disable_l2tp_client.json +1 -3
- package/schemas/tools/disable_mangle_rule.json +1 -3
- package/schemas/tools/disable_nat_rule.json +1 -3
- package/schemas/tools/disable_ovpn_client.json +1 -3
- package/schemas/tools/disable_ovpn_server.json +1 -3
- package/schemas/tools/disable_queue_tree.json +1 -3
- package/schemas/tools/disable_radius_server.json +1 -3
- package/schemas/tools/disable_route.json +1 -3
- package/schemas/tools/disable_scheduler.json +1 -3
- package/schemas/tools/disable_simple_queue.json +1 -3
- package/schemas/tools/disable_sstp_client.json +1 -3
- package/schemas/tools/disable_switch_rule.json +1 -3
- package/schemas/tools/disable_traffic_monitor.json +1 -3
- package/schemas/tools/disable_user.json +1 -3
- package/schemas/tools/disable_wireguard_interface.json +1 -3
- package/schemas/tools/disable_wireguard_peer.json +1 -3
- package/schemas/tools/disable_wireless_interface.json +1 -3
- package/schemas/tools/disconnect_ppp_active.json +1 -3
- package/schemas/tools/disconnect_user.json +1 -3
- package/schemas/tools/download_backup_from_s3.json +1 -3
- package/schemas/tools/download_file.json +1 -3
- package/schemas/tools/eject_disk.json +1 -3
- package/schemas/tools/enable_address_list_entry.json +1 -3
- package/schemas/tools/enable_dns_static.json +1 -3
- package/schemas/tools/enable_filter_rule.json +1 -3
- package/schemas/tools/enable_interface.json +1 -3
- package/schemas/tools/enable_ip_service.json +1 -3
- package/schemas/tools/enable_ipv6_address_list_entry.json +1 -3
- package/schemas/tools/enable_ipv6_dhcp_relay.json +1 -3
- package/schemas/tools/enable_ipv6_filter_rule.json +1 -3
- package/schemas/tools/enable_ipv6_mangle_rule.json +1 -3
- package/schemas/tools/enable_ipv6_nat_rule.json +1 -3
- package/schemas/tools/enable_ipv6_raw_rule.json +1 -3
- package/schemas/tools/enable_ipv6_route.json +1 -3
- package/schemas/tools/enable_l2tp_client.json +1 -3
- package/schemas/tools/enable_mangle_rule.json +1 -3
- package/schemas/tools/enable_nat_rule.json +1 -3
- package/schemas/tools/enable_ovpn_client.json +1 -3
- package/schemas/tools/enable_ovpn_server.json +1 -3
- package/schemas/tools/enable_queue_tree.json +1 -3
- package/schemas/tools/enable_radius_server.json +1 -3
- package/schemas/tools/enable_route.json +1 -3
- package/schemas/tools/enable_scheduler.json +1 -3
- package/schemas/tools/enable_simple_queue.json +1 -3
- package/schemas/tools/enable_sstp_client.json +1 -3
- package/schemas/tools/enable_switch_rule.json +1 -3
- package/schemas/tools/enable_traffic_monitor.json +1 -3
- package/schemas/tools/enable_user.json +1 -3
- package/schemas/tools/enable_wireguard_interface.json +1 -3
- package/schemas/tools/enable_wireguard_peer.json +1 -3
- package/schemas/tools/enable_wireless_interface.json +1 -3
- package/schemas/tools/enforce_address_list_blocking.json +1 -4
- package/schemas/tools/expand_ip_pool.json +1 -4
- package/schemas/tools/export_logs.json +2 -7
- package/schemas/tools/export_section.json +1 -5
- package/schemas/tools/export_ssh_host_key.json +1 -3
- package/schemas/tools/find_tools.json +1 -3
- package/schemas/tools/firewall_audit.json +1 -4
- package/schemas/tools/firmware_check.json +2 -8
- package/schemas/tools/firmware_stage.json +1 -5
- package/schemas/tools/firmware_status.json +1 -3
- package/schemas/tools/firmware_upgrade.json +1 -5
- package/schemas/tools/fix_certificate_crl_policy.json +1 -4
- package/schemas/tools/fix_password_policy.json +1 -4
- package/schemas/tools/flood_ping.json +1 -4
- package/schemas/tools/forecast_link_saturation.json +1 -5
- package/schemas/tools/format_disk.json +2 -10
- package/schemas/tools/forward_port.json +2 -10
- package/schemas/tools/generate_hotspot_vouchers.json +1 -5
- package/schemas/tools/get_aaa_section.json +1 -3
- package/schemas/tools/get_address_list_entry.json +1 -3
- package/schemas/tools/get_bgp_connection.json +1 -3
- package/schemas/tools/get_bridge.json +1 -3
- package/schemas/tools/get_certificate.json +1 -3
- package/schemas/tools/get_config_snapshot.json +1 -4
- package/schemas/tools/get_device_traffic.json +1 -3
- package/schemas/tools/get_dhcp_client.json +1 -3
- package/schemas/tools/get_dhcp_server.json +1 -3
- package/schemas/tools/get_disk.json +1 -3
- package/schemas/tools/get_dns_static.json +1 -3
- package/schemas/tools/get_dot1x_client.json +1 -3
- package/schemas/tools/get_dot1x_server.json +1 -3
- package/schemas/tools/get_eoip_tunnel.json +1 -3
- package/schemas/tools/get_filter_rule.json +1 -3
- package/schemas/tools/get_gre_tunnel.json +1 -3
- package/schemas/tools/get_interface.json +1 -3
- package/schemas/tools/get_ip_address.json +1 -3
- package/schemas/tools/get_ip_pool.json +1 -3
- package/schemas/tools/get_ip_service.json +1 -3
- package/schemas/tools/get_ipip_tunnel.json +1 -3
- package/schemas/tools/get_ipsec_peer.json +1 -3
- package/schemas/tools/get_ipsec_profile.json +1 -3
- package/schemas/tools/get_ipsec_proposal.json +1 -3
- package/schemas/tools/get_ipv6_address.json +1 -3
- package/schemas/tools/get_ipv6_address_list_entry.json +1 -3
- package/schemas/tools/get_ipv6_dhcp_client.json +1 -3
- package/schemas/tools/get_ipv6_dhcp_relay.json +1 -3
- package/schemas/tools/get_ipv6_dhcp_server.json +1 -3
- package/schemas/tools/get_ipv6_filter_rule.json +1 -3
- package/schemas/tools/get_ipv6_mangle_rule.json +1 -3
- package/schemas/tools/get_ipv6_nat_rule.json +1 -3
- package/schemas/tools/get_ipv6_nd.json +1 -3
- package/schemas/tools/get_ipv6_neighbor.json +1 -3
- package/schemas/tools/get_ipv6_pool.json +1 -3
- package/schemas/tools/get_ipv6_raw_rule.json +1 -3
- package/schemas/tools/get_ipv6_route.json +1 -3
- package/schemas/tools/get_l2tp_client.json +1 -3
- package/schemas/tools/get_local_backup.json +1 -3
- package/schemas/tools/get_logs.json +2 -9
- package/schemas/tools/get_logs_by_severity.json +2 -10
- package/schemas/tools/get_logs_by_topic.json +1 -3
- package/schemas/tools/get_mangle_rule.json +1 -3
- package/schemas/tools/get_nat_rule.json +1 -3
- package/schemas/tools/get_netwatch.json +1 -3
- package/schemas/tools/get_ovpn_client.json +1 -3
- package/schemas/tools/get_poe_monitor.json +1 -3
- package/schemas/tools/get_poe_settings.json +1 -3
- package/schemas/tools/get_port.json +1 -3
- package/schemas/tools/get_ppp_profile.json +1 -3
- package/schemas/tools/get_ppp_secret.json +1 -3
- package/schemas/tools/get_pptp_client.json +1 -3
- package/schemas/tools/get_queue_interface.json +1 -3
- package/schemas/tools/get_queue_tree.json +1 -3
- package/schemas/tools/get_queue_type.json +1 -3
- package/schemas/tools/get_radius_server.json +1 -3
- package/schemas/tools/get_route.json +1 -3
- package/schemas/tools/get_routing_id.json +1 -3
- package/schemas/tools/get_routing_rule.json +1 -3
- package/schemas/tools/get_routing_table.json +1 -4
- package/schemas/tools/get_routing_table_def.json +1 -3
- package/schemas/tools/get_scheduler.json +1 -3
- package/schemas/tools/get_simple_queue.json +1 -3
- package/schemas/tools/get_sstp_client.json +1 -3
- package/schemas/tools/get_switch.json +1 -3
- package/schemas/tools/get_switch_port.json +1 -3
- package/schemas/tools/get_switch_port_isolation.json +1 -3
- package/schemas/tools/get_switch_rule.json +1 -3
- package/schemas/tools/get_traffic_monitor.json +1 -3
- package/schemas/tools/get_user.json +1 -3
- package/schemas/tools/get_user_group.json +1 -3
- package/schemas/tools/get_user_manager_user.json +1 -3
- package/schemas/tools/get_vlan_interface.json +1 -3
- package/schemas/tools/get_vxlan_tunnel.json +1 -3
- package/schemas/tools/get_wireguard_interface.json +1 -3
- package/schemas/tools/get_wireguard_peer.json +1 -3
- package/schemas/tools/get_wireless_interface.json +1 -3
- package/schemas/tools/get_wireless_security_profile.json +1 -3
- package/schemas/tools/harden_connection_tracking_helpers.json +1 -4
- package/schemas/tools/harden_dns_resolver_exposure.json +1 -4
- package/schemas/tools/harden_firewall.json +1 -6
- package/schemas/tools/harden_ip_service_exposure.json +1 -4
- package/schemas/tools/harden_kernel_ip_settings.json +1 -4
- package/schemas/tools/harden_management_plane_exposure.json +1 -4
- package/schemas/tools/harden_ssh_service.json +1 -4
- package/schemas/tools/import_certificate.json +1 -3
- package/schemas/tools/import_configuration.json +1 -5
- package/schemas/tools/import_ssh_host_key.json +1 -3
- package/schemas/tools/invoke_tool.json +1 -3
- package/schemas/tools/ip_scan.json +1 -3
- package/schemas/tools/list_address_lists.json +1 -3
- package/schemas/tools/list_backups.json +1 -3
- package/schemas/tools/list_bfd_sessions.json +1 -3
- package/schemas/tools/list_bgp_sessions.json +1 -3
- package/schemas/tools/list_config_snapshots.json +1 -3
- package/schemas/tools/list_connected_devices.json +1 -4
- package/schemas/tools/list_containers.json +1 -3
- package/schemas/tools/list_dhcp_servers.json +1 -4
- package/schemas/tools/list_disks.json +1 -3
- package/schemas/tools/list_dns_static.json +1 -4
- package/schemas/tools/list_dot1x_clients.json +1 -3
- package/schemas/tools/list_dot1x_servers.json +1 -3
- package/schemas/tools/list_filter_rules.json +1 -5
- package/schemas/tools/list_graphing.json +2 -8
- package/schemas/tools/list_interfaces.json +1 -4
- package/schemas/tools/list_ip_addresses.json +1 -4
- package/schemas/tools/list_ip_pools.json +1 -3
- package/schemas/tools/list_ipv6_address_lists.json +1 -3
- package/schemas/tools/list_ipv6_addresses.json +1 -5
- package/schemas/tools/list_ipv6_dhcp_bindings.json +1 -3
- package/schemas/tools/list_ipv6_dhcp_clients.json +1 -4
- package/schemas/tools/list_ipv6_dhcp_relays.json +1 -3
- package/schemas/tools/list_ipv6_dhcp_servers.json +1 -4
- package/schemas/tools/list_ipv6_filter_rules.json +1 -5
- package/schemas/tools/list_ipv6_mangle_rules.json +1 -5
- package/schemas/tools/list_ipv6_nat_rules.json +1 -5
- package/schemas/tools/list_ipv6_nd.json +1 -3
- package/schemas/tools/list_ipv6_nd_prefixes.json +1 -3
- package/schemas/tools/list_ipv6_neighbors.json +1 -3
- package/schemas/tools/list_ipv6_raw_rules.json +1 -5
- package/schemas/tools/list_ipv6_routes.json +1 -5
- package/schemas/tools/list_mangle_rules.json +1 -5
- package/schemas/tools/list_nat_rules.json +1 -4
- package/schemas/tools/list_ppp_secrets.json +1 -8
- package/schemas/tools/list_queue_trees.json +1 -4
- package/schemas/tools/list_routes.json +1 -6
- package/schemas/tools/list_routing_nexthops.json +1 -3
- package/schemas/tools/list_routing_rules.json +1 -3
- package/schemas/tools/list_s3_backups.json +1 -3
- package/schemas/tools/list_simple_queues.json +1 -4
- package/schemas/tools/list_switch_rules.json +1 -3
- package/schemas/tools/list_traffic_monitors.json +1 -3
- package/schemas/tools/list_user_manager_sessions.json +1 -3
- package/schemas/tools/list_user_ssh_keys.json +1 -3
- package/schemas/tools/list_users.json +1 -4
- package/schemas/tools/list_vlan_interfaces.json +1 -3
- package/schemas/tools/list_wireguard_interfaces.json +1 -4
- package/schemas/tools/list_wireguard_peers.json +1 -3
- package/schemas/tools/list_wireless_interfaces.json +1 -4
- package/schemas/tools/make_device_static.json +1 -3
- package/schemas/tools/memory_add_observations.json +2 -7
- package/schemas/tools/memory_create_entities.json +2 -7
- package/schemas/tools/memory_create_relations.json +2 -8
- package/schemas/tools/memory_delete_entities.json +1 -3
- package/schemas/tools/memory_delete_observations.json +2 -7
- package/schemas/tools/memory_delete_relations.json +2 -8
- package/schemas/tools/memory_open_nodes.json +1 -3
- package/schemas/tools/memory_search_nodes.json +1 -3
- package/schemas/tools/mirror_traffic_to_capture.json +2 -12
- package/schemas/tools/monitor_logs.json +1 -3
- package/schemas/tools/move_filter_rule.json +1 -4
- package/schemas/tools/move_ipv6_filter_rule.json +1 -4
- package/schemas/tools/move_ipv6_mangle_rule.json +1 -4
- package/schemas/tools/move_ipv6_nat_rule.json +1 -4
- package/schemas/tools/move_ipv6_raw_rule.json +1 -4
- package/schemas/tools/move_mangle_rule.json +1 -4
- package/schemas/tools/move_nat_rule.json +1 -4
- package/schemas/tools/onboard_wireguard_user.json +1 -8
- package/schemas/tools/packet_capture_status.json +1 -3
- package/schemas/tools/ping.json +1 -4
- package/schemas/tools/profile_cpu.json +1 -3
- package/schemas/tools/reboot_system.json +1 -3
- package/schemas/tools/release_ipv6_dhcp_client.json +1 -3
- package/schemas/tools/remove_address_list_entry.json +1 -3
- package/schemas/tools/remove_bfd_configuration.json +1 -3
- package/schemas/tools/remove_bgp_connection.json +1 -3
- package/schemas/tools/remove_bgp_template.json +1 -3
- package/schemas/tools/remove_bridge.json +1 -3
- package/schemas/tools/remove_bridge_port.json +1 -3
- package/schemas/tools/remove_certificate.json +1 -3
- package/schemas/tools/remove_config_snapshot.json +1 -3
- package/schemas/tools/remove_container_env.json +1 -4
- package/schemas/tools/remove_container_mount.json +1 -3
- package/schemas/tools/remove_device_lease.json +1 -3
- package/schemas/tools/remove_dhcp_client.json +1 -3
- package/schemas/tools/remove_dhcp_server.json +1 -3
- package/schemas/tools/remove_disk.json +1 -3
- package/schemas/tools/remove_dns_static.json +1 -3
- package/schemas/tools/remove_dot1x_client.json +1 -3
- package/schemas/tools/remove_dot1x_server.json +1 -3
- package/schemas/tools/remove_eoip_tunnel.json +1 -3
- package/schemas/tools/remove_file.json +1 -3
- package/schemas/tools/remove_filter_rule.json +1 -3
- package/schemas/tools/remove_graphing.json +2 -9
- package/schemas/tools/remove_gre_tunnel.json +1 -3
- package/schemas/tools/remove_igmp_proxy_interface.json +1 -3
- package/schemas/tools/remove_ip_address.json +1 -3
- package/schemas/tools/remove_ip_pool.json +1 -3
- package/schemas/tools/remove_ipip_tunnel.json +1 -3
- package/schemas/tools/remove_ipsec_identity.json +1 -3
- package/schemas/tools/remove_ipsec_peer.json +1 -3
- package/schemas/tools/remove_ipsec_policy.json +1 -3
- package/schemas/tools/remove_ipsec_profile.json +1 -3
- package/schemas/tools/remove_ipsec_proposal.json +1 -3
- package/schemas/tools/remove_ipv6_address.json +1 -3
- package/schemas/tools/remove_ipv6_address_list_entry.json +1 -3
- package/schemas/tools/remove_ipv6_dhcp_binding.json +1 -3
- package/schemas/tools/remove_ipv6_dhcp_client.json +1 -3
- package/schemas/tools/remove_ipv6_dhcp_option.json +1 -3
- package/schemas/tools/remove_ipv6_dhcp_relay.json +1 -3
- package/schemas/tools/remove_ipv6_dhcp_server.json +1 -3
- package/schemas/tools/remove_ipv6_filter_rule.json +1 -3
- package/schemas/tools/remove_ipv6_mangle_rule.json +1 -3
- package/schemas/tools/remove_ipv6_nat_rule.json +1 -3
- package/schemas/tools/remove_ipv6_nd.json +1 -3
- package/schemas/tools/remove_ipv6_nd_prefix.json +1 -3
- package/schemas/tools/remove_ipv6_neighbor.json +1 -3
- package/schemas/tools/remove_ipv6_pool.json +1 -3
- package/schemas/tools/remove_ipv6_raw_rule.json +1 -3
- package/schemas/tools/remove_ipv6_route.json +1 -3
- package/schemas/tools/remove_l2tp_client.json +1 -3
- package/schemas/tools/remove_logging_action.json +1 -3
- package/schemas/tools/remove_logging_rule.json +1 -3
- package/schemas/tools/remove_mangle_rule.json +1 -3
- package/schemas/tools/remove_nat_rule.json +1 -3
- package/schemas/tools/remove_netwatch.json +1 -3
- package/schemas/tools/remove_ospf_area.json +1 -3
- package/schemas/tools/remove_ospf_area_range.json +1 -3
- package/schemas/tools/remove_ospf_instance.json +1 -3
- package/schemas/tools/remove_ospf_interface_template.json +1 -3
- package/schemas/tools/remove_ovpn_client.json +1 -3
- package/schemas/tools/remove_ovpn_server.json +1 -3
- package/schemas/tools/remove_pimsm_instance.json +1 -3
- package/schemas/tools/remove_pimsm_interface_template.json +1 -3
- package/schemas/tools/remove_pimsm_rp.json +1 -3
- package/schemas/tools/remove_ppp_profile.json +1 -3
- package/schemas/tools/remove_ppp_secret.json +1 -3
- package/schemas/tools/remove_pptp_client.json +1 -3
- package/schemas/tools/remove_queue_tree.json +1 -3
- package/schemas/tools/remove_queue_type.json +1 -3
- package/schemas/tools/remove_radius_server.json +1 -3
- package/schemas/tools/remove_rip_instance.json +1 -3
- package/schemas/tools/remove_rip_interface_template.json +1 -3
- package/schemas/tools/remove_rip_static_neighbor.json +1 -3
- package/schemas/tools/remove_romon_port.json +1 -3
- package/schemas/tools/remove_route.json +1 -3
- package/schemas/tools/remove_routing_filter_num_list.json +1 -3
- package/schemas/tools/remove_routing_filter_rule.json +1 -3
- package/schemas/tools/remove_routing_id.json +1 -3
- package/schemas/tools/remove_routing_rule.json +1 -3
- package/schemas/tools/remove_routing_table.json +1 -3
- package/schemas/tools/remove_rpki_session.json +1 -3
- package/schemas/tools/remove_scheduler.json +1 -3
- package/schemas/tools/remove_script.json +1 -3
- package/schemas/tools/remove_simple_queue.json +1 -3
- package/schemas/tools/remove_sstp_client.json +1 -3
- package/schemas/tools/remove_switch_port_isolation.json +1 -3
- package/schemas/tools/remove_switch_rule.json +1 -3
- package/schemas/tools/remove_threat_feed.json +1 -3
- package/schemas/tools/remove_time_policy.json +1 -3
- package/schemas/tools/remove_traffic_generator_port.json +1 -3
- package/schemas/tools/remove_traffic_generator_stream.json +1 -3
- package/schemas/tools/remove_traffic_monitor.json +1 -3
- package/schemas/tools/remove_user.json +1 -3
- package/schemas/tools/remove_user_group.json +1 -3
- package/schemas/tools/remove_user_manager_limitation.json +1 -3
- package/schemas/tools/remove_user_manager_profile.json +1 -3
- package/schemas/tools/remove_user_manager_router.json +1 -3
- package/schemas/tools/remove_user_manager_user.json +1 -3
- package/schemas/tools/remove_user_ssh_key.json +1 -3
- package/schemas/tools/remove_vlan_interface.json +1 -3
- package/schemas/tools/remove_vxlan_tunnel.json +1 -3
- package/schemas/tools/remove_wireguard_interface.json +1 -3
- package/schemas/tools/remove_wireguard_peer.json +1 -3
- package/schemas/tools/remove_wireless_access_list_entry.json +1 -3
- package/schemas/tools/remove_wireless_interface.json +1 -3
- package/schemas/tools/remove_wireless_security_profile.json +1 -3
- package/schemas/tools/rename_local_backup.json +1 -4
- package/schemas/tools/renew_dhcp_client.json +1 -4
- package/schemas/tools/renew_ipv6_dhcp_client.json +1 -3
- package/schemas/tools/request_letsencrypt_certificate.json +1 -3
- package/schemas/tools/reset_configuration.json +1 -3
- package/schemas/tools/resolve_dns.json +1 -3
- package/schemas/tools/restore_backup.json +1 -3
- package/schemas/tools/restore_local_backup.json +1 -4
- package/schemas/tools/revoke_wireguard_user.json +1 -3
- package/schemas/tools/run_capsman_audit.json +1 -7
- package/schemas/tools/run_compliance_audit.json +2 -9
- package/schemas/tools/run_failover_drill.json +2 -11
- package/schemas/tools/run_routeros_command.json +1 -3
- package/schemas/tools/run_script.json +1 -3
- package/schemas/tools/s3_backup_info.json +1 -3
- package/schemas/tools/save_sniffer.json +1 -3
- package/schemas/tools/scan_wireless_networks.json +1 -4
- package/schemas/tools/search_logs.json +1 -4
- package/schemas/tools/send_sms.json +1 -5
- package/schemas/tools/set_aaa_settings.json +2 -8
- package/schemas/tools/set_bfd_configuration_enabled.json +1 -4
- package/schemas/tools/set_bgp_connection_enabled.json +1 -4
- package/schemas/tools/set_device_ip.json +1 -4
- package/schemas/tools/set_device_label.json +1 -4
- package/schemas/tools/set_device_limits.json +1 -3
- package/schemas/tools/set_dhcp_client.json +1 -3
- package/schemas/tools/set_disk.json +1 -3
- package/schemas/tools/set_dns_servers.json +1 -6
- package/schemas/tools/set_igmp_proxy_interface_enabled.json +1 -4
- package/schemas/tools/set_ip_cloud_advanced.json +1 -3
- package/schemas/tools/set_ip_service.json +1 -3
- package/schemas/tools/set_l2tp_server.json +2 -9
- package/schemas/tools/set_leds_settings.json +1 -6
- package/schemas/tools/set_neighbor_discovery_settings.json +1 -5
- package/schemas/tools/set_ntp_client.json +1 -6
- package/schemas/tools/set_ovpn_server.json +3 -12
- package/schemas/tools/set_port.json +3 -13
- package/schemas/tools/set_routing_filter_rule_enabled.json +1 -4
- package/schemas/tools/set_routing_id_enabled.json +1 -4
- package/schemas/tools/set_routing_rule_enabled.json +1 -4
- package/schemas/tools/set_routing_table_enabled.json +1 -4
- package/schemas/tools/set_rpki_session_enabled.json +1 -4
- package/schemas/tools/set_ssh_settings.json +2 -10
- package/schemas/tools/set_sstp_server.json +1 -4
- package/schemas/tools/set_system_identity.json +1 -3
- package/schemas/tools/set_time_policy.json +1 -7
- package/schemas/tools/set_user_ssh_keys.json +1 -4
- package/schemas/tools/set_wireless_security_profile.json +1 -4
- package/schemas/tools/setup_port_knock.json +1 -7
- package/schemas/tools/setup_wan_failover.json +2 -11
- package/schemas/tools/setup_wan_loadbalance.json +2 -10
- package/schemas/tools/share_disk.json +1 -3
- package/schemas/tools/shutdown_system.json +1 -3
- package/schemas/tools/sign_certificate.json +1 -3
- package/schemas/tools/speed_test.json +1 -4
- package/schemas/tools/start_packet_capture.json +1 -4
- package/schemas/tools/steer_client.json +2 -8
- package/schemas/tools/subscribe_threat_feed.json +1 -8
- package/schemas/tools/suggest_fix.json +1 -3
- package/schemas/tools/test_dns_query.json +1 -4
- package/schemas/tools/test_ssh_from_device.json +1 -6
- package/schemas/tools/test_ssh_to_host.json +1 -6
- package/schemas/tools/trace_path.json +1 -5
- package/schemas/tools/traceroute.json +1 -4
- package/schemas/tools/tune_wifi_channel.json +1 -5
- package/schemas/tools/update_bfd_configuration.json +1 -3
- package/schemas/tools/update_bgp_connection.json +1 -3
- package/schemas/tools/update_bridge.json +5 -26
- package/schemas/tools/update_dns_static.json +1 -3
- package/schemas/tools/update_dot1x_client.json +1 -3
- package/schemas/tools/update_dot1x_server.json +3 -12
- package/schemas/tools/update_filter_rule.json +1 -3
- package/schemas/tools/update_igmp_proxy_interface.json +1 -3
- package/schemas/tools/update_ip_pool.json +1 -3
- package/schemas/tools/update_ipsec_peer.json +2 -8
- package/schemas/tools/update_ipsec_profile.json +1 -3
- package/schemas/tools/update_ipsec_proposal.json +1 -3
- package/schemas/tools/update_ipv6_filter_rule.json +1 -3
- package/schemas/tools/update_ipv6_mangle_rule.json +1 -3
- package/schemas/tools/update_ipv6_nat_rule.json +1 -3
- package/schemas/tools/update_ipv6_nd.json +2 -8
- package/schemas/tools/update_ipv6_pool.json +1 -3
- package/schemas/tools/update_ipv6_raw_rule.json +1 -3
- package/schemas/tools/update_ipv6_settings.json +3 -15
- package/schemas/tools/update_mac_ping.json +1 -3
- package/schemas/tools/update_mac_server.json +1 -3
- package/schemas/tools/update_mac_winbox.json +1 -3
- package/schemas/tools/update_mangle_rule.json +1 -3
- package/schemas/tools/update_nat_rule.json +1 -3
- package/schemas/tools/update_ospf_instance.json +1 -3
- package/schemas/tools/update_ovpn_server.json +4 -15
- package/schemas/tools/update_ppp_profile.json +6 -30
- package/schemas/tools/update_ppp_secret.json +2 -11
- package/schemas/tools/update_queue_interface.json +1 -4
- package/schemas/tools/update_queue_tree.json +1 -3
- package/schemas/tools/update_queue_type.json +1 -3
- package/schemas/tools/update_radius_server.json +2 -7
- package/schemas/tools/update_rip_instance.json +1 -3
- package/schemas/tools/update_route.json +1 -3
- package/schemas/tools/update_routing_filter_rule.json +1 -3
- package/schemas/tools/update_routing_id.json +1 -3
- package/schemas/tools/update_routing_rule.json +2 -9
- package/schemas/tools/update_routing_settings.json +2 -10
- package/schemas/tools/update_routing_table.json +1 -3
- package/schemas/tools/update_rpki_session.json +1 -3
- package/schemas/tools/update_simple_queue.json +1 -3
- package/schemas/tools/update_sniffer_settings.json +2 -9
- package/schemas/tools/update_switch.json +1 -3
- package/schemas/tools/update_switch_port.json +3 -14
- package/schemas/tools/update_switch_port_isolation.json +1 -3
- package/schemas/tools/update_switch_rule.json +2 -8
- package/schemas/tools/update_traffic_monitor.json +3 -12
- package/schemas/tools/update_user.json +1 -3
- package/schemas/tools/update_user_group.json +1 -3
- package/schemas/tools/update_user_manager_user.json +1 -3
- package/schemas/tools/update_vlan_interface.json +3 -14
- package/schemas/tools/update_wireguard_interface.json +1 -3
- package/schemas/tools/update_wireguard_peer.json +1 -3
- package/schemas/tools/update_wireless_interface.json +6 -36
- package/schemas/tools/upload_backup_to_s3.json +1 -3
- package/schemas/tools/upload_file.json +1 -4
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
8
|
-
|
|
9
|
-
| `config.schema.json` | The runtime configuration object (env vars / CLI flags).
|
|
10
|
-
| `tool-catalog.json`
|
|
11
|
-
| `tools/<name>.json`
|
|
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": {
|