ubiquiti-unifi-blade-mcp

v0.9.2
ubiquiti-unifi-blade-mcp Checked 4 days ago Published 5 months ago

Ubiquiti 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.

ParameterTypeDescription
controllerController name (omit for all controllers)

unifi_sites Unifi Sites

List sites on the controller.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
network_id *stringNetwork ID (from unifi_networks)
controllerController; omit→default (writes need it if >1)

unifi_zones Unifi Zones

List UniFi network/firewall zones, including the IDs accepted by unifi_create_network.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_devices Unifi Devices

List all network devices (APs, switches, gateways) with status, model, clients, uptime, firmware.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
mac *stringDevice MAC address (from unifi_devices)
controllerController; omit→default (writes need it if >1)

unifi_clients Unifi Clients

List connected clients: name, IP, SSID/wired, signal, experience score, blocked status.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
mac *stringClient MAC address (from unifi_clients)
controllerController; 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.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_wlans Unifi Wlans

List all WLANs (SSIDs): name, enabled/disabled, security type, guest flag.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_firewall Unifi Firewall

Firewall policies: name, enabled/disabled, action, source/destination zones.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_traffic_routes Unifi Traffic Routes

Traffic routes: description, enabled/disabled, matching target.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_traffic_rules Unifi Traffic Rules

Traffic rules: description, enabled/disabled, action, matching target.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_port_forwards Unifi Port Forwards

Port forwarding rules: name, enabled/disabled, protocol, external → internal mapping.

ParameterTypeDescription
controllerController; omit→default (writes need it if >1)

unifi_dpi Unifi Dpi

DPI restriction groups and apps: name, enabled/disabled.

ParameterTypeDescription
controllerController; 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.

ParameterTypeDescription
mac *stringClient MAC address to block
confirmbooleanMust be true to confirm — blocks client from network
controllerController; omit→default (writes need it if >1)

unifi_unblock_client Unifi Unblock Client

Unblock a previously blocked client. Requires UNIFI_WRITE_ENABLED=true.

ParameterTypeDescription
mac *stringClient MAC address to unblock
controllerController; omit→default (writes need it if >1)

unifi_reconnect_client Unifi Reconnect Client

Force a wireless client to reconnect. Requires UNIFI_WRITE_ENABLED=true.

ParameterTypeDescription
mac *stringClient MAC address to reconnect
controllerController; omit→default (writes need it if >1)

unifi_toggle_wlan Unifi Toggle Wlan

Enable or disable a WLAN (SSID). Requires UNIFI_WRITE_ENABLED=true.

ParameterTypeDescription
enable *booleanTrue to enable, false to disable
wlan_id *stringWLAN ID (from unifi_wlans)
controllerController; 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.

ParameterTypeDescription
enable *booleanTrue to enable, false to disable
route_id *stringTraffic route ID (from unifi_traffic_routes)
controllerController; 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.

ParameterTypeDescription
mac *stringDevice MAC address (from unifi_devices)
confirmbooleanMust be true to confirm — device will be offline during restart
controllerController; 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.

ParameterTypeDescription
name *stringNetwork name (e.g. 'Services')
vlan_id *integerVLAN ID (e.g. 40); use 0 for the default/untagged network
confirmbooleanMust be true to confirm — creates a network/VLAN
controllerController; omit→default (writes need it if >1)
dhcp_modestringDHCP mode: 'server' (default) or 'none'
dhcp_startDHCP range start, e.g. '10.1.40.100'
dhcp_stopDHCP range end, e.g. '10.1.40.200'
domain_namestringDHCP search domain (e.g. 'svc.lan'); omit for none
enabledbooleanWhether the network is enabled
gatewayGateway IP, e.g. '10.1.40.254'
internet_accessbooleanAllow internet access (default true)
isolatedbooleanIsolate this network (no inter-VLAN routing)
lease_secondsintegerDHCP lease time in seconds (default 86400)
ping_conflictbooleanDHCP ping conflict detection (default true)
purposestringNetwork purpose (corporate, guest, vlan-only)
subnetCIDR with gateway host, e.g. '10.1.40.254/24'
zone_idUniFi network/firewall zone ID; see unifi_zones
zone_nameUniFi 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.

ParameterTypeDescription
network_id *stringNetwork ID (from unifi_networks)
confirmbooleanMust be true to confirm — modifies a network/VLAN
controllerController; omit→default (writes need it if >1)
dhcp_startNew DHCP range start, e.g. '10.1.40.100'
dhcp_stopNew DHCP range end, e.g. '10.1.40.200'
domain_nameNew DHCP search domain (e.g. 'svc.lan')
enabledEnable/disable the network
gatewayNew gateway IP
internet_accessAllow internet access
isolatedIsolate this network (no inter-VLAN routing)
lease_secondsNew DHCP lease time in seconds
nameNew name
ping_conflictToggle DHCP ping conflict detection
subnetNew CIDR, e.g. '10.1.40.254/24'
vlan_idNew VLAN ID

unifi_delete_network Unifi Delete Network

Delete a network/VLAN. Requires UNIFI_API_KEY, UNIFI_WRITE_ENABLED=true and confirm=true.

ParameterTypeDescription
network_id *stringNetwork ID (from unifi_networks)
confirmbooleanMust be true to confirm — permanently deletes the network
controllerController; 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.

ParameterTypeDescription
resource *stringIntegration-API resource to list
controllerController; 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.

ParameterTypeDescription
item_id *stringItem id (from unifi_resource_list)
resource *stringIntegration-API resource
controllerController; 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.

ParameterTypeDescription
body *objectRaw JSON body per the v10.x Integration-API schema for this resource
resource *stringIntegration-API resource (must be writable)
confirmbooleanMust be true to confirm the create
controllerController; 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.

ParameterTypeDescription
body *objectPartial 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 *stringItem id (from unifi_resource_list)
resource *stringIntegration-API resource (must be writable)
confirmbooleanMust be true to confirm the update
controllerController; 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.

ParameterTypeDescription
item_id *stringItem id (from unifi_resource_list)
resource *stringIntegration-API resource (must be writable)
confirmbooleanMust be true to confirm — permanent
controllerController; omit→default (writes need it if >1)