MCP ServerSTDIOOfficialv0.1.6

UniFi Access MCP Server

Manage UniFi Access doors, credentials, policies, visitors, and events programmatically via Claude. For developers integrating physical access control into AI workflows or automating door/credential management at scale.

io.github.sirkirby/unifi-access-mcp

Hosted URL

Local install

Transport

STDIO

Auth

3 required env vars

What the UniFi Access MCP server does

How models use it and what it is built for.

Manage UniFi Access doors, credentials, policies, visitors, and events programmatically via Claude. For developers integrating physical access control into AI workflows or automating door/credential management at scale.

Connect to UniFi Access

Local install — runs as a subprocess.

uvx unifi-access-mcp==0.1.6

Environment variables

Configuration this server reads at startup.

  • UNIFI_HOSTRequired

    Controller IP/hostname

  • UNIFI_USERNAMERequiredSecret

    Admin username

  • UNIFI_PASSWORDRequiredSecret

    Admin password

  • UNIFI_API_KEYSecret

    API key (optional, experimental)

  • UNIFI_PORT

    Controller HTTPS port

  • UNIFI_VERIFY_SSL

    SSL certificate verification

Resources

Where to find authoritative docs and source for UniFi Access.

Example prompts for UniFi Access

Paste any of these into Agent Studio after connecting UniFi Access.

  • List all doors in my UniFi Access system and their current lock status
  • Create a new visitor credential valid for 24 hours with door access to Building A
  • Show me recent access events and failed authentication attempts from the last 2 hours
  • Update the access policy for the main entrance to require multi-factor authentication

UniFi Access MCP server — FAQ

Common questions about connecting and running UniFi Access.

  • What UniFi Access features does this MCP server support?

    The server manages doors, credentials, policies, visitors, and access events. You can query door status, create/revoke credentials, adjust policies, and retrieve event logs via Claude. Check the registry for the full list of supported operations.

  • How do I authenticate with my UniFi Access controller?

    Set UNIFI_HOST, UNIFI_USERNAME, and UNIFI_PASSWORD as environment variables. Optionally use UNIFI_API_KEY (experimental), UNIFI_PORT for custom HTTPS ports, and UNIFI_VERIFY_SSL to control certificate validation.

  • Can I use this server without SSL certificate verification?

    Yes, set UNIFI_VERIFY_SSL=false to skip verification. This is useful for self-signed certificates in development, but not recommended for production environments.

  • Is there a cost to use this MCP server?

    The server itself is open-source and free. You only pay for your UniFi Access controller license and any Claude API usage when connected.

  • What happens if my controller credentials are wrong?

    The server will fail to authenticate and return an error. Verify UNIFI_HOST is reachable, UNIFI_USERNAME and UNIFI_PASSWORD are correct, and the controller is running before retrying.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground