unifi-sitemanager-setup

unifi-sitemanager-setup is a skill for Claude Code from sirkirby/unifi-mcp. It costs 44 tokens per session (1,020 once invoked), scanned A, original, MIT.

A setup guide for connecting the UniFi Site Manager plugin to Claude Code, Codex, or OpenClaw. UniFi Site Manager is Ubiquiti’s cloud service for managing visibility across a UniFi account.

In plain words
What is it for?
Use it to check Python and client requirements, configure one approved API-key source, diagnose setup problems, and reconnect the plugin after changing credentials.
Why use it?
It explains prerequisites, API-key scope, supported clients, credential sources, setup failures, and reconnecting after a key change. This helps avoid exposing a whole-account key or using the wrong kind of UniFi credential.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Part of the unifi-sitemanager plugin — 2 skills shipped together

Good fit Use it to check Python and client requirements, configure one approved API-key source, diagnose setup problems, and reconnect the plugin after changing credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sirkirby/unifi-mcp/unifi-sitemanager-setup
About the project

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.

sirkirby/unifi-mcp · 1,150 stars · on GitHub · unifimcp.com

Install

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.

Any agent
npx skills add sirkirby/unifi-mcp --skill unifi-sitemanager-setup
Clone the repo
git clone --depth 1 https://github.com/sirkirby/unifi-mcp

Made for: Claude Code.

Or install unifi-sitemanager, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for unifi-sitemanager-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup/github.svg)](https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-sitemanager-setup)
Your own site
<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.

agentmods 80×15 button for unifi-sitemanager-setup

Your own site · 80×15
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 16d ago against content hash f4c6adb55fb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/unifi-sitemanager/skills/unifi-sitemanager-setup/SKILL.md · 68 lines

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

  1. 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.

  2. Check prerequisites. Run bash <plugin-root>/scripts/check-prereqs.sh --target <client> or & <plugin-root>/scripts/check-prereqs.ps1 -Target <client> on Windows. Install uv/uvx and 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's https://api.ui.com is required.

  3. 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_KEY or a console credential.

  4. Save the one credential. Accept only UNIFI_SITEMANAGER_API_KEY, UNIFI_SITEMANAGER_API_KEY_FILE or UNIFI_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\key
    

    Choose claude or openclaw instead 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 calls claude plugin configure with 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.json points there through UNIFI_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.

  5. Reconnect. Claude Code: /reload-plugins or start a new session to load new options; use /mcp reconnect plugin:unifi-sitemanager:unifi-sitemanager only if /mcp shows 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 main unifi-sitemanager skill. Report only status and counts, never credential values. All domain tools read; there are no writes or support-bundle tool.

Read the full file on GitHub · 68 lines

Changes

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.

  1. 16d ago First seen · 68 lines · 44 tokens per session scan A f4c6adb55fb7

Subscribe to this mod's changes

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.

Related

unifi-sitemanager-setup compared with skills from other repositories

unifi-sitemanager-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unifi-sitemanager-setupsirkirby/unifi-mcpSkill1.1ktodayMITA44Claude Code
streamdeck-designerverygoodplugins/streamdeck-mcpSkill556d agoMITA167Claude Code, Codex
streamdeck-profileverygoodplugins/streamdeck-mcpSkill556d agoMITA0Claude Code, Codex
unifi-udm-pro-mcprodolfoconcepcion/unifi-udm-pro-mcpSkill514d agoMITA35Claude Code, Codex
unifi-networkgordcurrie/unifi-mcpSkill21mo agoMITA111Claude Code, Codex
audit-erc-drc-and-safetyw1ne/labwired-coreSkill210todayMITA49Claude Code
export-kicad-and-bomw1ne/labwired-coreSkill210todayMITA51Claude Code