Skip to content
Claude Code

UniFi for Claude Code

io.github.mattoddie/unifi-mcp

Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN. Read-only by default.

client:Claude Code transport:stdio runtime:oci

Install UniFi in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add unifi-mcp -e MCP_TRANSPORT=<MCP_TRANSPORT> -e UNIFI_URL=<UNIFI_URL> -e UNIFI_API_KEY=<UNIFI_API_KEY> -e UNIFI_USERNAME=<UNIFI_USERNAME> -e UNIFI_PASSWORD=<UNIFI_PASSWORD> -e UNIFI_TLS_FINGERPRINT=<UNIFI_TLS_FINGERPRINT> -e UNIFI_VERIFY_SSL=<UNIFI_VERIFY_SSL> -e UNIFI_SITE=<UNIFI_SITE> -e UNIFI_ALLOW_WRITES=<UNIFI_ALLOW_WRITES> -e UNIFI_ALLOW_DELETES=<UNIFI_ALLOW_DELETES> -e UNIFI_TOOLSETS=<UNIFI_TOOLSETS> -e UNIFI_AUDIT_LOG=<UNIFI_AUDIT_LOG> -- docker run -i --rm ghcr.io/mattoddie/unifi-mcp:0.6.2

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

UniFi in other clients