UniFi MCP is a set of MCP servers and a Graph API that let AI agents and other software manage UniFi Network, Protect, and Access systems; an MCP server exposes tools that a compatible client can call. It is for UniFi administrators building assistants, automations, custom applications, or remote integrations. The catalogue plugins package these servers with agent skills and setup guidance, while the listed skills support workflows across the UniFi products.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sirkirby/unifi-mcp --skill unifi-sitemanager-setupgit clone --depth 1 https://github.com/sirkirby/unifi-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup)<a href="https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01020 |
| Opus 5.5 | $0.00018 | $0.00408 |
| Sonnet 5.5 | $0.00009 | $0.00204 |
| Haiku 4.5 | $0.00004 | $0.00102 |
Grade A, and why
unifi-sitemanager-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Set up UniFi Site Manager
-
Choose the client. Use Claude Code, Codex or OpenClaw. Other clients use the repository's native/manual server installation instructions; do not invent plugin configuration for them. Real-client acceptance of this bundle is not yet measured. Locate this installed plugin's root from the skill path.
-
Check prerequisites. Run
bash <plugin-root>/scripts/check-prereqs.sh --target <client>or& <plugin-root>/scripts/check-prereqs.ps1 -Target <client>on Windows. Installuv/uvxand the chosen client CLI when missing. The server needs Python 3.13 or newer (uv can supply it); setup needs Python 3.11 or newer and falls back to uv. Internet access to Ubiquiti'shttps://api.ui.comis required. -
Explain the scope. A Site Manager API key grants visibility across the whole UniFi account. Ask the user to create a cloud key in Site Manager and choose exactly one source below. Never ask for the value in chat. This server has no console host, username, password, port, site or TLS setting and no permission or policy options. Never reuse or migrate
UNIFI_API_KEYor a console credential. -
Save the one credential. Accept only
UNIFI_SITEMANAGER_API_KEY,UNIFI_SITEMANAGER_API_KEY_FILEorUNIFI_SITEMANAGER_API_KEY_COMMAND. Two nonempty forms are refused. Provider files must be nonempty readable absolute paths; command providers name an available executable and argv, run without a shell by the server. Setup validates references without running a command provider or reading the key file's contents.Claude Code's plugin options offer a sensitive masked API key field, stored in its system keychain, and file/command fields. Prefer a provider. For Codex and OpenClaw, use a provider reference with the bundled settings script:
bash <plugin-root>/scripts/set-env.sh --target codex UNIFI_SITEMANAGER_API_KEY_FILE=/absolute/path/to/key& <plugin-root>/scripts/set-env.ps1 -Target codex UNIFI_SITEMANAGER_API_KEY_FILE=C:\private\keyChoose
claudeoropenclawinstead when appropriate. The raw key must travel only as a JSON patch on stdin (--input-json/-InputJson) from a local masked prompt or secret manager. Never place it in a command argument, shell history, output, logs, or a conversation. If a masked input mechanism is unavailable, use a provider. Claude Code setup callsclaude plugin configurewith values on stdin, using the existing keychain mechanism. Switching from a keychain value may require clearing it in a newer Claude Code or reinstalling; follow the helper's value-free guidance rather than saving two forms.Codex and OpenClaw save only the key source in the private per-user file
~/.config/unifi-mcp/sitemanager.env(Windows:%USERPROFILE%\.config\unifi-mcp\sitemanager.env). Their bundled.mcp.codex.jsonpoints there throughUNIFI_SETTINGS_FILE; setup creates no MCP client entry. If a manual entry shadows the bundle, remove it with the client editor and rerun; Site Manager never migrates console settings. -
Reconnect. Claude Code:
/reload-pluginsor start a new session to load new options; use/mcp reconnect plugin:unifi-sitemanager:unifi-sitemanageronly if/mcpshows the server as failed. Codex: start a new session. OpenClaw: start a new session or restart the Gateway when an open session keeps the unconfigured server. Plugin upgrades take effect from the next agent turn. Codex setup warms the pinned package without a settings file or credential; it performs no authenticated read. With no key the server starts in keyless setup mode instead of connecting. Once the user agrees to an account-wide read, discover a bounded inventory read through the mainunifi-sitemanagerskill. Report only status and counts, never credential values. All domain tools read; there are no writes or support-bundle tool.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 16d ago First seen · 68 lines · 44 tokens per session scan A f4c6adb55fb7
unifi-sitemanager-setup is a skill published in the GitHub repository sirkirby/unifi-mcp (1,150 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,020 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.
unifi-sitemanager-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unifi-sitemanager-setupsirkirby/unifi-mcp | Skill | 1.1k | today | MIT | A | 44 | Claude Code |
| streamdeck-designerverygoodplugins/streamdeck-mcp | Skill | 55 | 6d ago | MIT | A | 167 | Claude Code, Codex |
| streamdeck-profileverygoodplugins/streamdeck-mcp | Skill | 55 | 6d ago | MIT | A | 0 | Claude Code, Codex |
| unifi-udm-pro-mcprodolfoconcepcion/unifi-udm-pro-mcp | Skill | 5 | 14d ago | MIT | A | 35 | Claude Code, Codex |
| unifi-networkgordcurrie/unifi-mcp | Skill | 2 | 1mo ago | MIT | A | 111 | Claude Code, Codex |
| audit-erc-drc-and-safetyw1ne/labwired-core | Skill | 210 | today | MIT | A | 49 | Claude Code |
| export-kicad-and-bomw1ne/labwired-core | Skill | 210 | today | MIT | A | 51 | Claude Code |