unifi-security-tools
Installation
SKILL.md
UniFi Security Tools
These tools change who can reach what on the network, so a mistake can lock users or the operator out. Read this before you change one. For the general add-a-tool workflow, see unifi-mcp-tool-builder. For zone-based firewall (ZBF) background, see zbf-implementation-guide.md in the .claude/skills/ directory.
Module map
| Module | Tools | API | Examples |
|---|---|---|---|
src/tools/firewall.py |
4 | legacy | list_firewall_rules, create_firewall_rule |
src/tools/firewall_policies.py |
7 | v2 and integration | list_firewall_policies, create_firewall_policy, get_zone_policy_matrix |
src/tools/firewall_zones.py |
7 | integration | assign_network_to_zone, unassign_network_from_zone |
src/tools/firewall_groups.py |
7 | legacy | create_port_group, create_address_group, delete_firewall_group |
src/tools/acls.py |
5 | integration | list_acl_rules, create_acl_rule |
src/tools/traffic_matching_lists.py |
5 | integration | list_traffic_matching_lists, create_traffic_matching_list |
src/tools/content_filtering.py |
4 | v2 | list_content_filters, update_content_filter |
src/tools/port_forwarding.py |
4 | legacy | list_port_forwards, create_port_forward |
src/tools/radius.py |
17 | legacy | list_radius_profiles, configure_guest_portal |
src/tools/zbf_matrix.py holds 7 stubs that raise NotImplementedError. src/main.py does not import it, so none of them is registered. The UniFi API has no zone-matrix endpoint; API.md lists those tools as removed.