UniFi Network MCP

MCP server exposing 189 UniFi Network Controller tools for LLMs, agents, and automation platforms. Query clients, devices, firewall rules, VLANs, VPNs, Traffic Flows, stats, and more - with safe-by-default permissions and preview-before-confirm for all mutations.

People connecting automation tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 · ★ 743 · #5 OF 194 MAINTAINED AUTOMATION · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install UniFi Network MCP

before you install - you'll need

Set UNIFI_NETWORK_HOST, UNIFI_NETWORK_USERNAME, UNIFI_NETWORK_PASSWORD before connecting.

Claude Code

claude mcp add sirkirby-unifi-mcp-apps-network -- uvx unifi-network-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "sirkirby-unifi-mcp-apps-network": {
      "command": "uvx",
      "args": [
        "unifi-network-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package unifi-network-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.sirkirby is GitHub-verified and matches the repo owner

03 · What UniFi Network MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

relay/v0.3.9 · 2026-08-22

Install or upgrade: · bash · pip install unifi-mcp-relay==0.3.9 · ![PyPI]( · Relay · preserve tool annotations through relay discovery (#542) by @davidkmiller · _Omitted 3 unrelated monorepo commits from these notes._…

access/v0.5.8 · 2026-08-22

Install or upgrade: · bash · uvx unifi-access-mcp==0.5.8 · ![PyPI]( · No package-scoped code changes were detected for this tag. · _Omitted 4 unrelated monorepo commits from these notes._

protect/v0.7.7 · 2026-08-22

Install or upgrade: · bash · uvx unifi-protect-mcp==0.7.7 · ![PyPI]( · No package-scoped code changes were detected for this tag. · _Omitted 4 unrelated monorepo commits from these notes._

04 · Who maintains UniFi Network MCP

UniFi Network MCP is maintained by sirkirby. We track 3 MCP servers from sirkirby - 3 actively maintained, 743 combined GitHub stars, oldest repo from Apr 2025.

  1. UniFi Protect MCP Manage UniFi Protect cameras, events, recordings, and smart detections via MCP. ★ 743
  2. UniFi Access MCP Manage UniFi Access doors, credentials, policies, visitors, and events via MCP. ★ 743

05 · Facts

category
automation - ranked #5 of 194 actively-maintained automation servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-22)
registry
io.github.sirkirby/unifi-network-mcp (active, first published 2026-03-24)
packages
pypi:unifi-network-mcp

06 · UniFi Network MCP FAQ

What is UniFi Network MCP?

MCP server exposing 189 UniFi Network Controller tools for LLMs, agents, and automation platforms. Query clients, devices, firewall rules, VLANs, VPNs, Traffic Flows, stats, and more - with safe-by-default permissions and preview-before-confirm for all mutations.

Is UniFi Network MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-25 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install UniFi Network MCP?

Run `uvx unifi-network-mcp`. The README documents 3 environment variables (UNIFI_NETWORK_HOST, UNIFI_NETWORK_USERNAME, UNIFI_NETWORK_PASSWORD) to set first. Set UNIFI_NETWORK_HOST, UNIFI_NETWORK_USERNAME, UNIFI_NETWORK_PASSWORD before connecting. You can also paste the ready-made client config above.

Does UniFi Network MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to UniFi Network MCP

More automation MCP servers · UniFi Protect MCP · Skillsmith · Govtoolspro MCP Server · Odoo Surface MCP

More Python MCP servers · Magg · Reversecore MCP · M3 Memory · SAST MCP Server · see all