Skip to content
Cursor

UniFi for Cursor

io.github.mattoddie/unifi-mcp

Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN. Read-only by default.

client:Cursor transport:stdio runtime:oci

Install UniFi in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "unifi-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mattoddie/unifi-mcp:0.6.2"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_TLS_FINGERPRINT": "<UNIFI_TLS_FINGERPRINT>",
        "UNIFI_VERIFY_SSL": "<UNIFI_VERIFY_SSL>",
        "UNIFI_SITE": "<UNIFI_SITE>",
        "UNIFI_ALLOW_WRITES": "<UNIFI_ALLOW_WRITES>",
        "UNIFI_ALLOW_DELETES": "<UNIFI_ALLOW_DELETES>",
        "UNIFI_TOOLSETS": "<UNIFI_TOOLSETS>",
        "UNIFI_AUDIT_LOG": "<UNIFI_AUDIT_LOG>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

UniFi in other clients