Skip to content
UniFi Site Manager and Network (unofficial)
Install guide · VS Code

Install UniFi Site Manager and Network (unofficial) for VS Code

Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.

  1. Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

.vscode/mcp.json
{  "servers": {    "mguttmann-the-real-unifi-mcp": {      "type": "stdio",      "command": "npx",      "args": [        "-y",        "the-real-unifi-mcp@0.4.0"      ],      "env": {        "UNIFI_API_KEY": "YOUR_UNIFI_API_KEY",        "UNIFI_CONFIRM_WRITES": "true",        "UNIFI_API_BASE": "https://api.ui.com",        "UNIFI_TIMEOUT_MS": "30000",        "UNIFI_LOG_LEVEL": "info",        "UNIFI_CONSOLE_ID": "",        "UNIFI_NETWORK_SITE_ID": "",        "UNIFI_SITE_MANAGER_SITE_ID": "",        "UNIFI_READ_ONLY": "false",        "UNIFI_REDACT_SECRETS": "false",        "UNIFI_MAX_RESULT_BYTES": "100000"      }    }  }}

Where the config lives

SystemPath
macOS.vscode/mcp.json
Windows.vscode/mcp.json
Linux.vscode/mcp.json