AIAny
Icon for item

UniFi MCP

Provides MCP servers and agent skills that let AI assistants query, correlate and safely manage UniFi controllers (Network, Protect, Access). Includes a Cloud Relay for multi-location access, an independent REST/GraphQL API, secret redaction and preview-then-confirm mutation flows for safer automation.

Introduction

Most automation layers treat network and physical-security systems as either opaque APIs or fully manual workflows; that gap makes LLM-driven automation risky or brittle. By exposing UniFi controller capabilities as Model Context Protocol (MCP) tools plus curated agent skills, this project turns controller state and actions into discoverable, composable primitives while building safety guardrails into the request lifecycle.

What Sets It Apart
  • Tool-first MCP surface: Each UniFi product (Network, Protect, Access) is published as an independent MCP server with dozens to hundreds of domain tools (Network: 186 tools; Protect: 61; Access: 36), letting agents discover and call narrowly scoped operations instead of full controller dumps — so agents work with precise, typed primitives rather than raw REST endpoints.
  • Agent skills and previews: Ships skill packs (health checks, firewall manager/auditor, security digest, Access workflows) that teach agents common, multi-step tasks and enforce a preview-then-confirm mutation model — so humans always review intended changes before they are applied.
  • Multi-location relay + edge gateway: A Cloudflare Worker gateway + local relay sidecar provide authenticated, multi-location routing and a durable-broker pattern for remote agents; this enables cross-product correlation (e.g., camera events + network clients + door badges) without exposing controller admin interfaces directly to the Internet.
  • Safety and operability features: Built-in secret redaction of known sensitive fields, configurable response compacting by protocolVersion, lazy tool registration to keep agent context small, and an optional independent REST/GraphQL API for non-MCP consumers — so it balances agent ergonomics with operational security.
Who It's For and Tradeoffs

Great fit if you want an agent-centric integration layer that: connects LLM-based assistants to UniFi controllers for read/query tasks and controlled writes; correlates events across Network/Protect/Access; or provides audited, previewed automation workflows for on-prem infrastructure. Look elsewhere if you need a vendor-official controller plugin, must use Ubiquiti cloud SSO accounts (MCP expects local controller credentials), or require a zero-dependency, minimal-footprint appliance—the project is a monorepo with multiple Python services and a Node worker that assume deployment and maintenance resources.

Overall, this is infrastructure for safe, discoverable AI-driven ops: it reduces the friction of building agent automations against UniFi controllers while making explicit tradeoffs around credential handling, preview workflows, and deployment complexity.

More Items

Hugging Face
AI Model2026

Uses reinforcement learning to improve task generation, solving strategies, and solution rollouts in a continuous loop. This 122B MoE model targets coding, reasoning, and agent tasks, supports a 262K context window, and can run on one 80GB GPU.

GitHub
AI Agent2023

Coordinate named AI agents that delegate work, retain useful context, and run scheduled tasks in shared workspaces. Self-host the workspace and review agent actions, but bring your own model provider and account.

Hugging Face
AI Model2026

Coordinates long-horizon scientific and engineering tasks by delegating independent investigations to parallel subagents and revising its approach through evidence checks. It combines tool use and multimodal input in a 35B mixture-of-experts model.