ubiquiti-unifi-blade-mcp
v0.9.2Ubiquiti UniFi MCP Server — monitoring, security, and full Integration-API resource management (networks/VLANs, WiFi, firewall, ACL, DNS, vouchers)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
unifi_controllers Unifi Controllers
List the UniFi controllers (consoles) this server is configured for. Zero-network. Returns the names accepted by every tool's ``controller`` argument, each console's host, and which one is the default (used when ``controller`` is omitted on read tools). Call this first when more than one console may be configured — mutating tools require an explicit ``controller`` in that case.
unifi_info Unifi Info
Health check: controller version, hostname, site, device count, client count, write gate.
| Parameter | Type | Description |
|---|---|---|
controller | Controller name (omit for all controllers) |
unifi_sites Unifi Sites
List sites on the controller.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_networks Unifi Networks
List networks/VLANs: name, VLAN id, enabled/disabled, purpose, subnet. Requires UNIFI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_network Unifi Network
Full detail for a single network/VLAN: VLAN id, subnet, gateway, purpose. Requires UNIFI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
network_id * | string | Network ID (from unifi_networks) |
controller | Controller; omit→default (writes need it if >1) |
unifi_zones Unifi Zones
List UniFi network/firewall zones, including the IDs accepted by unifi_create_network.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_dns_records Unifi Dns Records
List Local DNS Records: name, DNS type, normalized value, TTL, enabled/disabled. Requires UNIFI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_devices Unifi Devices
List all network devices (APs, switches, gateways) with status, model, clients, uptime, firmware.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_device Unifi Device
Full detail for a single device: model, firmware, uptime, port table with PoE, client count.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Device MAC address (from unifi_devices) |
controller | Controller; omit→default (writes need it if >1) |
unifi_clients Unifi Clients
List connected clients: name, IP, SSID/wired, signal, experience score, blocked status.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_client Unifi Client
Full detail for a single client: IP, network, SSID, signal, experience, TX/RX, vendor, AP.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Client MAC address (from unifi_clients) |
controller | Controller; omit→default (writes need it if >1) |
unifi_dhcp_reservations Unifi Dhcp Reservations
List DHCP Reservations, including offline clients: name, MAC, reserved IP, network evidence.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_wlans Unifi Wlans
List all WLANs (SSIDs): name, enabled/disabled, security type, guest flag.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_firewall Unifi Firewall
Firewall policies: name, enabled/disabled, action, source/destination zones.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_traffic_routes Unifi Traffic Routes
Traffic routes: description, enabled/disabled, matching target.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_traffic_rules Unifi Traffic Rules
Traffic rules: description, enabled/disabled, action, matching target.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_port_forwards Unifi Port Forwards
Port forwarding rules: name, enabled/disabled, protocol, external → internal mapping.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_dpi Unifi Dpi
DPI restriction groups and apps: name, enabled/disabled.
| Parameter | Type | Description |
|---|---|---|
controller | Controller; omit→default (writes need it if >1) |
unifi_block_client Unifi Block Client
Block a client from the network. Requires UNIFI_WRITE_ENABLED=true and confirm=true.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Client MAC address to block |
confirm | boolean | Must be true to confirm — blocks client from network |
controller | Controller; omit→default (writes need it if >1) |
unifi_unblock_client Unifi Unblock Client
Unblock a previously blocked client. Requires UNIFI_WRITE_ENABLED=true.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Client MAC address to unblock |
controller | Controller; omit→default (writes need it if >1) |
unifi_reconnect_client Unifi Reconnect Client
Force a wireless client to reconnect. Requires UNIFI_WRITE_ENABLED=true.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Client MAC address to reconnect |
controller | Controller; omit→default (writes need it if >1) |
unifi_toggle_wlan Unifi Toggle Wlan
Enable or disable a WLAN (SSID). Requires UNIFI_WRITE_ENABLED=true.
| Parameter | Type | Description |
|---|---|---|
enable * | boolean | True to enable, false to disable |
wlan_id * | string | WLAN ID (from unifi_wlans) |
controller | Controller; omit→default (writes need it if >1) |
unifi_toggle_traffic_route Unifi Toggle Traffic Route
Enable or disable a traffic route. Requires UNIFI_WRITE_ENABLED=true.
| Parameter | Type | Description |
|---|---|---|
enable * | boolean | True to enable, false to disable |
route_id * | string | Traffic route ID (from unifi_traffic_routes) |
controller | Controller; omit→default (writes need it if >1) |
unifi_restart_device Unifi Restart Device
Restart a network device (AP, switch, gateway). Requires UNIFI_WRITE_ENABLED=true and confirm=true.
| Parameter | Type | Description |
|---|---|---|
mac * | string | Device MAC address (from unifi_devices) |
confirm | boolean | Must be true to confirm — device will be offline during restart |
controller | Controller; omit→default (writes need it if >1) |
unifi_create_network Unifi Create Network
Create a network/VLAN. Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true and confirm=true.
| Parameter | Type | Description |
|---|---|---|
name * | string | Network name (e.g. 'Services') |
vlan_id * | integer | VLAN ID (e.g. 40); use 0 for the default/untagged network |
confirm | boolean | Must be true to confirm — creates a network/VLAN |
controller | Controller; omit→default (writes need it if >1) | |
dhcp_mode | string | DHCP mode: 'server' (default) or 'none' |
dhcp_start | DHCP range start, e.g. '10.1.40.100' | |
dhcp_stop | DHCP range end, e.g. '10.1.40.200' | |
domain_name | string | DHCP search domain (e.g. 'svc.lan'); omit for none |
enabled | boolean | Whether the network is enabled |
gateway | Gateway IP, e.g. '10.1.40.254' | |
internet_access | boolean | Allow internet access (default true) |
isolated | boolean | Isolate this network (no inter-VLAN routing) |
lease_seconds | integer | DHCP lease time in seconds (default 86400) |
ping_conflict | boolean | DHCP ping conflict detection (default true) |
purpose | string | Network purpose (corporate, guest, vlan-only) |
subnet | CIDR with gateway host, e.g. '10.1.40.254/24' | |
zone_id | UniFi network/firewall zone ID; see unifi_zones | |
zone_name | UniFi network/firewall zone name to resolve to zoneId; see unifi_zones |
unifi_update_network Unifi Update Network
Update a network/VLAN (only supplied fields, read-merge-write so omitted fields are preserved). Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true, confirm=true.
| Parameter | Type | Description |
|---|---|---|
network_id * | string | Network ID (from unifi_networks) |
confirm | boolean | Must be true to confirm — modifies a network/VLAN |
controller | Controller; omit→default (writes need it if >1) | |
dhcp_start | New DHCP range start, e.g. '10.1.40.100' | |
dhcp_stop | New DHCP range end, e.g. '10.1.40.200' | |
domain_name | New DHCP search domain (e.g. 'svc.lan') | |
enabled | Enable/disable the network | |
gateway | New gateway IP | |
internet_access | Allow internet access | |
isolated | Isolate this network (no inter-VLAN routing) | |
lease_seconds | New DHCP lease time in seconds | |
name | New name | |
ping_conflict | Toggle DHCP ping conflict detection | |
subnet | New CIDR, e.g. '10.1.40.254/24' | |
vlan_id | New VLAN ID |
unifi_delete_network Unifi Delete Network
Delete a network/VLAN. Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true and confirm=true.
| Parameter | Type | Description |
|---|---|---|
network_id * | string | Network ID (from unifi_networks) |
confirm | boolean | Must be true to confirm — permanently deletes the network |
controller | Controller; omit→default (writes need it if >1) |
unifi_resource_list Unifi Resource List
List items of an Integration-API resource (wifi, firewall_policies, acl_rules, dns_policies, vouchers, …). Requires UNIFI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
resource * | string | Integration-API resource to list |
controller | Controller; omit→default (writes need it if >1) |
unifi_resource_get Unifi Resource Get
Full detail for one Integration-API resource item. Requires UNIFI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Item id (from unifi_resource_list) |
resource * | string | Integration-API resource |
controller | Controller; omit→default (writes need it if >1) |
unifi_resource_create Unifi Resource Create
Create an Integration-API resource item from a raw body. Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true, confirm=true.
| Parameter | Type | Description |
|---|---|---|
body * | object | Raw JSON body per the v10.x Integration-API schema for this resource |
resource * | string | Integration-API resource (must be writable) |
confirm | boolean | Must be true to confirm the create |
controller | Controller; omit→default (writes need it if >1) |
unifi_resource_update Unifi Resource Update
Update an Integration-API resource item (non-destructive read-merge PUT). Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true, confirm=true.
| Parameter | Type | Description |
|---|---|---|
body * | object | Partial JSON body per the v10.x Integration-API schema — read-merged over the current object before PUT (unspecified fields preserved; read-only keys stripped) |
item_id * | string | Item id (from unifi_resource_list) |
resource * | string | Integration-API resource (must be writable) |
confirm | boolean | Must be true to confirm the update |
controller | Controller; omit→default (writes need it if >1) |
unifi_resource_delete Unifi Resource Delete
Delete an Integration-API resource item. Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true, confirm=true.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Item id (from unifi_resource_list) |
resource * | string | Integration-API resource (must be writable) |
confirm | boolean | Must be true to confirm — permanent |
controller | Controller; omit→default (writes need it if >1) |