MCP Server Studio
Rust MCP server and CLI for UniFi Network controller operations.
Registry name: ai.dinglebear/runifi
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>"
}
}
}
}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] mcpAdd 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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
UNIFI_URL | Yes | UniFi Network controller base URL. |
UNIFI_API_KEY | Yes | UniFi API key. |
UNIFI_RMCP_VERSION | No | Optional GitHub release tag override for the downloaded UniFi RMCP binary. |
UNIFI_RMCP_REPO | No | Optional GitHub owner/repo override for release asset downloads. |
UNIFI_RMCP_RELEASE_BASE_URL | No | Optional release download base URL override. |
RUST_LOG | No | Tracing filter for UniFi RMCP logs. |