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-drivegit 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-drive)<a href="https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-drive"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-drive/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-drive"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-drive.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.00083 | $0.01104 |
| Opus 5.5 | $0.00033 | $0.00442 |
| Sonnet 5.5 | $0.00017 | $0.00221 |
| Haiku 4.5 | $0.00008 | $0.00110 |
Grade A, and why
unifi-drive 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 yesterday.
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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UniFi Drive
Dependencies
Requires: drive Optional: none
The NAS is its own console
This server talks to UniFi Drive on the NAS itself, a separate UniFi OS console from the gateway, logged in with a local account on that NAS. It is not reached through the Network application, and its IDs are scoped to the Drive tool family — do not pass them to Network, Protect or Access tools.
Drive has no startup login. The server starts without contacting the NAS, and
the first tool call logs in, so a running server proves nothing about the host
or password. When the first read fails to log in, stop and use
unifi-drive-setup. A server offering only its setup-status tool has no host
configured.
Discover and read
It provides 22 domain tools, plus 6 meta-tools.
Eighteen domain tools read and four write. In default lazy mode, start with
drive_tool_index, filtered by name or search, and request
include_schemas=True for the intended tool. Use drive_execute with its
tool and arguments fields when the domain tool is not directly listed.
drive_batch runs several calls as jobs, reads side by side and writes one at
a time; drive_batch_status and
drive_batch_cancel follow and withdraw its jobs, and drive_load_tools
loads selected tools for clients that handle tool-list changes.
Read the tool reference for all twenty-two tools
before constructing a call. drive_list_disks hides empty bays unless called
with include_empty=true. Shared drive IDs from drive_list_shared_drives are
what the NFS tools take.
drive_list_logsreads newest first. Pass itsnext_cursorback ascursorwith the same filters for the next page. An unknown category or type is an error, not an empty log.drive_get_disk_statssummarizes each disk over the window. Leaveinclude_samplesoff unless per-bucket values are needed: they add about 12 KB per disk per day.drive_list_snapshotstakes a shared drive's name, not its ID. Scheduled snapshots have no name; theirdescription(Scheduled Snapshot) identifies them.drive_list_usersgives each user's access level: owner, admin (any role) or user.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · +12 lines 9d9e06cb42b0
- 4d ago First seen · 80 lines · 83 tokens per session scan A a78d89186a39
unifi-drive is a skill published in the GitHub repository sirkirby/unifi-mcp (1,150 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 1,104 once invoked, about $0.0003 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-26.
unifi-drive compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unifi-drivesirkirby/unifi-mcp | Skill | 1.1k | today | MIT | A | 83 | 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 |