Skip to main content
Glama
lemanjo

Home Assistant Admin MCP

by lemanjo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoAddress the HTTP server listens on.127.0.0.1
MCP_MODENoPermission mode: read_only, control, or admin.read_only
MCP_PORTNoHTTP server port.3000
HA_VERIFY_TLSNoVerify the Home Assistant HTTPS certificate. Accepts true, false, 1, 0, yes, no, on, or off.true
MCP_TRANSPORTNoMCP transport: http or stdio.http
HA_CONFIG_PATHNoHome Assistant configuration root inside the server or container./ha-config
HA_GIT_ENABLEDNoEnable local Git history and commits when the configuration is already in a Git repository.true
MCP_AUTH_TOKENNoMCP client token, at least 16 characters. Prefer the file variable.
MCP_CONFIG_FILENoYAML configuration file. Compose sets this to /app/config.yaml.
MCP_ALLOWED_HOSTSNoComma-separated server IPs and names accepted from request Host headers.localhost,127.0.0.1
HOME_ASSISTANT_URLNoHome Assistant base URL as seen from the server.
MCP_ALLOWED_ORIGINSNoComma-separated browser origin hostnames. Leave empty for non-browser clients.
MCP_AUTH_TOKEN_FILENoFile containing the MCP client token. Takes priority over MCP_AUTH_TOKEN.
HOME_ASSISTANT_TOKENNoHome Assistant long-lived access token. Prefer the file variable.
HA_FILESYSTEM_ENABLEDNoEnable approved configuration file reads and writes.true
HA_REQUEST_TIMEOUT_MSNoREST request timeout, from 1000 to 120000 milliseconds.30000
HA_ALLOW_SECRET_VALUESNoAllow secret-bearing YAML values to be read or changed. Leave disabled in normal use.false
HA_WEBSOCKET_TIMEOUT_MSNoWebSocket command timeout, from 1000 to 120000 milliseconds.30000
HOME_ASSISTANT_TOKEN_FILENoFile containing the Home Assistant token. Takes priority over HOME_ASSISTANT_TOKEN.
HA_ALLOW_CUSTOM_COMPONENTSNoAllow approved reads from custom_components.false
HA_ALLOWED_CONFIG_DIRECTORIESNoComma-separated YAML subdirectories that filesystem tools may access.packages,themes

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