UniFi Access MCP
MCP server by sirkirby Community
Lets AI assistants manage UniFi Access doors, credentials, policies, visitors and events through MCP. It is for people who run UniFi Access and want an assistant to handle that work.
Install UniFi Access MCP
Built from the published package, never by AI.
claude mcp add unifi-access-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-access-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"unifi-access-mcp": {
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME"
},
"args": [
"unifi-access-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"unifi-access-mcp": {
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME"
},
"args": [
"unifi-access-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"unifi-access-mcp": {
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME"
},
"args": [
"unifi-access-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add unifi-access-mcp --env UNIFI_HOST=YOUR_UNIFI_HOST --env UNIFI_USERNAME=YOUR_UNIFI_USERNAME --env UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-access-mcp{
"mcpServers": {
"unifi-access-mcp": {
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME"
},
"args": [
"unifi-access-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add unifi-access-mcp uvx unifi-access-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the unifi-access-mcp block.
About
UniFi Access MCP is an MCP server from the sirkirby UniFi MCP project. It connects AI assistants and automation tools to Ubiquiti UniFi Access. According to its declared description, it manages doors, credentials, policies, visitors and events. The project lists the Access server as Stable with 38 tools, published on PyPI as unifi-access-mcp.
The server is local-first. It talks directly to the UniFi console you name on your network, and nothing leaves your network unless you add the optional Cloud Relay. It is aimed at people who want an MCP client or agent workflow to handle everyday UniFi Access administration.
Written from the project's README and checked against it.
What you need
- A UniFi Access console on your local network
- Python, to install the package from PyPI
- Docker, optional, as an alternative way to run the server
| Setting | Needed | What it is |
|---|---|---|
UNIFI_Environment variable | Required | Controller IP/hostname |
UNIFI_Environment variable, secret | Required | Admin username |
UNIFI_Environment variable, secret | Required | Admin password |
UNIFI_Environment variable, secret | Optional | API key (optional, experimental) |
UNIFI_Environment variable | Optional | Controller HTTPS port Default: 443 |
UNIFI_Environment variable | Optional | SSL certificate verification Default: false |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List the doors in my UniFi Access system.
- Show recent access events for the front entrance.
- Add a visitor for tomorrow and send them their credentials.
Good to know
- HTTP transport is unauthenticated by default and meant for trusted local clients.
- Remote access requires an authenticated proxy or the optional Cloud Relay.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Review door and access events
- Manage visitors and credentials
- Administer access policies from an AI assistant
Alternatives to UniFi Access MCP
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
UniFi Access MCP: common questions
Does UniFi Access MCP send my data to the cloud?
The server talks directly to your console and nothing leaves your network unless you add the optional Cloud Relay. The source does not describe other cloud calls for the Access server.
Is UniFi Access MCP stable?
The project lists the Access server as Stable, with 38 tools. The source does not name the individual tools.
Which MCP clients can use it?
The project says the Access server fits an AI assistant or another existing MCP client, using standard MCP discovery, tool calls and confirmation flows.
How do I install UniFi Access MCP?
In Claude Code run claude mcp add unifi-access-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-access-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is UniFi Access MCP the official server?
UniFi Access MCP is a community project by sirkirby, not verified by a company domain.
Is UniFi Access MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is UniFi Access MCP safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to UniFi Access MCP?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does UniFi Access MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
