MCP directory
US

UniFi Site Manager and Network (unofficial)

by github.com/mguttmann · v0.4.0 · updated Oct 27, 2026

Unofficial MCP server for the UniFi Site Manager and Network cloud APIs, with a write-confirm guard.

npmMCP Bundle

Run it locally

Install the package and point your AI client at it.

Environment variables

  • UNIFI_API_KEYrequiredsecret

    UniFi Site Manager API key with Network scope (unifi.ui.com, Settings > API). It controls your whole network: treat it like an admin password.

  • UNIFI_CONFIRM_WRITES

    Write confirmation: destructive tools return a preview and run only when called again with confirm "YES". Only false, 0, no or off turn it off.

  • UNIFI_API_BASE

    API base URL; this host receives the API key. https origin only (http only for loopback test stubs). Keep the default.

  • UNIFI_TIMEOUT_MS

    Per-request timeout in milliseconds, covering response headers and body.

  • UNIFI_LOG_LEVEL

    Log level on stderr: debug, info, warn or error.

  • UNIFI_CONSOLE_ID

    Pins the UniFi console instead of discovering it (needed when the account has several consoles).

  • UNIFI_NETWORK_SITE_ID

    Pins the Network site instead of discovering it.

  • UNIFI_SITE_MANAGER_SITE_ID

    Pins the Site Manager site instead of discovering it.

  • UNIFI_READ_ONLY

    Read-only mode: every write tool returns an error and sends no request; reads still work. Off by default.

  • UNIFI_REDACT_SECRETS

    Masks passwords, WiFi passphrases, pre-shared keys and other secret fields in every tool result with (redacted); write tools refuse a body that contains that placeholder. Off by default.

  • UNIFI_MAX_RESULT_BYTES

    Cuts tool results longer than this many bytes and marks them as truncated. Unset or empty: 100000. 0, off or none: no cap.

MCP Bundle

https://github.com/mguttmann/the-real-unifi-mcp/releases/download/v0.4.0/the-real-unifi-mcp-0.4.0.mcpb

More from github.com/mguttmann

More MCP servers