Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNIFI_API_KEYYesIntegration API key
UNIFI_CA_CERTNoPath to the controller's CA certificate (PEM)
UNIFI_BASE_URLYesGateway address, e.g. https://192.168.1.1
UNIFI_SPEC_URLNoOverride the OpenAPI spec URL fetched from the gateway
UNIFI_CACHE_DIRNoWhere the cached spec is written~/.cache/unifi-mcp
UNIFI_LOG_LEVELNoPino log level (error, warn, info, debug)error
UNIFI_SPEC_FILENoUse a local spec file as the bundled fallback
UNIFI_TIMEOUT_MSNoPer-request timeout in milliseconds30000
UNIFI_ALLOW_WRITESNoEnable write operations via unifi_invokefalse
UNIFI_INSECURE_TLSNoDisable TLS verification — last resort onlyfalse
UNIFI_SPEC_FRESHNESS_MSNoMax age of the cached spec in milliseconds86400000

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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

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