unifi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| UNIFI_API_KEY | Yes | Integration API key | |
| UNIFI_CA_CERT | No | Path to the controller's CA certificate (PEM) | |
| UNIFI_BASE_URL | Yes | Gateway address, e.g. https://192.168.1.1 | |
| UNIFI_SPEC_URL | No | Override the OpenAPI spec URL fetched from the gateway | |
| UNIFI_CACHE_DIR | No | Where the cached spec is written | ~/.cache/unifi-mcp |
| UNIFI_LOG_LEVEL | No | Pino log level (error, warn, info, debug) | error |
| UNIFI_SPEC_FILE | No | Use a local spec file as the bundled fallback | |
| UNIFI_TIMEOUT_MS | No | Per-request timeout in milliseconds | 30000 |
| UNIFI_ALLOW_WRITES | No | Enable write operations via unifi_invoke | false |
| UNIFI_INSECURE_TLS | No | Disable TLS verification — last resort only | false |
| UNIFI_SPEC_FRESHNESS_MS | No | Max age of the cached spec in milliseconds | 86400000 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| unifi_list_entitiesA | List UniFi entities (OpenAPI tags) exposed by this controller, with read/write op counts. Call first. |
| unifi_describe_entityB | Describe one entity: its operations, path/query parameters, and whether each is read (GET) or write. |
| unifi_getC | Invoke a read (GET) operation for an entity. Provide pathParams/query as needed. |
| unifi_invokeA | Invoke any operation by id (including writes). Gated off unless UNIFI_ALLOW_WRITES=true. Post-v1 write path. |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yo61/unifi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server