Skip to main content
Glama
rilhia

Home Assistant MCP Server

by rilhia

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HA_URLYesHome Assistant address, for example http://192.168.1.50:8123
HA_TOKENYesLong-lived access token
HA_AUDIT_LOGNoAudit log file. Default ~/.ha-mcp-server/audit.jsonl~/.ha-mcp-server/audit.jsonl
HA_READ_ONLYNoSet to true to register only read only tools. Recommended.
HA_BACKUP_DIRNoWhere rollback copies go. Default ~/.ha-mcp-server/backups~/.ha-mcp-server/backups
HA_ENABLE_RAWNoEnable raw API tools. Default truetrue
HA_TIMEOUT_MSNoRequest timeout. Default 3000030000
HA_NEVER_TOUCHNoEntity patterns this server must never change, even with approval
HA_INSECURE_TLSNoSet to true to skip TLS verification, for example for self-signed certificates
HA_ENABLE_CONFIGNoEnable dashboards, registries, scenes, blueprints and integrations tools. Default truetrue
HA_ENABLE_INSIGHTSNoEnable overview, problems, statistics and related tools. Default truetrue
HA_MAX_OUTPUT_CHARSNoCap on a single tool response. Default 4000040000
HA_ENABLE_SUPERVISORNoEnable add-on and host tools. Default false. Needs Home Assistant OS or Supervisedfalse
HA_HIGH_RISK_DOMAINSNoExtra service domains to treat as high risk
HA_HIGH_RISK_ENTITIESNoComma separated entity id patterns that always need the two step approval, for example switch.workshop_*
HA_IGNORE_UNAVAILABLENoEntity patterns find_problems and the overview should not report as unavailable
HA_REQUIRE_APPROVAL_PROMPTNoSet to true to make a human approval prompt mandatory for high risk actions

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