Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoSet to true to register the debug_api_request tool (raw GET/DELETE, destructive tier). Leave unset in production.
REDIS_URLNoOptional response cache Redis URL.
DATABASE_URLNoPostgres URL. Turns on fleet mode.
UNIFI_API_KEYYesUniFi API key (required). Create it in UniFi Site Manager under Settings → Control Plane → Integrations.
UNIFI_DRY_RUNNoPreview-only server mode. Forces every mutating call into preview mode.false
UNIFI_PROFILENoRegister only one group of tools: network, devices, security, system, protect, mobility, innerspace, carrier, or minimal. An unknown profile logs a warning and loads everything.all
MCP_AUTH_TOKENNoBearer token required on every network transport. May be role-prefixed as viewer:<token>, operator:<token>, or admin:<token> to limit the token's role.
UNIFI_API_TYPENoAPI mode: local, cloud-ea, or cloud-v1.cloud-ea
WEBHOOK_SECRETNoHMAC secret for incoming UniFi webhooks.
MCP_SERVER_HOSTNoHost to bind for network transports. The server binds to 127.0.0.1 unless this is set.127.0.0.1
MCP_SERVER_PORTNoPort for network transports such as streamable_http (for example 3000).
UNIFI_READ_ONLYNoRead-only server mode. Mutating tools are left out of the tool list entirely.false
UNIFI_LOCAL_HOSTNoUniFi console or gateway address on the LAN. Required when UNIFI_API_TYPE=local.
UNIFI_LOCAL_PORTNoPort for the local UniFi console or gateway.443
UNIFI_STDIO_ROLENoRole for stdio callers, for example viewer, operator, or admin.
UNIFI_DEFAULT_SITENoSite used when a tool call does not name one.default
UNIFI_LOCAL_CA_FILENoPath to a CA certificate (PEM) for a self-signed local console, instead of disabling TLS verification.
MCP_SERVER_TRANSPORTNoMCP transport: stdio, streamable_http, http, or sse. stdio is the default and needs no port.stdio
UNIFI_LOCAL_VERIFY_SSLNoVerify the local console's TLS certificate. Setting this to false logs a warning at startup.true
UNIFI_SITE_MANAGER_ENABLEDNoEnable the cloud tools (Site Manager, Mobility, InnerSpace, Carrier Fabric).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