UniFi RMCP MCP Server

Rust MCP server and CLI for UniFi Network controller operations.

Local serverstdioGo

What is the UniFi RMCP MCP Server?

Rust MCP server and CLI for UniFi Network controller operations.

The short version

MCP server and CLI for UniFi Network controllers: clients, devices, WLANs, firewall, and health over stdio or streamable HTTP, with auth.

  • Read connected wireless and wired clients, network devices, WLAN configs,
  • Dispatch generated official_* actions for documented Network Integration API
  • Dispatch model-backed unifi_* internal controller actions and hybrid aliases
  • Enforce unifi:read for read actions and unifi:admin for mutating actions
  • Provide setup, doctor, and endpoint-verification commands for local runtime

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 RMCP MCP Server

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": ["-y", "unifi-rmcp", "mcp"],
      "env": {
        "UNIFI_URL": "https://unifi.local",
        "UNIFI_API_KEY": "...",
        "UNIFI_SITE": "default",
        "UNIFI_SKIP_TLS_VERIFY": "true"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
UNIFI_URLEndpoint or connection string the server talks to.Yes
UNIFI_API_KEYCredential the server authenticates with.Yes
UNIFI_SITEConfiguration value read at startup.Optional
UNIFI_SKIP_TLS_VERIFYConfiguration value read at startup.Optional
UNIFI_MCP_HOSTEndpoint or connection string the server talks to.Optional
UNIFI_RMCP_RELEASE_BASE_URLEndpoint or connection string the server talks to.Yes
UNIFI_MCP_TOKENCredential the server authenticates with.Yes
UNIFI_SITE_IDConfiguration value read at startup.Optional

Frequently asked questions

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