UniFi MCP Server
by qooplmao
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Set to true to register the debug_api_request tool (raw GET/DELETE, destructive tier). Leave unset in production. | |
| REDIS_URL | No | Optional response cache Redis URL. | |
| DATABASE_URL | No | Postgres URL. Turns on fleet mode. | |
| UNIFI_API_KEY | Yes | UniFi API key (required). Create it in UniFi Site Manager under Settings → Control Plane → Integrations. | |
| UNIFI_DRY_RUN | No | Preview-only server mode. Forces every mutating call into preview mode. | false |
| UNIFI_PROFILE | No | Register only one group of tools: network, devices, security, system, protect, mobility, innerspace, carrier, or minimal. An unknown profile logs a warning and loads everything. | all |
| MCP_AUTH_TOKEN | No | Bearer token required on every network transport. May be role-prefixed as viewer:<token>, operator:<token>, or admin:<token> to limit the token's role. | |
| UNIFI_API_TYPE | No | API mode: local, cloud-ea, or cloud-v1. | cloud-ea |
| WEBHOOK_SECRET | No | HMAC secret for incoming UniFi webhooks. | |
| MCP_SERVER_HOST | No | Host to bind for network transports. The server binds to 127.0.0.1 unless this is set. | 127.0.0.1 |
| MCP_SERVER_PORT | No | Port for network transports such as streamable_http (for example 3000). | |
| UNIFI_READ_ONLY | No | Read-only server mode. Mutating tools are left out of the tool list entirely. | false |
| UNIFI_LOCAL_HOST | No | UniFi console or gateway address on the LAN. Required when UNIFI_API_TYPE=local. | |
| UNIFI_LOCAL_PORT | No | Port for the local UniFi console or gateway. | 443 |
| UNIFI_STDIO_ROLE | No | Role for stdio callers, for example viewer, operator, or admin. | |
| UNIFI_DEFAULT_SITE | No | Site used when a tool call does not name one. | default |
| UNIFI_LOCAL_CA_FILE | No | Path to a CA certificate (PEM) for a self-signed local console, instead of disabling TLS verification. | |
| MCP_SERVER_TRANSPORT | No | MCP transport: stdio, streamable_http, http, or sse. stdio is the default and needs no port. | stdio |
| UNIFI_LOCAL_VERIFY_SSL | No | Verify the local console's TLS certificate. Setting this to false logs a warning at startup. | true |
| UNIFI_SITE_MANAGER_ENABLED | No | Enable the cloud tools (Site Manager, Mobility, InnerSpace, Carrier Fabric). | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo recent community issues