Unifi MCP server
io.github.enuno/unifi-mcp-server·v0.2.0·275 starsAn MCP server that leverages official UniFi API
275 stars
Reviews
Write oneNobody has reviewed Unifi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Unifi tools (100, 35 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
adopt_deviceAdopt a pending device onto the specified site (requires confirm=True).
authorize_guestAuthorize a guest client for network access (requires confirm=True).
block_clientBlock a client from accessing the network (requires confirm=True).
bulk_delete_voucherswrite actionBulk delete vouchers using a filter expression (requires confirm=True).
configure_guest_portalConfigure guest portal settings (requires confirm=True).
configure_smart_queueConfigure Smart Queue Management (SQM) for bufferbloat mitigation (requires confirm=True).
create_acl_rulewrite actionCreate a new ACL rule (requires confirm=True).
create_firewall_rulewrite actionCreate a new firewall rule (requires confirm=True).
create_firewall_zonewrite actionCreate a new firewall zone (requires confirm=True).
create_hotspot_packagewrite actionCreate a new hotspot package (requires confirm=True).
create_networkwrite actionCreate a new network/VLAN (requires confirm=True).
create_port_forwardwrite actionCreate a port forwarding rule (requires confirm=True).
create_proav_profilewrite actionCreate a QoS profile from a ProAV or reference template (requires confirm=True).
create_qos_profilewrite actionCreate a new QoS profile with comprehensive traffic shaping (requires confirm=True).
create_radius_accountwrite actionCreate a new RADIUS account (requires confirm=True).
create_radius_profilewrite actionCreate a new RADIUS profile (requires confirm=True).
create_traffic_routewrite actionCreate a new policy-based traffic routing rule (requires confirm=True).
create_voucherswrite actionCreate new hotspot vouchers (requires confirm=True).
create_wlanwrite actionCreate a new wireless network/SSID (requires confirm=True).
debug_api_requestDebug tool to query arbitrary UniFi API endpoints.
delete_acl_rulewrite actionDelete an ACL rule (requires confirm=True).
delete_backupwrite actionDelete a backup file from the controller (requires confirm=True).
delete_firewall_rulewrite actionDelete a firewall rule (requires confirm=True).
delete_hotspot_packagewrite actionDelete a hotspot package (requires confirm=True).
delete_networkwrite actionDelete a network (requires confirm=True).
delete_port_forwardwrite actionDelete a port forwarding rule (requires confirm=True).
delete_qos_profilewrite actionDelete a QoS profile (requires confirm=True).
delete_radius_accountwrite actionDelete a RADIUS account (requires confirm=True).
delete_radius_profilewrite actionDelete a RADIUS profile (requires confirm=True).
delete_traffic_routewrite actionDelete a traffic routing rule (requires confirm=True).
delete_voucherwrite actionDelete a specific voucher (requires confirm=True).
delete_wlanwrite actionDelete a wireless network (requires confirm=True).
disable_smart_queueDisable Smart Queue Management (SQM) (requires confirm=True).
download_backupDownload a backup file to local storage.
execute_port_actionwrite actionExecute an action on a specific port (power-cycle, enable, disable) (requires confirm=True).
get_acl_ruleGet details for a specific ACL rule.
get_application_infoGet UniFi Network application information.
get_backup_detailsGet detailed information about a specific backup.
get_backup_scheduleGet the configured automated backup schedule for a site.
get_backup_statusGet the status of an ongoing or completed backup operation.
get_client_detailsGet detailed information for a specific client.
get_client_dpiGet DPI statistics for a specific client.
get_client_statisticsRetrieve bandwidth and connection statistics for a client.
get_device_detailsGet detailed information for a specific device.
get_device_statisticsRetrieve real-time statistics for a device.
get_dpi_statisticsGet Deep Packet Inspection statistics for a site.
get_guest_portal_configGet guest portal configuration for a site.
get_network_detailsGet detailed network configuration.
get_network_statisticsRetrieve network usage statistics for a site.
get_qos_profileGet details for a specific QoS profile.
get_radius_profileGet details for a specific RADIUS profile.
get_restore_statusGet the status of an ongoing or completed restore operation.
get_site_detailsGet detailed site information.
get_site_statisticsRetrieve site-wide statistics.
get_smart_queue_configGet Smart Queue Management (SQM) configuration for bufferbloat mitigation.
get_subnet_infoGet subnet and DHCP information for a network.
get_voucherGet details for a specific voucher.
get_wlan_statisticsGet WiFi usage statistics for a site or specific WLAN.
health_checkHealth check endpoint to verify server is running.
limit_bandwidthApply bandwidth restrictions to a client (requires confirm=True).
list_acl_rulesList all ACL rules for a site.
list_active_clientsList currently connected clients.
list_all_sitesList all accessible sites.
list_backupsList all available backups for a site.
list_devices_by_typeFilter devices by type (uap, usw, ugw).
list_firewall_rulesList all firewall rules in a site.
list_firewall_zonesList all firewall zones for a site.
list_hotspot_packagesList all hotspot packages for a site.
list_pending_devicesList devices awaiting adoption on the specified site.
list_port_forwardsList all port forwarding rules in a site.
list_proav_templatesList available ProAV protocol templates (Dante, Q-SYS, SDVoE, AVB, RAVENNA, NDI, SMPTE 2110) and reference profiles.
list_qos_profilesList all QoS profiles for traffic prioritization and shaping.
list_radius_accountsList all RADIUS accounts for a site.
list_radius_profilesList all RADIUS profiles for a site.
list_top_applicationsList top applications by bandwidth usage.
list_traffic_routesList all policy-based traffic routing rules.
list_vlansList all VLANs in a site.
list_vouchersList all hotspot vouchers for a site.
list_wan_connectionsList all WAN connections for a site.
list_wlansList all wireless networks (SSIDs) in a site.
locate_deviceEnable/disable LED locate mode on a device (requires confirm=True).
reconnect_clientForce a client to reconnect (requires confirm=True).
restart_deviceRestart a UniFi device (requires confirm=True).
restore_backupRestore the UniFi controller from a backup file (requires confirm=True).
schedule_backupsConfigure automated backup schedule (requires confirm=True).
search_clientsSearch clients by MAC, IP, or hostname.
search_devicesSearch devices by name, MAC, or IP address.
trigger_backupTrigger a backup operation on the UniFi controller (requires confirm=True).
unblock_clientUnblock a previously blocked client (requires confirm=True).
update_acl_rulewrite actionUpdate an existing ACL rule (requires confirm=True).
update_firewall_rulewrite actionUpdate an existing firewall rule (requires confirm=True).
update_firewall_zonewrite actionUpdate an existing firewall zone (requires confirm=True).
update_networkwrite actionUpdate an existing network (requires confirm=True).
update_qos_profilewrite actionUpdate an existing QoS profile (requires confirm=True).
update_radius_profilewrite actionUpdate an existing RADIUS profile (requires confirm=True).
update_traffic_routewrite actionUpdate an existing traffic routing rule (requires confirm=True).
update_wlanwrite actionUpdate an existing wireless network (requires confirm=True).
upgrade_deviceTrigger firmware upgrade for a device (requires confirm=True).
validate_backupValidate a backup file before restore.
validate_proav_profileValidate ProAV profile requirements and provide recommendations.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan86 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Unifi compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- Tools
- 100
- the typical server has 7
- Tools that change things
- 35%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 275
- more than 95% of 28,688 servers
What its tools let an agent do: 62 read · 13 create · 10 change · 12 delete · 3 run or deploy
Install Unifi in Claude Code, Cursor or VS Code
Runs npx -y unifi-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add unifi-mcp-server -- npx -y unifi-mcp-server
What the publisher says
From the Unifi repository's README, as published. We do not edit it. Read it on GitHub
UniFi MCP Server
A Model Context Protocol (MCP) server that exposes the UniFi Network Controller API today and is evolving into a production-grade multi-domain platform for Protect, Access, and enterprise-scale orchestration.
See SPEC.md for the architecture target and DEVELOPMENT_PLAN.md for the phase roadmap.
Operator quick start
Objective
Give operators a fast, safe reading order for understanding what the server does today, what it is becoming, and which docs govern rollout decisions.
Prerequisites
- You know which UniFi API mode the deployment uses: local, cloud-ea, or cloud-v1.
- You know whether the runtime is stdio, HTTP, SSE, or streamable HTTP.
- You have read the phase target in SPEC.md and the current work item in DEVELOPMENT_PLAN.md.
Procedure
- Confirm the current stable release and current phase focus.
- Read SPEC.md for architecture intent and DEVELOPMENT_PLAN.md for sequencing.
- Use API.md and docs/UNIFI_API.md for implementation surface details.
- Use the phase runbooks in NETWORKPLAYBOOK.md, HARBORSETUP.md, MULTICONTROLLER.md, METRICS.md, WEBHOOKSETUP.md, and A2A.md when operating or extending phase 5 systems.
- For release work, consult RELEASECHECKLIST.md and docs/RELEASEPROCESS.md before tagging or publishing.
Verification
- The chosen API mode matches the runtime configuration.
- The current phase and the documented roadmap agree.
- The operator can point to the correct runbook before making a change.
Rollback
- If the selected runbook does not match the deployed capability, stop and reconcile docs before changing production state.
Common failure modes
- README claims outrun the codebase.
- Operators follow phase language without checking the specific runbook.
- Release or rollout decisions are made from the README alone instead of the canonical docs.
📋 Version Notice
Current Stable Release: 0.2.5 (May 1, 2026) 🎉
Installation:
pip install unifi-mcp-serverRoadmap focus:
- Phase 3: native Protect API integration (camera/NVR/device/view/event read tools and resources now wired; PTZ and media streams still in progress)
- Phase 4: testing, polish, minor gaps, runbooks, skills, and developer workflow hardening
- Phase 5: multi-controller orchestration, dry-run, RBAC, audit logging, metrics, A2A, webhooks, Access API work, and tool exposure profiles
See: RELEASENOTES0.2.5.md for complete changelog.
Current Development Posture
- Current repo codebase: ~220 async tool functions across 40+ modules
- Phases 0–2 are complete
- Phase 3 (Protect API integration) is the active implementation target
- The architectural target is documented in SPEC.md
- The canonical roadmap is DEVELOPMENT_PLAN.md
Previous Release - v0.2.4 (2026-02-19):
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Unifi: common questions
- Is Unifi MCP server safe?
- Mostly: it is graded B (83/100). Read the Unifi safety report
- How do I install Unifi?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Unifi need an API key?
- Yes. The registry entry asks for
UNIFI_PASSWORD. - Is Unifi maintained?
- The last commit was 37 days ago (2026-09-28). The latest release is v0.2.0.
- How does Unifi compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); tools 100 (the typical server has 7); tools that change things 35% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.