Skip to content

Network MCP: firewall-zone CRUD (create/update/delete) write paths #572

Description

@dneto82

Summary

Add firewall-zone create/update/delete to the Network MCP server. Zones are currently read-only (unifi_list_firewall_zones); there is no way to create, rename, or delete them.

Proposed tools:

  • unifi_create_firewall_zone
  • unifi_update_firewall_zone
  • unifi_delete_firewall_zone

Zone writes go through the integration API (/v1/sites/{site}/firewall/zones); the V2 POST /firewall/zone silently no-ops, so UNIFI_API_KEY is required. The manager should bridge the integration UUID id ↔ V2 external_id so the created zone exposes the V2 _id that firewall_zone_id (on networks) expects, and refuse deletion of default_zone (SYSTEM_DEFINED) zones.

Motivation

Zone-based firewall policies require custom zones (e.g. IoT, Guest, DMZ) to be created before networks can be assigned to them, which currently has to be done manually in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions