MCP Server Studio

UniFi RMCP MCP server

Rust MCP server and CLI for UniFi Network controller operations.

Registry name: ai.dinglebear/runifi

Publisher
dinglebear.ai
Runs
Runs locally
Package
npm
Version
0.2.5
Category
Developer tools
Updated
2026-08-03

Source code on GitHub

Set up UniFi RMCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "runifi": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/[email protected]",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_RMCP_VERSION": "<UNIFI_RMCP_VERSION>",
        "UNIFI_RMCP_REPO": "<UNIFI_RMCP_REPO>",
        "UNIFI_RMCP_RELEASE_BASE_URL": "<UNIFI_RMCP_RELEASE_BASE_URL>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add runifi -e UNIFI_URL='<UNIFI_URL>' -e UNIFI_API_KEY='<UNIFI_API_KEY>' -e UNIFI_RMCP_VERSION='<UNIFI_RMCP_VERSION>' -e UNIFI_RMCP_REPO='<UNIFI_RMCP_REPO>' -e UNIFI_RMCP_RELEASE_BASE_URL='<UNIFI_RMCP_RELEASE_BASE_URL>' -e RUST_LOG='<RUST_LOG>' -- npx -y @dinglebear/[email protected] mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "runifi": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/[email protected]",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_RMCP_VERSION": "<UNIFI_RMCP_VERSION>",
        "UNIFI_RMCP_REPO": "<UNIFI_RMCP_REPO>",
        "UNIFI_RMCP_RELEASE_BASE_URL": "<UNIFI_RMCP_RELEASE_BASE_URL>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "runifi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/[email protected]",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_RMCP_VERSION": "<UNIFI_RMCP_VERSION>",
        "UNIFI_RMCP_REPO": "<UNIFI_RMCP_REPO>",
        "UNIFI_RMCP_RELEASE_BASE_URL": "<UNIFI_RMCP_RELEASE_BASE_URL>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "runifi": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/[email protected]",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_RMCP_VERSION": "<UNIFI_RMCP_VERSION>",
        "UNIFI_RMCP_REPO": "<UNIFI_RMCP_REPO>",
        "UNIFI_RMCP_RELEASE_BASE_URL": "<UNIFI_RMCP_RELEASE_BASE_URL>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
UNIFI_URLYesUniFi Network controller base URL.
UNIFI_API_KEYYesUniFi API key.
UNIFI_RMCP_VERSIONNoOptional GitHub release tag override for the downloaded UniFi RMCP binary.
UNIFI_RMCP_REPONoOptional GitHub owner/repo override for release asset downloads.
UNIFI_RMCP_RELEASE_BASE_URLNoOptional release download base URL override.
RUST_LOGNoTracing filter for UniFi RMCP logs.

More developer tools MCP servers