MCP directory
UG

UniFi Gateway

by github.com/mmoonport-labs · v0.2.0 · updated Nov 20, 2026

UniFi Network and Protect through search, describe and call, with dry-run-first changes. Unofficial.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @mmoonport-labs/[email protected]

Environment variables

  • UNIFI_URL

    Gateway address, e.g. https://192.168.1.1. Not needed after running `unifi-mcp setup` once.

  • UNIFI_API_KEYsecret

    UniFi API key (Settings > Control Plane > Integrations). Not needed after `unifi-mcp setup`.

  • UNIFI_CERT_SHA256

    SHA-256 fingerprint of the gateway's certificate, to pin it. `unifi-mcp setup` sets this for you.

  • UNIFI_READ_ONLY

    Set to 1 to refuse every change to the gateway.

More MCP servers