/SKILL.md
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.
npx skillsauth add enuno/unifi-mcp-server unifiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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"
}
}
}
}
# 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>
Start the server with only the tools you need:
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
skills/unifi-network.md)Clients · VLANs · WiFi (SSIDs) · DHCP reservations · DNS · WAN · Vouchers
skills/unifi-devices.md)Inventory · Adoption · Restarts/upgrades · Radio config · Port profiles · Switching/stacks · Topology · Diagnostics
skills/unifi-security.md)Firewall rules · Firewall groups · Zone-based firewall (ZBF) · ACLs · Port forwarding · VPN · Site-to-site VPN · Content filtering
skills/unifi-system.md)Sites · Multi-site aggregation · Backups · QoS / traffic routes · Traffic flow analytics · DPI · RADIUS · Guest portal · Hotspot packages
| Variable | Description | Default |
|---|---|---|
| UNIFI_API_KEY | API key from UniFi controller or unifi.ui.com | required |
| UNIFI_API_TYPE | local, cloud-v1, or cloud-ea | cloud-v1 |
| UNIFI_LOCAL_HOST | Gateway IP (local mode only) | — |
| UNIFI_SITE | Default site ID | default |
| UNIFI_VERIFY_SSL | Verify TLS certificates | true |
| Feature | local | cloud-v1 | cloud-ea | |---|---|---|---| | Zone-based firewall | ✅ | ❌ | ❌ | | Traffic flows | ✅ | ❌ | ❌ | | Firewall rules/zones | ✅ | ❌ | ❌ | | ACLs | ❌ | ✅ | ✅ | | Traffic matching lists | ❌ | ✅ | ✅ | | Site aggregation | ✅ | ✅ | ✅ | | Device management | ✅ | ✅ | ✅ |
# 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
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.