Skip to main content
Glama
bakhshb
by bakhshb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNIFI_URLYesYour UniFi controller URL (e.g., https://192.168.1.1 or https://api.ui.com for cloud)
UNIFI_API_KEYNoYour API key (required if not using username/password)
UNIFI_SITE_IDNoYour UniFi site identifierdefault
UNIFI_TIMEOUTNoRequest timeout in milliseconds30000
UNIFI_API_TYPENoAPI mode: local, cloud-v1, or cloud-eacloud-ea
UNIFI_PASSWORDNoUniFi password (required if not using API key)
UNIFI_USERNAMENoUniFi username (required if not using API key)
UNIFI_LOCAL_HOSTNoLocal host for local mode (e.g., 192.168.1.1)
UNIFI_LOCAL_VERIFY_SSLNoWhether to verify SSL for local modetrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
unifi-apiA

Execute any UniFi Network API operation. Specify the spec path (e.g. /v1/sites/{siteId}/devices) and optional path params, query params, or body. HTTP method is auto-detected. Use unifi-api-schema to discover available paths.

unifi-api-schemaA

Discover available UniFi Network API operations from the OpenAPI spec. Call with no args for a tag overview, with tag to list operations in that tag, or with path for full parameter and request body details.

unifi-legacy-client-statsA

Get client bandwidth statistics from the legacy UniFi controller API. Returns per-client tx_bytes, rx_bytes, tx_rate, rx_rate for all active clients. Uses the old controller API endpoint (/proxy/network/api/s/{site}/stat/sta) which is not in the Integration API OpenAPI spec. This is the only way to get per-client bandwidth data on UniFi OS devices.

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/bakhshb/unifi-mcp-openapi'

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