Skip to main content
Glama
basalto

UniFi MCP Server

by basalto

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDIS_DBNoRedis database number for optional caching.0
REDIS_HOSTNoRedis host for optional caching.localhost
REDIS_PORTNoRedis port for optional caching.6379
UNIFI_HOSTNoLocal gateway host used in some Docker examples; equivalent to UNIFI_LOCAL_HOST. Optional.
AGNOST_ORG_IDNoYour agnost.ai organization ID. Optional.
UNIFI_API_KEYYesYour UniFi API key from unifi.ui.com (Settings → Control Plane → Integrations). Required.
AGNOST_ENABLEDNoEnable agnost.ai performance tracking. Optional.
MCP_AUTH_TOKENNoOptional bearer token required to call the server over HTTP/SSE transports. Ignored for stdio. Optional but recommended.
REDIS_PASSWORDNoRedis password if authentication is required. Optional.
UNIFI_API_TYPEYesAPI mode: 'local' for full local gateway access (recommended), 'cloud-ea' for Early Access cloud API, or 'cloud-v1' for stable v1 cloud API. Required.
WEBHOOK_SECRETNoSecret for webhook support (HMAC signature verification). Optional.
AGNOST_ENDPOINTNoagnost.ai API endpoint. Optional.https://api.agnost.ai
UNIFI_LOCAL_HOSTNoLocal gateway IP/host for UNIFI_API_TYPE=local (e.g., 192.168.2.1). Required when using local mode.
UNIFI_LOCAL_PORTNoLocal gateway port.443
UNIFI_DEFAULT_SITENoDefault site ID.default
UNIFI_CLOUD_API_URLNoCloud API URL.https://api.ui.com
AGNOST_DISABLE_INPUTNoSet to true to disable input tracking.false
AGNOST_DISABLE_OUTPUTNoSet to true to disable output tracking.false
UNIFI_LOCAL_VERIFY_SSLNoWhether to verify SSL for local gateway.false
UNIFI_SITE_MANAGER_ENABLEDNoEnable Site Manager multi-site tools for cloud-ea.false

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources