Skip to main content

UniFi Gateway

io.github.mmoonport-labs/unifi-mcp

v0.2.0Updated Nov 20, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add unifi-mcp -- npx -y @mmoonport-labs/[email protected]

Configuration

4 settings.

  • UNIFI_API_KEY
    Env var· optional· secret
    UniFi API key (Settings > Control Plane > Integrations). Not needed after `unifi-mcp setup`.
  • UNIFI_URL
    Env var· optional
    Gateway address, e.g. https://192.168.1.1. Not needed after running `unifi-mcp setup` once.
  • UNIFI_CERT_SHA256
    Env var· optional
    SHA-256 fingerprint of the gateway's certificate, to pin it. `unifi-mcp setup` sets this for you.
  • UNIFI_READ_ONLY
    Env var· optional
    Set to 1 to refuse every change to the gateway.

Listed in the official MCP Registry since Nov 20, 2026. Mirrored daily; last checked Nov 26, 2026.