UniFi RMCP for VS Code
ai.dinglebear/runifi
Rust MCP server and CLI for UniFi Network controller operations.
client:VS Code
transport:stdio
runtime:npm
Install UniFi RMCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "unifi-url",
"description": "UNIFI_URL",
"password": true
},
{
"type": "promptString",
"id": "unifi-api-key",
"description": "UNIFI_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "unifi-rmcp-version",
"description": "UNIFI_RMCP_VERSION",
"password": true
},
{
"type": "promptString",
"id": "unifi-rmcp-repo",
"description": "UNIFI_RMCP_REPO",
"password": true
},
{
"type": "promptString",
"id": "unifi-rmcp-release-base-url",
"description": "UNIFI_RMCP_RELEASE_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "rust-log",
"description": "RUST_LOG",
"password": true
}
],
"servers": {
"runifi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/runifi"
],
"env": {
"UNIFI_URL": "${input:unifi-url}",
"UNIFI_API_KEY": "${input:unifi-api-key}",
"UNIFI_RMCP_VERSION": "${input:unifi-rmcp-version}",
"UNIFI_RMCP_REPO": "${input:unifi-rmcp-repo}",
"UNIFI_RMCP_RELEASE_BASE_URL": "${input:unifi-rmcp-release-base-url}",
"RUST_LOG": "${input:rust-log}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs