UniFi Network

v0.13.0
io.github.Graf3x/unifi-mcp Checked 12 hours ago Published 2 days ago

Diagnostics and owner-approved changes for one UniFi Network console, over its local API.

Not smoke-tested: package runs a local HTTP server (not smoke-tested yet).

Values you need

VariableWhat it is
UNIFI_URLrequired The console's address as the container reaches it, e.g. https://192.168.1.1.
UNIFI_API_KEYrequired secret An API key from UniFi Network, Settings, Control Plane, Integrations. It is console-wide.
UNIFI_CERT_SHA256optional The console's public key SHA-256: empty at first, then the value the README's Before you start shows how to confirm.
MCP_LAN_LISTENoptional The token-only listener inside the container. The -p argument decides who reaches it.
MCP_LAN_ACCESS_TOKENrequired secret The listener's token, at least 32 characters, e.g. from openssl rand -hex 32.

No installable package or endpoint was found. See the README for build-from-source steps.

For AI agents

  1. Ask the user for: UNIFI_URL, UNIFI_API_KEY, MCP_LAN_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json