Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HA_URLYesHome Assistant API base URL reachable from the container
LOG_DIRNoAudit-log directory inside the container/data/logs
HA_TOKENYesHome Assistant long-lived access token
MCP_HOSTNoListen address inside the container0.0.0.0
MCP_PORTNoListen port inside the container8000
LOG_LEVELNoApplication log levelINFO
BACKUP_DIRNoBackup directory inside the container/data/backups
MCP_ISSUER_URLNoStatic-auth issuer identifier; use the public base URL remotelyhttp://127.0.0.1:8765
HA_AI_DIRECTORYNoHost directory mounted at /ha-ai by Compose./ha-ai
MCP_CLIENT_TOKENYesIndependent MCP client bearer token; minimum 32 bytes
MCP_PUBLISH_HOSTNoHost address to which Compose publishes the port127.0.0.1
MCP_PUBLISH_PORTNoPublished host port8765
MCP_ALLOWED_HOSTSNoComma-separated Host header allowlist127.0.0.1:*,localhost:*
HA_AUTOMATIONS_FILENoAI automation file inside the container/ha-ai/ai_automations.yaml
MCP_ALLOWED_ORIGINSNoComma-separated Origin header allowlistlocal origins

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

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/paulcakeface/ha-admin-mcp'

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