MCP directory
U

UniFi

by github.com/mattoddie · v0.9.1 · updated Nov 17, 2026

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

DockerMCP Bundle

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/mattoddie/unifi-mcp:0.9.1

Environment variables

  • MCP_TRANSPORT

    The image serves HTTP by default; this runs it over stdio.

  • UNIFI_URLrequired

    Address of your UniFi console. For a legacy self-hosted Network application, include the port.

  • UNIFI_API_KEYsecret

    API key from UniFi Network → Settings → Control Plane → Integrations. Or use a username and password.

  • UNIFI_USERNAME

    A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.

  • UNIFI_PASSWORDsecret

    The local account's password, used with the username.

  • UNIFI_TLS_FINGERPRINT

    Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.

  • UNIFI_VERIFY_SSL

    Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).

  • UNIFI_SITE

    The site's short name, used when a request doesn't name a site.

  • UNIFI_ALLOW_WRITES

    Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only.

  • UNIFI_ALLOW_DELETES

    Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES.

  • UNIFI_ALLOW_SECRETS

    Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted.

  • UNIFI_TOOLSETS

    Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.

  • UNIFI_RAW_ALLOWED_PATHS

    Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.

  • UNIFI_AUDIT_LOG

    Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-darwin-arm64.mcpb

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-darwin-amd64.mcpb

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-windows-amd64.mcpb

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-windows-arm64.mcpb

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-linux-amd64.mcpb

MCP Bundle

https://github.com/mattoddie/unifi-mcp/releases/download/v0.9.1/unifi-mcp-0.9.1-linux-arm64.mcpb

More from github.com/mattoddie

More MCP servers