
UniFi Access MCP Server
by sirkirbyio.github.sirkirby/unifi-access-mcpv0.1.6
Manage UniFi Access doors, credentials, policies, visitors, and events via MCP.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install UniFi Access MCP server
Install in Claude Code
claude mcp add access -e UNIFI_HOST='<unifi-host>' -e UNIFI_USERNAME='<unifi-username>' -e UNIFI_PASSWORD='<unifi-password>' -e UNIFI_API_KEY='<unifi-api-key>' -- uvx unifi-access-mcpInstall in Cursor
{
"mcpServers": {
"access": {
"command": "uvx",
"args": [
"unifi-access-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"access": {
"command": "uvx",
"args": [
"unifi-access-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"access": {
"type": "stdio",
"command": "uvx",
"args": [
"unifi-access-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"access": {
"command": "uvx",
"args": [
"unifi-access-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| UNIFI_HOST | yes | — | Controller IP/hostname |
| UNIFI_USERNAME | yes | yes | Admin username |
| UNIFI_PASSWORD | yes | yes | Admin password |
| UNIFI_API_KEY | — | yes | API key (optional, experimental) |
| UNIFI_PORT | — | — | Controller HTTPS port |
| UNIFI_VERIFY_SSL | — | — | SSL certificate verification |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
2026-10-08 · 1d ago · GitHub · api/v0.20.5
Package published
no data · npm/PyPI
Registry entry updated
2026-03-24 · 7mo ago · official registry · v0.1.6
FAQ
›How do I install the UniFi Access MCP server in Claude Code?
Run: claude mcp add access -e UNIFI_HOST='<unifi-host>' -e UNIFI_USERNAME='<unifi-username>' -e UNIFI_PASSWORD='<unifi-password>' -e UNIFI_API_KEY='<unifi-api-key>' -- uvx unifi-access-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does UniFi Access require an API key?
Yes. It expects UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_API_KEY, of which 3 are secrets.
›Can I use UniFi Access as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is UniFi Access in the official MCP registry?
Yes, as io.github.sirkirby/unifi-access-mcp.