omarchy
Gives you a ready Linux desktop setup with Hyprland theming and config, plus help customizing its files, diagnosing program crashes from core dumps, and building new desktop apps for it.
sirkirby/unifi-mcp is a plugin of skills for managing a UniFi deployment with agentic AI workflows. It covers UniFi Access door control, device incident investigation, security patrol reviews and sanitized support bundles, so it suits operators running UniFi Network, Protect and Access.
Claude Code
> /plugin marketplace add sirkirby/unifi-mcp
Codex
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a codex
Cursor
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a cursor
Gemini CLI
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a gemini-cli
GitHub Copilot
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a github-copilot
OpenCode
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a opencode
Windsurf
$ npx skills add sirkirby/unifi-mcp --skill unifi-access-setup unifi-access-support unifi-access incident-investigation security-patrol visitor-audit firewall-auditor firewall-manager network-health-check unifi-network-setup unifi-network-support unifi-network security-digest unifi-protect-setup unifi-protect-support unifi-protect unifi-sitemanager-setup unifi-sitemanager -a windsurf

Leverage agents and agentic AI workflows to manage your UniFi deployment.
| Server | Status | Tools | Package |
|---|---|---|---|
| Network | Stable | 214 | unifi-network-mcp |
| Protect | Stable | 65 | unifi-protect-mcp |
| Access | Stable | 37 | unifi-access-mcp |
| Site Manager | Beta | 9 | unifi-sitemanager-mcp |
Network, Protect and Access each connect to a console you name on your network. Site Manager is different: it reads Ubiquiti's cloud Site Manager API at https://api.ui.com with one account-wide key, and has nine read-only tools. It counts its domain tools only, without the meta-tools every server registers.
Install these from the Claude Code, Codex or OpenClaw marketplace; Quick Start shows how.
| Plugin | What you get |
|---|---|
unifi-network | The Network MCP server, its agent skills and guided setup |
unifi-protect | The Protect MCP server, its agent skills and guided setup |
unifi-access | The Access MCP server, its agent skills and guided setup |
unifi-sitemanager | The Site Manager MCP server for a whole UI account, its agent skills and guided key setup |
unifi-intelligence | Cross-product investigations that use Network and Protect together, with every claim cited. Incident Investigation runs locally; Security Patrol and Visitor Audit need the cloud worker. It requires the Network and Protect plugins |
The Agent Skills table lists every skill each plugin ships.
| What you are building | Use | Why |
|---|---|---|
| An AI assistant or another existing MCP client | Network, Protect, or Access MCP server | Standard MCP discovery, tool calls, permissions, and confirmation flows |
| An account-wide view of every console, site and device on a UI account | Site Manager MCP server | Read-only inventory, WAN health and SD-WAN status from Ubiquiti's cloud with one Site Manager API key |
| A custom application, automation service, code-execution runtime, or MCP adapter | unifi-api-server | Your code controls call sequencing, data joins, resource limits, and approval flow |
| Remote access for an MCP client | Cloud Relay | Authenticated remote MCP routing without exposing the local servers directly |
An MCP adapter can expose a small set of tools while using unifi-api-server
as its backend. This keeps application-specific joins, branching, loops, and
code isolation out of the general-purpose MCP servers.
| Component | Status | Package |
|---|---|---|
| Relay Sidecar | Beta | unifi-mcp-relay |
| Worker Gateway | Beta | unifi-mcp-worker (CLI) |
Cloud Relay pairs the Cloudflare-hosted Worker gateway with the Relay sidecar on your LAN. The Worker provides the authenticated edge MCP endpoint, Durable Object broker, multi-location routing, token boundary, and deployment/management CLI. The Relay sidecar is a local MCP HTTP client and forwarder: it discovers configured local MCP servers over HTTP and maintains an outbound WebSocket to the Worker. Remote requests follow MCP client → Worker gateway → outbound WebSocket → Relay sidecar → local MCP servers over HTTP; the API server is not in this path. Read-only tools support annotation-based multi-location fan-out, while writes require explicit location targeting. Deploy the Worker with npm install -g unifi-mcp-worker && unifi-mcp-worker install, then see the Relay sidecar README to connect local servers.
| Component | Status | Package |
|---|---|---|
| API Server | Beta | unifi-api-server · GHCR image |
unifi-api-server is an independent HTTP service for custom applications,
automation, and adapters. It provides typed REST resources, read-only GraphQL
queries, SSE streams, scoped API keys and administration, plus a REST action
endpoint for supported controller operations. It shares unifi-core managers
with the MCP servers but does not proxy or require them.
The API server also serves the nine Site Manager reads once an administrator
adds one account-level cloud connection. Every API key with the read scope
can then read the whole cloud account; see
Site Manager cloud connection.
See apps/api/README.md for quick-start and deployment patterns.
UniFi MCP is a collection of Model Context Protocol servers that let AI assistants and automation tools interact with Ubiquiti UniFi controllers. Each server targets a specific UniFi application (Network, Protect, Access) and exposes its functionality as MCP tools — queryable, composable, and safe by default.
Those three servers are local-first: they talk directly to your console, and nothing leaves your network unless you add the optional Cloud Relay. The Site Manager server is the exception. Every request it makes goes to Ubiquiti's cloud at https://api.ui.com, even when your MCP client runs it locally over stdio. The destination is fixed, and its key reads every console on the account. The Cloud Relay does not include it unless you add it to UNIFI_RELAY_SERVERS; a relay token for that location could then read the whole account. See Site Manager and the privacy policy.
MCP HTTP is unauthenticated by default and intended for trusted local clients. Set UNIFI_MCP_HTTP_AUTH_TOKEN to require a static bearer token on every HTTP request (details). HTTP is disabled by default; when enabled, packages bind to loopback. Docker Compose enables it on the container network and publishes ports 3000–3002 on host 127.0.0.1; the Site Manager service uses port 3003 and starts only with the opt-in sitemanager profile. Use an authenticated TLS proxy or Cloud Relay for remote access, and prevent direct access to the backend. See the transport security model and HTTP setup and migration.
| Setting | Default | Purpose |
|---|---|---|
UNIFI_MCP_HTTP_ENABLED | false | Opt into HTTP transport |
UNIFI_MCP_HOST | 127.0.0.1 | Bind address; Compose explicitly uses 0.0.0.0 inside containers |
UNIFI_MCP_HTTP_FORCE | false | Allow HTTP outside container PID 1 |
UNIFI_MCP_ALLOWED_HOSTS | localhost,127.0.0.1 | Complete accepted Host-header list; Compose separately adds required internal hosts. List each host: the MCP SDK has no wildcard beyond a :* port suffix, so an entry with any other * (*, *.example.com) stops the server at startup instead of accepting every host |
UNIFI_MCP_ENABLE_DNS_REBINDING_PROTECTION | true | Validate Host headers to prevent DNS-rebinding requests |
UNIFI_MCP_HTTP_AUTH_TOKEN | unset | Require Authorization: Bearer <token> on every HTTP request; at least 32 printable ASCII characters. UNIFI_<NETWORK|PROTECT|ACCESS|SITEMANAGER>_MCP_HTTP_AUTH_TOKEN overrides it per server, and _FILE/_COMMAND spellings work. Set but empty refuses startup |
UniFi MCP keeps the standard MCP path primary: capable clients discover currently registered tools with tools/list and invoke them with tools/call. The default lazy mode keeps initial context small by exposing meta-tools first, while eager mode registers all selected domain tools directly for clients that prefer a full standard tool list.
The lazy-loading meta-tools — *_tool_index, *_execute, *_batch, *_batch_status, and lazy-only *_load_tools — support filtered discovery, indirect execution, batch orchestration, and optional direct registration. They are independent of the protocol-version response compatibility policy below. See MCP Discovery and Lazy-Loading Meta-Tools for mode-by-mode behavior.
For tool results that already provide structured output, adaptive response mode is the default. It classifies each request by the canonical date-based protocolVersion advertised during MCP initialization, not by the client's product name or application version. Requests advertising MCP 2025-06-18 or later receive concise text in content and the full result once in structuredContent; requests advertising an earlier revision (such as 2024-11-05 or 2025-03-26), or whose revision metadata is missing or malformed, retain the full compatibility JSON in content. Set UNIFI_MCP_CONTENT_MODE=compat to force that duplicated compatibility form, or UNIFI_MCP_CONTENT_MODE=compact to force concise text plus the full structured result even outside a negotiated request. Use compat for any client that consumes the full result only from content, regardless of its advertised revision.
The lazy-loading meta-tools remain content-only; they are not the pre-2025-06-18 protocol category described above. For structured inner results, *_execute and *_batch_status expose one normalized JSON payload in content rather than a nested transport pair; content-only execute results remain unchanged. Response modes do not convert these meta-tools to structuredContent.
UNIFI_NETWORK_MCP_CONTENT_MODE, UNIFI_PROTECT_MCP_CONTENT_MODE, UNIFI_ACCESS_MCP_CONTENT_MODE, and UNIFI_SITEMANAGER_MCP_CONTENT_MODE override the global setting for their respective servers. Independently of transport compaction, Network's unifi_get_dashboard defaults to summary=true, while unifi_list_rogue_aps defaults to a summarized page of at most 100 records; pass summary=false when the full selected data is required.
Paste the block below into your coding agent. It points the agent at the
Gives you a ready Linux desktop setup with Hyprland theming and config, plus help customizing its files, diagnosing program crashes from core dumps, and building new desktop apps for it.
Gives Claude terminal control, file system search, and diff-based file editing, plus skills for setting up MCP servers, running health checks, managing knowledge bases, and organizing Obsidian vaults.
Skills for Claude Code that help add custom domains with automatic SSL, error tracking, Node.js SDK access, React analytics, and session recording to apps deployed on Temps, a self-hosted platform.
Skills for working with Elastic: onboard an Elastic Cloud organization and manage Serverless projects, traffic filters and user roles, create and manage Elasticsearch anomaly detection jobs, and diagnose non-green cluster health.
Install it with the command on its page. It includes unifi-access-setup, unifi-access-support, unifi-access. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it