Agent skill

Unifi

by enuno in enuno/unifi-mcp-server

Manage UniFi network infrastructure via the UniFi MCP Server.

Apache-2.0Auto-check passedDevOps & Cloud

Install Unifi

skills CLI
$ npx skills add enuno/unifi-mcp-server --skill unifi -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install enuno/unifi-mcp-server unifi --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unifi
GitHub stars
282
Token cost
~1k tokens
SKILL.md length
203 words
Files
539 (incl. scripts)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Manage UniFi network infrastructure via the UniFi MCP Server.

  • Any task involving UniFi devices
  • SKILL.md covers Quick Setup, Capability Domains, Environment Variables and API Mode Feature Matrix, plus 1 more section
  • Calls pip; needs UNIFI_API_KEY
  • Zone-based firewall

What it does

Unifi is an agent skill from enuno/unifi-mcp-server. Manage UniFi network infrastructure via the UniFi MCP Server. Use this skill for any task involving UniFi devices, clients, networks, VLANs, WiFi, firewall rules, zone-based firewall, VPNs, traffic monitoring, backups, RADIUS, QoS, DPI, port forwarding, ACLs, DHCP, DNS, or site management. Triggers when the user mentions UniFi, Ubiquiti, network clients, APs, switches, gateways, firewall policies, or traffic flows in a network management context.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 543 other files, including scripts (for example `.analysis-reports/api-spec-audit-2026-09-26.md`, `.analysis-reports/backend-audit.md` and `.analysis-reports/platform-audit.md`).

It sits in DevOps & Cloud, covering Cloud networking, MCP servers and Backup and disaster recovery. It works with Model Context Protocol. The repository describes itself as: An MCP server that leverages official UniFi API. The licence is Apache-2.0.

When your agent uses it

  • Any task involving UniFi devices
  • Zone-based firewall
  • Traffic monitoring
  • Port forwarding

Example prompts

  • “/unifi”

Requirements

  • Python 3
  • A credential in UNIFI_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 0f7ed7c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • UNIFI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unifi loads about 1k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~114
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from enuno/unifi-mcp-server at commit 0f7ed7c, republished under its Apache-2.0 licence (© enuno). 203 words, ~1,002 tokens.

Download SKILL.mdSave it as .claude/skills/unifi/SKILL.md (or your agent's skills folder). This skill also uses 538 other files; get the full folder from GitHub.
name
unifi
description
Manage UniFi network infrastructure via the UniFi MCP Server. Use this skill for any task involving UniFi devices, clients, networks, VLANs, WiFi, firewall rules, zone-based firewall, VPNs, traffic monitoring, backups, RADIUS, QoS, DPI, port forwarding, ACLs, DHCP, DNS, or site management. Triggers when the user mentions UniFi, Ubiquiti, network clients, APs, switches, gateways, firewall policies, or traffic flows in a network management context.
triggers
UniFi, Ubiquiti, network clients, access point, UniFi switch, UniFi gateway, firewall policy, VLAN management, traffic flows, SSID, WiFi network, site…

UniFi MCP Server Skill

Interact with your UniFi Network Controller using 86+ MCP tools 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

Add to your MCP client config (~/.claude/mcp.json or equivalent):

json
{
  "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)
bash
# 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:

bash
unifi-mcp-server --profile network    # clients, VLANs, WiFi, DHCP, DNS
unifi-mcp-server --profile devices    # device management and control
unifi-mcp-server --profile security   # firewall, VPN, ACLs, content filtering
unifi-mcp-server --profile system     # backups, QoS, traffic flows, sites

Capability Domains

Network Operations (skills/unifi-network.md)

Clients · VLANs · WiFi (SSIDs) · DHCP reservations · DNS · WAN · Vouchers

Device Management (skills/unifi-devices.md)

Inventory · Adoption · Restarts/upgrades · Radio config · Port profiles · Switching/stacks · Topology · Diagnostics

Security (skills/unifi-security.md)

Firewall rules · Firewall groups · Zone-based firewall (ZBF) · ACLs · Port forwarding · VPN · Site-to-site VPN · Content filtering

System & Monitoring (skills/unifi-system.md)

Sites · Multi-site aggregation · Backups · QoS / traffic routes · Traffic flow analytics · DPI · RADIUS · Guest portal · Hotspot packages


Environment Variables

VariableDescriptionDefault
UNIFI_API_KEYAPI key from UniFi controller or unifi.ui.comrequired
UNIFI_API_TYPElocal, cloud-v1, or cloud-eacloud-v1
UNIFI_LOCAL_HOSTGateway IP (local mode only)—
UNIFI_SITEDefault site IDdefault
UNIFI_VERIFY_SSLVerify TLS certificatestrue

API Mode Feature Matrix

Featurelocalcloud-v1cloud-ea
Zone-based firewall✅❌❌
Traffic flows✅❌❌
Firewall rules/zones✅❌❌
ACLs❌✅✅
Traffic matching lists❌✅✅
Site aggregation✅✅✅
Device management✅✅✅

Usage Examples

# Check what clients are online on the main site
List all active clients on site "default"

# Investigate a device
Get details for the device with MAC aa:bb:cc:dd:ee:ff

# Firewall audit
List all firewall policies in zone-based firewall

# Bandwidth troubleshooting
Show top traffic flows for the last hour

# Backup before a change
Trigger a backup on site "default", then update the guest SSID password

© enuno, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 538 other files (scripts) in the repository root of enuno/unifi-mcp-server.

  • SKILL.md
  • .agents/skills
  • .aiignore
  • .analysis-reports/api-spec-audit-2026-09-26.md
  • .analysis-reports/backend-audit.md
  • .analysis-reports/platform-audit.md
  • .analysis-reports/product-assessment.md
  • .analysis-reports/work-plan.md
  • .claude/agents/unifi-documentation.md
  • .claude/agents/unifi-release-manager.md
  • .claude/agents/unifi-test-coverage.md
  • .claude/agents/unifi-tool-developer.md
  • .claude/commands/CLAUDE.md
  • .claude/commands/build-docker.md
  • .claude/commands/check-deps.md
  • .claude/commands/clean.md
  • … and 523 more

Open the folder on GitHubat commit 0f7ed7c

Compare with similar skills

Unifi next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unifi compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unifi this skillenuno/unifi-mcp-server282—~1kAutomated safety check: PassApache-2.0
Unraiddinglebear-ai/unraid135—~2.8kAutomated safety check: PassMIT
Frontmcp Deploymentagentfront/frontmcp146—~9.2kAutomated safety check: NotesApache-2.0
Google Cloud Filestore Auditinggoogle/skills21k—~3.8kAutomated safety check: PassApache-2.0
Alloydb Basicsgoogle/skills21k—~1.7kAutomated safety check: PassApache-2.0
Alloydb Basicsdavila7/claude-code-templates33k—~611Automated safety check: PassMIT

Similar skills

  • Unraid

    dinglebear-ai/unraid

    Query and monitor an Unraid NAS/homelab server — array health, disk temperatures, Docker containers, virtual machines, system metrics, notifications, alerts, shares, UPS status, log files, network…

    135 GitHub stars~2.8k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Frontmcp Deployment

    agentfront/frontmcp

    A skill your agent uses when deploying, building for production, packaging, or shipping a FrontMCP server.

    146 GitHub stars~9.2k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Official

    Audits Filestore instances on Google Cloud across projects for disaster recovery readiness (missing or stale backups), security access governance (overly permissive NFS export rules, 0.0.0.0/0…

    21k GitHub stars~3.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Alloydb Basics

    google/skills

    Official

    Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations.

    21k GitHub stars~1.7k tokensUpdated today
    DatabasesAuto-check passed
  • Alloydb Basics

    davila7/claude-code-templates

    Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB MCP tools for automated database operations including AI-powered search and vector capabilities.

    33k GitHub stars~611 tokensUpdated today
    DatabasesAuto-check passed
  • Skillshare

    runkids/skillshare

    Manage skills, agents, extras, hooks, plugins, and MCP connection settings with the Skillshare CLI.

    2.8k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from enuno/unifi-mcp-server

All 12 skills in this repo
  • Unifi MCP Tool Builder

    enuno/unifi-mcp-server

    Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices.

    282 GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Source Command Unifi MCP Add Tool

    enuno/unifi-mcp-server

    Scaffold a new UniFi MCP tool with model, function, tests, and docs

    282 GitHub stars~748 tokensUpdated today
    Auto-check passed
  • Prepare a new release with version bump, changelog, and quality checks

    282 GitHub stars~939 tokensUpdated today
    Auto-check passed
  • Auto-generate and update API.md documentation from tool docstrings

    282 GitHub stars~899 tokensUpdated today
    Auto-check passed

Questions about Unifi

What does Unifi do?

Manage UniFi network infrastructure via the UniFi MCP Server. Unifi is an agent skill from enuno/unifi-mcp-server. Manage UniFi network infrastructure via the UniFi MCP Server.

When should I use Unifi?

Unifi fits situations like: any task involving UniFi devices; zone-based firewall; traffic monitoring; port forwarding.

How do I install Unifi in Claude Code?

Run `npx skills add enuno/unifi-mcp-server --skill unifi -a claude-code`. Or copy the skill folder (the enuno/unifi-mcp-server repository) into .claude/skills/unifi in your project. Claude Code loads it when a task matches its description.

How do I install Unifi in Codex?

Run `npx skills add enuno/unifi-mcp-server --skill unifi -a codex`. Or copy the skill folder (the enuno/unifi-mcp-server repository) into .agents/skills/unifi in your project. Codex loads it when a task matches its description.

Can I use Unifi in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add enuno/unifi-mcp-server --skill unifi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unifi, .gemini/skills/unifi, .github/skills/unifi and .opencode/skills/unifi in your project.

What does Unifi need to run?

Going by SKILL.md and its folder, Unifi needs the command-line tools its instructions call (pip) and credentials named UNIFI_API_KEY. Our summary lists: Python 3; A credential in UNIFI_API_KEY.

Does Unifi access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Unifi safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Unifi use?

Unifi is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unifi use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unifi?

Skills that share tags, products or a category with Unifi: Unraid (dinglebear-ai/unraid, 135 stars), Frontmcp Deployment (agentfront/frontmcp, 146 stars), Google Cloud Filestore Auditing (google/skills, 21k stars) and Alloydb Basics (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unifi?

enuno (a GitHub user) maintains it in enuno/unifi-mcp-server, which has 282 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 10, 2026.

Source: enuno/unifi-mcp-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.