UniFi MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log verbosity: debug, info, warn, error (default: info) | info |
| UNIFI_HOST | Yes | Hostname or IP of the UniFi controller (required) | |
| UNIFI_PORT | No | HTTPS port (default: 443) | 443 |
| UNIFI_SITE | No | UniFi site ID (default: default) | default |
| UNIFI_PASSWORD | No | UniFi SSO or local admin password (required for self-healing auth) | |
| UNIFI_USERNAME | No | UniFi SSO or local admin username (required for self-healing auth) | |
| UNIFI_TOTP_SEED | No | Base32-encoded TOTP secret from authenticator setup (required for self-healing auth) | |
| TOKEN_CACHE_PATH | No | Path to encrypted session cache file (default: ./data/unifi-session.encrypted.json) | ./data/unifi-session.encrypted.json |
| UNIFI_VERIFY_SSL | No | Set 'true' if controller has a valid TLS certificate (default: false) | false |
| TOKEN_ENCRYPTION_KEY | No | 64-character hex key for AES-256-GCM encryption (optional, falls back to base64) |
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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/philipvanlewis/unifi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server