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 enuno/unifi-mcp-server --skill unifi-mcp-setupgit clone --depth 1 https://github.com/enuno/unifi-mcp-serverWrote 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/enuno/unifi-mcp-server/unifi-mcp-setup)<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-mcp-setup"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-mcp-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/enuno/unifi-mcp-server/unifi-mcp-setup"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-mcp-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.00102 | $0.01165 |
| Opus 5.5 | $0.00041 | $0.00466 |
| Sonnet 5.5 | $0.00020 | $0.00233 |
| Haiku 4.5 | $0.00010 | $0.00117 |
Grade A, and why
unifi-mcp-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 9d 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UniFi MCP Server Skill
Interact with UniFi Network, Protect and the UniFi cloud APIs using 362 MCP tools (local mode) across six capability domains. The server supports three API modes (local gateway, cloud-v1, cloud-ea) and requires UniFi Network 9.0+ for zone-based firewall features.
Quick Setup
Via MCP (recommended for full tool access)
Add to your MCP client config (~/.claude/mcp.json or equivalent):
{
"mcpServers": {
"unifi": {
"command": "uvx",
"args": ["unifi-mcp-server"],
"env": {
"UNIFI_API_KEY": "your-api-key",
"UNIFI_API_TYPE": "local",
"UNIFI_LOCAL_HOST": "192.168.2.1"
}
}
}
}
Via CLI (scoped invocation without loading all tools into context)
# Install
pip install unifi-mcp-server
# or: uvx unifi-mcp-server --help
# Set credentials once
export UNIFI_API_KEY=your-api-key
export UNIFI_API_TYPE=local
export UNIFI_LOCAL_HOST=192.168.2.1
# Run any tool directly
unifi-cli list-clients --site default
unifi-cli get-device-details --site default --device-id <id>
Scoped MCP profiles (reduce context footprint)
Start the server with only the tools you need:
UNIFI_PROFILE=network unifi-mcp-server # clients, VLANs, WiFi, DHCP, DNS
UNIFI_PROFILE=devices unifi-mcp-server # device management and control
UNIFI_PROFILE=security unifi-mcp-server # firewall, VPN, ACLs, content filtering
UNIFI_PROFILE=system unifi-mcp-server # backups, QoS, traffic flows, sites
UNIFI_PROFILE=protect unifi-mcp-server # cameras, NVRs, sensors, alarms
Capability Domains
Network Operations (skills/unifi-network/)
Clients · VLANs · WiFi (SSIDs) · DHCP reservations · DNS · WAN · Vouchers
Device Management (skills/unifi-devices/)
Inventory · Adoption · Restarts/upgrades · Radio config · Port profiles · Switching/stacks · Topology · Diagnostics
Security (skills/unifi-security/)
Firewall rules · Firewall groups · Zone-based firewall (ZBF) · ACLs · Port forwarding · VPN · Site-to-site VPN · Content filtering
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.
- 9d ago Changed d648b04b9537
- 11d ago Changed 284ba9519c82
- 16d ago First seen · 151 lines · 102 tokens per session scan A 209d5afe4890
unifi-mcp-setup is a skill published in the GitHub repository enuno/unifi-mcp-server (395 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 1,165 once invoked, about $0.0004 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-15.
unifi-mcp-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unifi-mcp-setupenuno/unifi-mcp-server | Skill | 395 | today | Apache-2.0 | A | 102 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| google-cloud-filestore-autoscalegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 102 | Claude Code, Codex |
| terraform-module-librarywshobson/agents | Skill | 43k | yesterday | MIT | A | 44 | Claude Code |
| vast-gpuwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 46 | Claude Code |
| tao-train-pointpillarsNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 110 | Claude Code |
| aws-lambda-microvmsaws/agent-toolkit-for-aws | Skill | 3.6k | today | Apache-2.0 | A | 197 | Claude Code, Codex |