Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNIFI_URLYesThe HTTPS origin of the UniFi OS console (e.g. https://controller.example) with no trailing slash, path, query, or credentials.
UNIFI_SITENoUniFi site identifier. Defaults to 'default'.default
UNIFI_API_KEYNoLocal API key for authentication. Required if not using UNIFI_USERNAME and UNIFI_PASSWORD. Mixed credentials are rejected.
UNIFI_CA_FILENoPath to a PEM CA bundle for a private CA. If not provided, the normal system trust configuration is used.
UNIFI_PASSWORDNoPassword for UniFi OS session authentication. Required together with UNIFI_USERNAME if not using UNIFI_API_KEY.
UNIFI_USERNAMENoUsername 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/duganth/py-unifi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server