Unifi MCP Server

MCP server for the UniFi Network API

Local serverstdioTypeScript

What is the Unifi MCP Server?

MCP server for the UniFi Network API

What the server does

An MCP (Model Context Protocol) server that exposes the UniFi Network Integration API as tools for Claude Code and other MCP clients. Provides 74 tools for managing sites, devices, clients, networks, WiFi, firewalls, ACLs, switching, DNS policies, hotspot vouchers, VPNs, and more.

Credentials and setup notes

  • Node.js 22.13+ or 24 (see engines in package.json) - A UniFi Network console with the Integration API enabled - An API key generated from your UniFi Network console

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Unifi MCP Server

{
  "mcpServers": {
    "unifi-network": {
      "command": "npx",
      "args": ["-y", "@owine/unifi-network-mcp@latest"],
      "env": {
        "UNIFI_NETWORK_HOST": "192.168.1.1",
        "UNIFI_NETWORK_API_KEY": "your-api-key",
        "UNIFI_NETWORK_VERIFY_SSL": "false"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 22.13+ or 24 (see engines in package.json) - A UniFi Network console with the Integration API enabled - An API key generated from your UniFi Network console
VariableDescriptionRequired
UNIFI_NETWORK_HOSTEndpoint or connection string the server talks to.Optional
UNIFI_NETWORK_API_KEYCredential the server authenticates with.Yes
UNIFI_NETWORK_VERIFY_SSLConfiguration value read at startup.Optional

Frequently asked questions

MCP server for the UniFi Network API Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.