Skip to content
appsgit

Unifi MCP Server

Unifi MCP Server is an MCP server that exposes the UniFi Network Controller API today and is evolving into a production-grade multi-domain platform for Protect, Access, and enterprise-scale orchestration. It has 281 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y unifi-mcp-server.

github.com/enuno/unifi-mcp-server (opens in a new tab)

  • Needs API key
  • Other
  • Apache-2.0
  • Actively maintained

Install Unifi MCP Server

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "unifi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env UNIFI_HOST=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value --transport stdio unifi-mcp-server -- npx -y unifi-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "unifi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "unifi_password",
      "description": "UNIFI_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "unifi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "${input:unifi_password}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
UNIFI_HOSTYesUniFi Controller hostname or IP address
UNIFI_USERNAMEYesUniFi Controller username
UNIFI_PASSWORDsecretYesUniFi Controller password
UNIFI_PORTNoUniFi Controller port (default: 443)
UNIFI_VERIFY_SSLNoVerify SSL certificate (default: true)
UNIFI_SITENoUniFi site name (default: default)

About Unifi MCP Server

A Model Context Protocol (MCP) server that exposes the UniFi Network Controller API today and is evolving into a production-grade multi-domain platform for Protect, Access, and enterprise-scale orchestration.

FAQ

Unifi MCP Server FAQ

Still curious? Email info@appsgit.com.

What is Unifi MCP Server?

Unifi MCP Server is an MCP server that exposes the UniFi Network Controller API today and is evolving into a production-grade multi-domain platform for Protect, Access, and enterprise-scale orchestration. It has 281 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y unifi-mcp-server. The source code is at github.com/enuno/unifi-mcp-server.

How do I install the Unifi MCP Server MCP server?

Add the command npx -y unifi-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Unifi MCP Server free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (UNIFI_PASSWORD) for the service it connects to, which may require a paid account.

Is Unifi MCP Server actively maintained?

The most recent commit was on Sep 28, 2026. The latest release is v0.2.6, published May 4, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.