Skip to main content
Glama
shogun301

Home Assistant MCP

by shogun301

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BACKUP_PATHYesWritable directory for pre-change configuration backups.
HA_BASE_URLYesPrivate Home Assistant origin, such as `http://127.0.0.1:8123`.
DATABASE_PATHYesWritable SQLite path for OAuth state.
HA_TOKEN_FILEYesPath to file containing a dedicated Home Assistant long-lived access token.
AUDIT_LOG_PATHYesWritable JSONL audit path.
HA_CONFIG_PATHYesRead-only Home Assistant configuration mount used for safe backups and reads.
JWT_SECRET_FILEYesPath to file containing a random secret used to sign access tokens.
PUBLIC_BASE_URLYesPublic HTTPS base URL for the MCP service; clients connect to `/mcp`.
MCP_DISPLAY_NAMEYesName shown in OAuth and MCP metadata.
MCP_ALLOWED_HOSTSYesComma-separated public hostnames accepted by the transport.
MCP_LOCAL_BASE_URLYesLoopback MCP origin used by fixed-route comparisons.
FRONTEND_PUBLIC_URLNoPublic Home Assistant frontend URL used only by fixed-route diagnostics.
HOST_DIAGNOSTICS_PATHNoRead-only sanitized collector export; optional diagnostics report unavailable if absent.
SPRINKLER_ENTITY_PREFIXNoPrefix for sprinkler controller entities; may differ from zone prefix.
OAUTH_PASSWORD_HASH_FILEYesPath to file containing the Argon2 hash for the human OAuth sign-in password.
ORIGIN_SHARED_SECRET_FILEYesPath to file containing a random secret shared only with the HTTPS edge.
SPRINKLER_ZONE_ENTITY_PREFIXNoPrefix for sprinkler zone entities.
AUTOMATION_DAILY_FORECAST_ENTITYNoExact daily weather entity for forecast-adjusted irrigation automations.
AUTOMATION_SPRINKLER_BUTTON_ENTITIESNoComma-separated exact button IDs (no more than three) for forecast-adjusted irrigation automations.

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