py-unifi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| UNIFI_URL | Yes | The HTTPS origin of the UniFi OS console (e.g. https://controller.example) with no trailing slash, path, query, or credentials. | |
| UNIFI_SITE | No | UniFi site identifier. Defaults to 'default'. | default |
| UNIFI_API_KEY | No | Local API key for authentication. Required if not using UNIFI_USERNAME and UNIFI_PASSWORD. Mixed credentials are rejected. | |
| UNIFI_CA_FILE | No | Path to a PEM CA bundle for a private CA. If not provided, the normal system trust configuration is used. | |
| UNIFI_PASSWORD | No | Password for UniFi OS session authentication. Required together with UNIFI_USERNAME if not using UNIFI_API_KEY. | |
| UNIFI_USERNAME | No | Username for UniFi OS session authentication. Required together with UNIFI_PASSWORD if not using UNIFI_API_KEY. |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| unifi_list_sitesA | List accessible sites. Offset/limit bound tool output, not the controller fetch. |
| unifi_list_devicesA | List device inventory and raw state codes; site defaults to UNIFI_SITE. Offset/limit bound tool output, not the controller fetch. |
| unifi_list_clientsA | List currently connected clients; site defaults to UNIFI_SITE. Offset/limit bound tool output, not the controller fetch. |
| unifi_list_networksA | List network summaries without keys or VPN configuration; defaults to UNIFI_SITE. Offset/limit bound tool output, not the controller fetch. |
| unifi_get_healthB | Read subsystem health; missing metrics are unknown, not healthy. |
| unifi_get_deviceA | Get allow-listed telemetry for one exact device ID in the selected site. |
| unifi_rename_deviceA | Preview a rename. Execute only with user intent and dry_run=False; requires API key. |
| unifi_locate_deviceA | Preview LED locate start/stop. Execution requires user intent and API key. Start is not auto-stopped; use enabled=False to stop. LED state is not verified. |
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/duganth/py-unifi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server