unifi

v1.13.3
io.github.us-all/unifi Checked 1 hour ago Published 5 months ago

UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list-sites-overview

Get a health overview of all UniFi sites with status, issues, and device counts

ParameterTypeDescription
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…

analyze-site-health

Analyze health of a specific site by name (e.g., 'USM'). Returns device status, WAN info, reboot detection

ParameterTypeDescription
name *stringSite host name (e.g., 'USM', 'USV', 'USA', 'USS', 'USC')
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…

detect-recent-reboots

Detect devices that rebooted within a time window. Checks all sites by default

ParameterTypeDescription
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…
hoursnumberLook back period in hours (default: 24)
namestringSite host name to check (omit for all sites)

compare-sites

Side-by-side comparison of all (or selected) sites: device count, online %, WAN avg/min uptime, gateway. Use to spot fleet outliers.

ParameterTypeDescription
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…
namesarraySpecific site host names to compare (omit for all)

firmware-inventory

Group all devices by firmware version + model and surface outdated devices. Helps detect fleet inconsistency and pending upgrades.

ParameterTypeDescription
groupBystringGrouping mode (default: version-and-model)

wan-uptime-trend

Aggregate WAN uptime across all sites with severity flagging (default threshold 95%). Returns per-WAN sorted by lowest uptime first.

ParameterTypeDescription
thresholdnumberUptime % threshold below which WAN is flagged (default: 95)

top-clients-by-bandwidth

Top N clients by bandwidth on a site (combined / tx-only / rx-only). Requires Cloud Connector (UNIFI_API_KEY_OWNER).

ParameterTypeDescription
name *stringSite host name (e.g., 'USM')
limitnumberMax clients to fetch from API (default: 200)
metricstringBandwidth metric: combined (tx+rx), tx-only, rx-only
topNnumberNumber of top clients to return (default: 10)

list-hosts

List all UniFi console hosts (UDM, UDM Pro, Cloud Key, etc.)

ParameterTypeDescription
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…

get-host

Get detailed information about a specific host by ID

ParameterTypeDescription
id *stringHost ID

list-sites

List all sites with statistics (device counts, WAN status, ISP info)

list-devices

List all devices across hosts (switches, APs, gateways, cameras)

ParameterTypeDescription
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…
hostIdstringFilter by host ID
typestringFilter by device type (e.g., 'uap', 'usw', 'ugw')

get-isp-metrics

Get ISP performance metrics. May be unavailable depending on account

query-isp-metrics

Query ISP metrics with filters. May be unavailable depending on account

ParameterTypeDescription
durationstringTime duration (e.g., '1h', '24h', '7d')
hostIdsarrayFilter by host IDs
metricTypestringType of ISP metric to query
siteIdsarrayFilter by site IDs

list-sdwan-configs

List all SD-WAN configurations

get-sdwan-config

Get a specific SD-WAN configuration by ID

ParameterTypeDescription
id *stringSD-WAN config ID

get-sdwan-config-status

Get the status of a specific SD-WAN configuration

ParameterTypeDescription
id *stringSD-WAN config ID

summarize-site

Deep aggregated site view: devices + WAN status + (opt) clients + networks + WiFi broadcasts in one call. Replaces 4-5 round-trips. Connector-dependent fields auto-skip when owner key absent. Renders an Apps SDK card on ChatGPT clients (Claude clients receive the same JSON text).

ParameterTypeDescription
name *stringSite host name (e.g. 'USM')
clientLimitnumberMax clients to fetch
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…
includeClientsbooleanInclude connected clients (requires owner key)
includeNetworksbooleanInclude network configs (requires owner key)
includeWifibooleanInclude WiFi broadcasts (requires owner key)

site-health-timeline

Per-site health snapshot over a lookback window: devices with stability scores, reboots, WAN uptime, optional client count. Replaces 5+ sequential calls (devices + wan + reboots + clients). Caveats[] surfaces partial-data and API limitations.

ParameterTypeDescription
hostName *stringSite host name (e.g. 'USM')
extractFieldsstringComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response toke…
lookbackDaysintegerWindow for reboot detection in days (1-90, default 7)

search-tools

Discover available tools by natural language query. Returns matching tool names + descriptions across all categories. Use this first to navigate the 54-tool surface efficiently.

ParameterTypeDescription
query *stringNatural language query. Discover tools across the UniFi MCP surface (analysis, raw API, connector tools).
categorystringRestrict search to a specific category
limitnumberMax results (default 20)