UniFi MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| unifi_list_clientsB | Lists clients connected to the gateway with type, IP and MAC address, connection time, and uplink device. Filters by type or a name, IP, or MAC substring. |
| unifi_list_devicesB | Lists adopted UniFi devices with model, state, IP and MAC address, firmware version, and whether an update is available. |
| unifi_list_networksA | Lists networks with their VLAN IDs, enabled state, management type, and firewall zone. |
| unifi_list_wifi_broadcastsA | Lists Wi-Fi SSIDs with enabled state, security type, and assigned network. Never returns passphrases. |
| unifi_list_firewall_policiesA | Lists firewall policies in gateway order with action, source and destination zones and network selectors (resolved to names), IP version, and logging. Optionally only user-defined policies. |
| unifi_readA | Runs one documented Network API read (operation names follow the API, such as getDnsPolicyPage, getAclRule, getAdoptedDeviceLatestStatistics, getWans) and returns its documented fields. Pass path IDs and offset, limit (most lists allow at most 200), or filter in params; the site is supplied automatically. Wi-Fi passphrases and voucher codes are never returned. |
| unifi_internal_readA | Runs one named read on the Network application's internal, unofficial API, for what the documented API lacks. activeClients: Connected clients with IP, network, AP or switch port, signal, uptime, and traffic. knownClients: Every client the gateway remembers, with name, note, fixed IP, and first and last seen. health: Status of WAN, LAN, WLAN, and VPN: counts, WAN IP, ISP, latency, and throughput. devices: Devices with firmware and available upgrades, radio settings and stats, and port tables. rogueAps: Neighboring access points seen in the last 24 hours. portForwards: Port forwarding rules: what is reachable from the internet. routes: Static routes. portProfiles: Switch port profiles: which networks a port carries, PoE, isolation, and speed. systemLog: Recent system log events, admin (AUDIT) and client and device (CLIENT_DEVICES) alike: what happened to which client, device, network, or admin, and when. params: hours (1-168, default 24), limit (1-100, default 50). Returns only allowlisted fields; credentials are never included. |
| unifi_inspect_deviceA | Gets one adopted device's details (ports, radios, uplink, firmware) and its latest statistics (uptime, CPU, memory, traffic) in one call. |
| unifi_preview_changeA | Plans one documented Network API write without applying it. For updates, pass only the fields to change in |
| unifi_preview_batchA | Plans up to 25 routine changes, such as client renames, notes, or DNS record edits, for one approval code. Each change takes the same operation, params, and changes as unifi_preview_change and is planned exactly as it would be alone. Refuses disruptive or destructive changes and more than one change per target; preview those singly. Returns every plan and its rollback; the owner gets one code through |
| unifi_apply_changeA | Applies the previewed change or batch with the owner's one-time approval code, then reads each target back and reports what changed. A batch applies in order and stops at the first change that does not apply; status partial lists results and what was not attempted. Refuses unapproved, mismatched, expired, reused, and stale approvals. Use the returned rollback to undo. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
The set has a clear split between specific list tools, generic read escapes (unifi_read / unifi_internal_read), an inspection tool, and a preview/apply write flow, so most selections are unambiguous. There is mild overlap: unifi_list_devices vs unifi_inspect_device vs unifi_internal_read(devices), and unifi_list_clients vs unifi_internal_read(activeClients/knownClients) all touch similar data, and the two generic read tools differ mainly on documented-vs-internal API. Descriptions do explain the distinction, keeping it at a solid 4.
All 11 names share a unifi_ prefix and snake_case, and most follow verb_noun (list_clients, preview_change, inspect_device, apply_change). The exceptions are unifi_read and unifi_internal_read, which are bare verbs without an object, a minor deviation from the pattern. Predictable overall with only that small inconsistency.
11 tools is well within the sweet spot, and each earns its place: five resource-specific listers, two generic read escapes, one inspection shortcut, and a three-tool preview/preview_batch/apply write pipeline. Nothing feels redundant or bolted on.
Read coverage is broad (clients, devices, networks, SSIDs, firewall policies, plus generic documented and internal reads) and writes are covered generically through the preview/apply broker, including batch and rollback. Gaps are minor: approval management is punted to `sudo … pending` outside the toolset (no list/cancel pending approvals), and some resources like DNS records, routes, and port forwards are only reachable indirectly via the generic read tools.