Unifi MCP Server

An MCP server that leverages official UniFi API

Local serverstdioPython

What is the Unifi MCP Server?

An MCP server that leverages official UniFi API

What you get

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.

Configuration and credentials

  • You know which UniFi API mode the deployment uses: local, cloud-ea, or cloud-v1. - You know whether the runtime is stdio, HTTP, SSE, or streamable HTTP. - You have read the phase target in SPEC.md and the current work item in DEVELOPMENT_PLAN.md.

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": {
      "url": "http://your-server-ip:3000/sse"
    }
  }
}

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

Configuration

  • You know which UniFi API mode the deployment uses: local, cloud-ea, or cloud-v1. - You know whether the runtime is stdio, HTTP, SSE, or streamable HTTP. - You have read the phase target in SPEC.md and the current work item in DEVELOPMENT_PLAN.md.
VariableDescriptionRequired
MCP_SERVER_TRANSPORTConfiguration value read at startup.Optional
MCP_SERVER_PORTConfiguration value read at startup.Optional
UNIFI_LOCAL_HOSTEndpoint or connection string the server talks to.Optional
UNIFI_API_KEYCredential the server authenticates with.Yes
AGNOST_ORG_IDConfiguration value read at startup.Optional
UNIFI_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Unifi to Objective.”
  • “Use Unifi to Prerequisites.”
  • “Use Unifi to Procedure.”

Frequently asked questions

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