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

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a distinct purpose: list entities, describe one entity, perform read-only GET, and invoke any operation (including writes). There is slight overlap between unifi_get and unifi_invoke for reads, but descriptions clarify safety, making ambiguity low.

Naming Consistency5/5

All tools follow the pattern unifi_<verb>, with verbs list, describe, get, invoke. The naming is predictable and consistent, with no mixing of styles.

Tool Count5/5

Four tools is appropriate for a dynamic API wrapper: discovery (list, describe) and execution (get, invoke). The number is well-scoped and each tool earns its place.

Completeness5/5

The tool set covers full lifecycle of API interaction: list available endpoints, describe details, perform safe reads, and invoke any operation (including writes if enabled). No obvious gaps for its purpose.

Maintenance

ActivityActive
ResponsivenessUnresponsive