Skip to main content
Glama

unifi-mcp

Talk to your UniFi network.

An open-source Model Context Protocol server for Ubiquiti UniFi Network. It lets Claude and other AI assistants monitor and manage your sites, devices, clients, WiFi, firewall and more, all from one Docker container.

CI Release Container image License: MIT

unifi-mcp.mattoddie.dev

Quick start Β· Documentation Β· Tool reference Β· Contributing


"Why is the lounge TV buffering?" The TV is on the Lounge AP at -78 dBm and 12 Mbps, and that AP's 5 GHz radio is at 81% channel utilisation on channel 36. Moving the AP to channel 149 or adding a wired backhaul should fix it. Want me to change the channel?

Ask about your network in plain English. The assistant picks from 148 tools to look things up and, if you allow it, make changes. Some examples:

  • 🩺 "Give me a health check of the network."

  • πŸ”Ž "Which clients have a weak WiFi signal right now?"

  • πŸ” "Review my firewall and port forwards for anything risky."

  • πŸ”„ "Which devices have firmware updates, and when were they last rebooted?"

  • 🎟️ "Create 10 one-day guest vouchers limited to 5 Mbps."

  • 🧱 "Block the device called 'kids-tablet' until I unblock it."

Highlights

  • 🐳 Docker-first. There's one small distroless image (ghcr.io/mattoddie/unifi-mcp, about 22 MB) for linux/amd64 and linux/arm64. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. For Claude Desktop there's also a one-click extension bundle (.mcpb) that needs no Docker, and each release has plain binaries for macOS, Linux and Windows on amd64 and arm64.

  • πŸ›‘οΈ Safe by default. The server is read-only unless you turn on writes, and deleting configuration needs a second switch. Destructive tools are labelled so your MCP client asks before running them, and passwords and keys are redacted from output.

  • πŸ” Preview and audit. Every write tool takes dry_run: true to show the request it would send, with a field-level diff of what would change, without changing anything. UNIFI_AUDIT_LOG records each change in a JSON Lines audit log.

  • 🧰 Broad coverage. It covers 14 toolsets: devices, clients, switch ports and PoE, WiFi, networks and VLANs, WAN, DNS, legacy and zone-based firewall, traffic rules and routes, IDS/IPS, VPN, RADIUS, hotspot vouchers, statistics, logs, admins and backups.

  • πŸŽ›οΈ Tunable. Expose only the toolsets you need, which keeps the model's context small and focused. See Keeping the tool list small.

  • πŸ”Œ Works with your controller. Supports UniFi OS consoles (UDM, UDM Pro/SE, UCG, UDR, UX, Cloud Key Gen2+, UniFi OS Server) and legacy self-hosted Network applications (up to Network 10.6). Auth is an API key or a local account.

  • πŸ§ͺ Tested. The test suite runs against a mock controller on every build.

Related MCP server: UnifiyMe

Quick start

You need Docker, a UniFi controller and an MCP client such as Claude Code.

1. Get credentials. On a UniFi OS console, create an API key: UniFi Network β†’ Settings β†’ Control Plane β†’ Integrations β†’ Create API Key. On older controllers, use a local account instead.

2. Start the server.

mkdir unifi-mcp && cd unifi-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/example.env -o .env
# Edit .env: set UNIFI_URL, UNIFI_API_KEY and a random MCP_AUTH_TOKEN (required; e.g. `openssl rand -hex 32`).
# For an https controller, also say how to check its certificate, or the server won't start.
# Recommended: pin it with UNIFI_TLS_FINGERPRINT (see docs/security.md). example.env sets
# UNIFI_VERIFY_SSL=false, which skips the check: remove it once the fingerprint is set.
docker compose up -d

3. Connect your assistant.

claude mcp add --transport http unifi http://<docker-host>:8080/mcp \
  --header "Authorization: Bearer <MCP_AUTH_TOKEN>"

Now ask "How's my network doing?" in Claude Code.

Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i, or a release binary without Docker. On macOS or Linux: brew install mattoddie/tap/unifi-mcp.

Claude Desktop in one click

On a Mac or Windows PC with Claude Desktop, you don't need Docker at all. Download the .mcpb bundle for your computer from the latest release, open it, and enter your controller URL, API key and certificate fingerprint in the settings. See Claude Desktop.

unifi-mcp is also listed in the MCP Registry as io.github.mattoddie/unifi-mcp, with the image (over stdio) and the bundles, so clients and directories that read the registry can install it.

Turning on changes

Out of the box the assistant can look but not touch. To let it make changes, add these to .env and run docker compose up -d:

UNIFI_ALLOW_WRITES=true      # restart devices, block clients, edit WiFi/firewall/networks…
UNIFI_ALLOW_DELETES=true     # also allow deleting configuration, forgetting clients… (needs writes too)
UNIFI_TOOLSETS=overview,devices,clients,wifi,monitoring   # optional: expose fewer tools
UNIFI_AUDIT_LOG=stderr       # optional: log every change (or a file path; see docs/configuration.md)

Ask for a dry run to preview a change first: "Dry run: disable the guest WiFi. What would change?" Read Security before turning on writes for a production network.

What it can do

Toolset

What's covered

overview

Sites, controller info, site health

devices

Device status and details, restart/locate/provision, firmware upgrades (also rolling), radios, PoE outlets, adoption, RF scans, AP groups

clients

Online and known clients, block/unblock, reconnect, names, fixed IPs, lock to an AP, forget

switching

Switch ports, port profiles, PoE power-cycling, port mirroring, link aggregation, LLDP neighbours

wifi

WLANs (SSIDs, security, VLANs, bands), WiFi QR codes

networks

Networks/VLANs and DHCP, WAN, local DNS records, bandwidth profiles, dynamic DNS

firewall

Port forwards, firewall rules and groups, zone-based policies and zones, traffic rules, QoS rules, NAT rules, switch ACL rules, object-oriented network policies

routing

Static routes, policy-based traffic routes

security

IDS/IPS threat management, threat log, country blocking, content filtering

vpn

VPN servers and site-to-site VPNs, RADIUS profiles and accounts

hotspot

Vouchers, hotspot operators, guest authorization, guest portal

monitoring

Events, alarms, traffic reports, traffic flows, DPI, speed tests, rogue APs, system log, sessions, anomalies, dashboards

admin

Site settings (including SNMP, mDNS and auto-backup), admins, backups, controller updates, sites

raw

An escape hatch that calls any controller API path

See the tool reference for every tool and argument. Ready-made prompts like network_health_check, troubleshoot_client and security_review chain the tools together for common jobs.

Documentation

The docs are also published at unifi-mcp.mattoddie.dev/docs, with search.

πŸš€ Getting started

Step-by-step setup, from credentials to first question

πŸ”Œ Connecting MCP clients

Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode

βš™οΈ Configuration

Every environment variable, Docker secrets, toolsets

🐳 Deployment

Compose, image tags, upgrades, TLS reverse proxy, hardening

πŸ’¬ Using unifi-mcp

Example conversations, prompts, how saves and secrets work

🧰 Tool reference

All 148 tools and 5 prompts, generated from the code

πŸ›‘οΈ Security

Threat model, least privilege, safe write setups

πŸ“‘ Compatibility

Supported controllers and versions, API caveats

🩹 Troubleshooting

Common errors and how to fix them

πŸ› οΈ Development

Architecture, adding a tool, testing

Contributing

Contributions are very welcome, whether that's bug reports, compatibility reports from your hardware, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.

License

MIT Β© Matt Oddie

unifi-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Ubiquiti Inc. UniFi and Ubiquiti are trademarks of Ubiquiti Inc.

Available Tools

58 tools
unifi_check_firewall_pathCheck which firewall policy appliesA
Read-only

Read-only "what if": for a new connection from source to destination (and destination port), work out the source and destination zones from the networks' subnets (addresses outside every local subnet are in the External zone), then walk the enabled zone-based firewall policies between those zones in index order and report the first that matches, so the verdict (ALLOW, BLOCK or REJECT). Policies that might match first but can't be evaluated from addresses (apps, domains, regions, IP or port groups, schedules) are listed under may_match_first, and when one of them is listed the verdict is only certain if it doesn't match. Traffic rules that match the source and destination are listed too. It reads the configuration only: no traffic is sent, and the controller's own evaluation can differ in details. Network 9.0+ (zone-based firewall).

Inputs: source (required), destination (required), port, site, +3 more.

unifi_check_updatesCheck for updatesA
Read-only

Check for updates in one call: the latest Network application version the controller knows of (controller), the devices with a firmware upgrade (current and available version) and how many are up to date. For every device's firmware use unifi_get_firmware_status.

Inputs: site.

unifi_get_clientGet client detailsA
Read-only

Get one client by MAC: its stored settings (alias, note, fixed IP, blocked) merged with live connection details when it is connected, and an online flag. Errors if the controller has never seen the MAC.

Inputs: mac (required), raw, site.

unifi_get_dashboardGet dashboard metricsA
Read-only

Get the aggregated dashboard the UniFi UI shows: WAN/ISP quality history (latency, packet loss, availability, throughput), WiFi experience and client mix. v2 API, Network 7.4+; large response.

Inputs: site, hours.

unifi_get_deviceGet device detailsA
Read-only

Get one device by MAC: its list summary plus serial, ports, radio settings and stats, outlets, WAN links, system stats, load average, PoE use and LED settings. Errors if no device has that MAC. For a switch's ports with LLDP neighbours and profile names use unifi_list_switch_ports.

Inputs: mac (required), raw, site.

unifi_get_dpi_statsGet DPI statisticsA
Read-only

Get deep packet inspection (traffic identification) statistics, by application or by category, biggest first: site-wide, or per client when macs are given. Uses the v2 traffic endpoint (Network 9+), with names from the official API when an API key is configured, and falls back to the classic stat/sitedpi on older versions. Requires traffic identification to be enabled.

Inputs: by, macs, site, hours, +1 more.

unifi_get_firewall_policy_orderingGet firewall policy orderA
Read-only

Get the evaluation order of user-defined policies between a source and destination zone (beforeSystemDefined / afterSystemDefined policy ID lists). Uses the official integration API, so it requires API-key authentication (UNIFI_API_KEY) and Network 9.0+.

Inputs: source_zone_id (required), destination_zone_id (required), site.

unifi_get_firmware_statusGet firmware statusA
Read-only

List each device's model and firmware version, whether an upgrade is available (and to which version) or running, with the number of upgradable devices; include_available adds the firmware images the controller can install. Availability is as of the controller's last check with Ubiquiti. unifi_check_updates also covers Network application updates.

Inputs: site, include_available.

unifi_get_guest_portal_settingsGet guest portal settingsA
Read-only

Get guest portal / hotspot settings: authentication method, session length, voucher/password/payment options, redirect, allowed subnets.

Inputs: site.

unifi_get_rf_scanGet RF scan resultsA
Read-only

Get an access point's last RF/spectrum scan: whether a scan is running, when it last ran, and utilization and interference per channel. Returns scanning: false and no results if the AP has no scan.

Inputs: mac (required), site.

unifi_get_security_settingsGet security settingsA
Read-only

Get threat management (IDS/IPS mode, categories, protected networks), traffic identification (DPI) and country/region blocking (geo-IP) settings. Optionally list the IPS categories the controller supports (Network 8+).

Inputs: site, include_categories.

unifi_get_site_healthGet site healthA
Read-only

Get a site's status per subsystem (wan, lan, wlan, vpn, www): status, ISP, WAN IP, latency, throughput, and device and client counts. The quickest overall check of a site. For WAN quality over time use unifi_get_dashboard.

Inputs: site.

unifi_get_site_settingsGet site settingsA
Read-only

Get site-wide settings. Each setting is an object identified by key, e.g. mgmt (auto-upgrade, LEDs, SSH), country, locale, ntp, snmp, mdns (multicast DNS), rsyslogd (remote syslog), connectivity, guest_access, ips, dpi, usg (gateway: DNS, geo-IP, UPnP...), radius, network_optimization, super_mgmt (controller-wide, including auto-backup). Omit key to list all keys.

Inputs: key, site.

unifi_get_speedtest_resultsGet speed test historyA
Read-only

List the gateway's WAN speed test results, newest first (default last 168 hours): time, download and upload in Mbps, latency in ms and test server.

Inputs: site, hours, limit, fields, +1 more.

unifi_get_system_infoGet controller system infoA
Read-only

Get the controller's own details (stat/sysinfo): Network application version, hostname, timezone, uptime and whether an application update is available. To check application and device firmware updates together use unifi_check_updates. For each device's firmware use unifi_get_firmware_status.

Inputs: site.

unifi_get_system_logGet system logA
Read-only

Read one class of the v2 system log (Network 8+), paged (default 50 entries from the last 168 hours): device-alert (default), client-alert, admin-activity (logins and config changes), update-alert, threat-alert (IPS/honeypot), vpn-alert, triggers (traffic/firewall rule hits) or next-ai-alert. Entries have time, key, category, severity, title, message, device and client. unifi_list_events reads the classic event log.

Inputs: raw, page, site, class, +2 more.

unifi_get_traffic_reportGet traffic/usage reportA
Read-only

Get historical time-series statistics in buckets of 5 minutes to a month. scope=site for whole-site traffic and client counts, gw for gateway CPU/memory/WAN traffic, ap for per-AP traffic, user for per-client traffic (pass macs). For traffic by application use unifi_get_dpi_stats.

Inputs: scope (required), macs, site, attrs, +2 more.

unifi_list_acl_rulesList ACL rulesA
Read-only

List switch ACL rules (MAC ACLs that allow or block traffic between devices inside one network, enforced by UniFi switches). Rules are processed in acl_index order. Needs Network 9.4+.

Inputs: raw, site, fields, search, +1 more.

unifi_list_adminsList administratorsA
Read-only

List a site's administrator accounts, or every site's with all_sites: true: name, email, role, super admin and owner flags, permissions, sites and last login.

Inputs: site, fields, search, all_sites.

unifi_list_alarmsList alarmsA
Read-only

List controller alarms (alerts), newest first, with time, key, subsystem and message; archived alarms are left out unless include_archived. On Network 10.6+, where the classic alarm list is gone, returns the v2 system log's entries of min_severity (default high) from the last hours (default 168) instead. For the full event history use unifi_list_events.

Inputs: site, hours, limit, fields, +3 more.

unifi_list_anomaliesList anomaliesA
Read-only

List anomalies the controller detected per client or device (e.g. high latency, DNS timeouts, poor WiFi experience), default last 24 hours. Rows are returned as the controller reports them; not available on every Network version.

Inputs: site, hours, limit, fields, +1 more.

unifi_list_ap_groupsList AP groupsA
Read-only

List access point groups (id, name, member AP MACs, device count, default flag), which choose the APs that broadcast each WiFi network. Network 7.x+ (v2 API).

Inputs: site, fields, search.

unifi_list_backupsList backupsA
Read-only

List the backups stored on the controller, newest first: filename, time, Network version, size in MB and type.

Inputs: site, fields, search.

unifi_list_bandwidth_profilesList bandwidth profilesA
Read-only

List bandwidth profiles (user groups): per-client download and upload caps in kbps ("unlimited" when uncapped) that WiFi networks and clients can be assigned.

Inputs: site, fields, search.

unifi_list_clientsList connected clientsA
Read-only

List the clients connected now, with IP, network, AP or switch port, signal, rates, usage and uptime; filter by connection type, guests, network or AP. For offline clients and stored settings (alias, fixed IP, blocked) use unifi_list_known_clients. For connection history use unifi_list_client_sessions.

Inputs: raw, site, limit, ap_mac, +5 more.

unifi_list_client_sessionsList client sessionsA
Read-only

List client connection sessions, newest first (default last 168 hours): client, IP, connect and disconnect times, duration, AP, SSID, network and bytes; filter by client MAC or guest/user. For who is connected now use unifi_list_clients.

Inputs: mac, site, type, hours, +3 more.

unifi_list_content_filtersList content filtersA
Read-only

List content filtering profiles (blocked categories, safe search, target networks/clients). v2 API, Network 8.1+.

Inputs: raw, site, fields, search.

unifi_list_devicesList devicesA
Read-only

List the site's UniFi devices (gateways, switches, access points...) with state, model, firmware, IP, uptime, CPU and memory load and client counts; filter by type or state. For one device's ports, radios and uplink use unifi_get_device.

Inputs: raw, site, type, limit, +3 more.

unifi_list_dns_recordsList local DNS recordsA
Read-only

List the gateway's local DNS records (A, AAAA, CNAME, MX, TXT, SRV, NS) with name, value, TTL and enabled state. Network 8.2+ (v2 static-dns). For a public hostname that follows the WAN IP use unifi_list_dynamic_dns.

Inputs: site, fields, search.

unifi_list_dynamic_dnsList dynamic DNSA
Read-only

List the gateway's dynamic DNS entries, which keep a public hostname pointed at the WAN IP: provider service, hostname, login, server and WAN interface (passwords redacted).

Inputs: site, fields, search.

unifi_list_eventsList recent eventsA
Read-only

List recent controller events, newest first (default last 24 hours): client connects and roams, device restarts, upgrades and the like, with time, key, subsystem and message. Falls back to the v2 system log's device and client alerts where the classic event log is gone or empty. For other log classes (admin activity, threats, VPN...) use unifi_get_system_log; for unresolved problems use unifi_list_alarms.

Inputs: site, hours, limit, fields, +1 more.

unifi_list_firewall_groupsList firewall groupsA
Read-only

List firewall groups (address groups, IPv6 address groups and port groups) referenced by firewall rules and policies.

Inputs: site, fields, search.

unifi_list_firewall_policiesList firewall policies (zone-based)A
Read-only

List zone-based firewall policies (Network 9.0+) sorted by index: action, source and destination (zone and match), protocol, connection states, schedule and logging. Predefined (system) policies are left out unless include_predefined. On classic firewalls use unifi_list_firewall_rules; to find the policy that applies to a connection use unifi_check_firewall_path.

Inputs: raw, site, fields, search, +1 more.

unifi_list_firewall_rulesList firewall rules (legacy)A
Read-only

List classic firewall rules, sorted by ruleset (WAN_IN, LAN_IN, ...) and rule_index, with action, protocol, source and destination. Not available on Network 11+ or on sites migrated to the zone-based firewall (Network 9+): use unifi_list_firewall_policies there.

Inputs: raw, site, fields, search.

unifi_list_firewall_zonesList firewall zonesA
Read-only

List zone-based firewall zones (Network 9.0+) with zone_key, system-defined flag, network IDs and integration_id. Firewall policies and unifi_check_firewall_path refer to zones by these IDs.

Inputs: raw, site, fields, search.

unifi_list_guest_authorizationsList guest authorizationsA
Read-only

List guest portal/hotspot authorizations, newest first (default last 168 hours): client MAC and IP, method, voucher code, start and end, bytes and expired flag.

Inputs: site, hours, limit, fields, +1 more.

unifi_list_hotspot_operatorsList hotspot operatorsB
Read-only

List hotspot operator accounts (staff who can log in to the hotspot manager to issue vouchers).

Inputs: site, fields, search.

unifi_list_known_clientsList known clientsA
Read-only

List every client the controller has stored, online or offline, most recently seen first, with alias, note, fixed IP and block status. For live connection details use unifi_list_clients or unifi_get_client.

Inputs: raw, site, limit, fields, +2 more.

unifi_list_nat_rulesList NAT rulesA
Read-only

List NAT rules (DNAT, SNAT and masquerade, the predefined ones included) with type, interfaces, translated IP and port, source and destination. Needs Network 9.0+ with a UniFi gateway and the zone-based firewall. Simple port forwards are separate: unifi_list_port_forwards.

Inputs: raw, site, fields, search.

unifi_list_networksList networksA
Read-only

List every configured network (LANs/VLANs, WANs and VPNs) with purpose, subnet, VLAN, DHCP range, domain and firewall zone. For WAN connection settings and health use unifi_list_wans. For VPN settings use unifi_list_vpns.

Inputs: raw, site, fields, search.

unifi_list_oon_policiesList object-oriented network policiesA
Read-only

List object-oriented networking (OON) policies: rules attached to clients or client groups that schedule or block internet access and apps (secure), limit bandwidth (qos) or route through a VPN (route). Needs Network 9.4+ with a UniFi gateway.

Inputs: raw, site, fields, search.

unifi_list_port_forwardsList port forwardsA
Read-only

List port forwards (WAN port to internal IP and port) with protocol, WAN interface, allowed source and logging. Custom DNAT/SNAT rules are in unifi_list_nat_rules, and the rules that filter traffic in unifi_list_firewall_policies (unifi_list_firewall_rules on classic firewalls).

Inputs: site, fields, search.

unifi_list_port_profilesList switch port profilesA
Read-only

List switch port profiles (reusable port configurations): forwarding mode, native and tagged networks, PoE, speed, isolation, storm control and port security. unifi_list_switch_ports shows which profile each port uses.

Inputs: site, fields, search.

unifi_list_qos_rulesList QoS rulesA
Read-only

List QoS rules from the policy table (recent Network 9.x/10.x with a UniFi gateway): objective (LIMIT, PRIORITIZE or LIMIT_AND_PRIORITIZE), rate limits in kbps, the clients/networks they apply to and the apps, IPs, regions or domains they match.

Inputs: raw, site, fields, search.

unifi_list_radius_accountsList RADIUS accountsA
Read-only

List users of the built-in RADIUS server (used for L2TP VPN and WPA-Enterprise). Passwords redacted.

Inputs: site, fields, search.

unifi_list_radius_profilesList RADIUS profilesA
Read-only

List RADIUS profiles used by WPA-Enterprise WiFi, 802.1X switch ports and L2TP VPN (secrets redacted).

Inputs: site, fields, search.

unifi_list_rogue_apsList neighbouring/rogue APsA
Read-only

List access points your APs can hear (neighbours and ones flagged as rogue), strongest first (default seen in the last 24 hours): SSID, BSSID, channel, band, signal, security, vendor, which of your APs saw it and when. For per-channel interference use unifi_get_rf_scan.

Inputs: site, hours, limit, fields, +2 more.

unifi_list_routesList static routesA
Read-only

List user-defined static routes: destination CIDR, type (nexthop, interface or blackhole), next hop or interface, distance and enabled. With active: true, return the gateway's live routing table instead, system routes included (stat/routing; not on every version). To send chosen clients or destinations out a particular WAN or VPN use unifi_list_traffic_routes.

Inputs: site, active, fields, search.

unifi_list_sitesList sitesA
Read-only

List the controller's sites with id, name, description, role and device_count. Pass a site's name (not its description) as the site argument of other tools.

Inputs: fields, search.

unifi_list_switch_portsList switch portsA
Read-only

List a switch's ports with link state, speed, PoE, assigned profile, LLDP neighbours (what is plugged in: chassis ID, description and remote port), link aggregation and any per-port overrides configured on the device.

Inputs: mac (required), up, site, fields, +1 more.

unifi_list_threatsList detected threatsA
Read-only

List IDS/IPS threat events detected by the gateway, newest first (default last 24 hours): signature, category, severity, action taken, protocol, and source and destination IP, port and country.

Inputs: site, hours, limit, fields, +1 more.

unifi_list_traffic_flowsList traffic flowsA
Read-only

List recent traffic flows seen by the gateway (Insights > Flows): source and destination client, IP, domain and network, app/service, allowed or blocked, risk, bytes and the policies that matched. This is an expensive query on the gateway, so it looks back 15 minutes (hours: 0.25) and returns 50 flows per page by default; narrow it with client_mac, action, risk or search (applied by the controller to app, domain, client name and more) before widening the window. Recent Network 9.x/10.x with a UniFi gateway.

Inputs: raw, page, risk, site, +8 more.

unifi_list_traffic_routesList traffic routesA
Read-only

List traffic routes (policy-based routing): which clients or networks, and which destinations (domains, IPs, regions or all internet), are sent out a given WAN or VPN client network, with kill switch and next hop. Plain destination-based static routes are in unifi_list_routes.

Inputs: raw, site, fields, search.

unifi_list_traffic_rulesList traffic rulesA
Read-only

List traffic rules (v2 API) that block, allow or rate-limit traffic from clients or networks by app, app category, domain, IP, region or all internet, with schedule and bandwidth limit. Zone-based firewall policies are separate (unifi_list_firewall_policies).

Inputs: raw, site, fields, search.

unifi_list_vouchersList hotspot vouchersA
Read-only

List hotspot vouchers with code, note, duration, quota and times used, status, rate and data limits, and creation time. For who redeemed them use unifi_list_guest_authorizations.

Inputs: site, limit, fields, search.

unifi_list_vpnsList VPNsA
Read-only

List the gateway's VPN servers (WireGuard, OpenVPN, L2TP), VPN clients and site-to-site VPNs with kind, enabled state, subnet, port, WAN interface, peer and remote subnets and DNS. raw: true shows every field.

Inputs: raw, site, fields, search.

unifi_list_wansList WAN connectionsA
Read-only

List WAN connections with connection type, VLAN, static IP or PPPoE user, DNS, failover and load balancing, Smart Queues and ISP speeds, plus live WAN health (status, WAN IP, ISP, uptime).

Inputs: site, fields, search.

unifi_list_wlansList WiFi networksB
Read-only

List WiFi networks (SSIDs) with security and WPA mode, bands, linked network, AP groups, bandwidth and RADIUS profiles, guest and hidden flags, client isolation, MAC filter and enabled state (passphrases redacted).

Inputs: raw, site, fields, search.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 58 tools

    Disambiguation4/5

    Descriptions are unusually disciplined about boundaries, explicitly steering between lookalikes (list_clients vs list_known_clients vs list_client_sessions, firewall_rules vs firewall_policies, routes vs traffic_routes, port_forwards vs nat_rules, check_updates vs firmware_status vs system_info). A few clusters remain easy to confuse at a glance β€” four separate 'policy' listers (firewall_policies, traffic_rules, oon_policies, qos_rules) and get_site_health vs get_dashboard overlap β€” but the text resolves them.

    Naming Consistency5/5

    Every tool uses the unifi_ prefix plus a consistent verb_noun form (get_, list_, check_), with predictable noun phrasing for the resource. No camelCase or verb-style mixing anywhere in 58 tools.

    Tool Count2/5

    58 tools is far beyond a well-scoped surface; even for a broad UniFi controller domain, the read-only listing surface is heavily fragmented (many one-purpose listers that could be folded into filtered queries). Selection cost per task is high even though each tool technically earns a distinct slice.

    Completeness2/5

    The surface is essentially read-only: get_/list_/check_ cover inspection thoroughly, but there is no create, update, delete, block/unblock, restart, or config-mutation tool for clients, WLANs, networks, firewall rules, or backups. An agent can diagnose the controller but cannot act on it, which is a major gap for a UniFi management server.

    Maintenance

    ActivityMaintained
    ResponsivenessMixed handling

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server that turns Claude into a UniFi network specialist. Manage devices, optimize WiFi, audit security, and troubleshoot your network through natural language.
      31
      13 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for UniFi Network Controller enabling AI assistants to manage UniFi infrastructure via natural language. It supports firewall rules, IPv6, and uses lazy/eager tool modes to minimize context usage.
      7
      Mozilla Public 2.0