Skip to main content
Glama
Home Assistant MCP Server

Home Assistant MCP Server

by roandegraaf

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HA_MCP_HOSTNoBind address for `http`/`sse`.127.0.0.1
HA_MCP_PORTNoPort for `http`/`sse`.8099
HA_MCP_HA_URLNoHome Assistant base URL.http://homeassistant.local:8123
HA_MCP_API_KEYNoAPI key required for `http`/`sse` transports (the pip version refuses to serve HTTP without one).
HA_MCP_HA_TOKENYesLong-lived access token for Home Assistant (required).
HA_MCP_LOG_LEVELNoLogging level.INFO
HA_MCP_READ_ONLYNoOnly expose read-only tools.false
HA_MCP_TRANSPORTNoTransport to use: `stdio`, `http` or `sse`.stdio
HA_MCP_CONFIRM_MODENo`client` (client's tool approval) or `elicit` (server-side prompt).client
HA_MCP_ALLOW_UNAUTHENTICATEDNoAllow `http`/`sse` without an API key (loopback only).false
HA_MCP_ENABLE_DEVICE_CONTROLNoExpose the generic `call_service` tool for device control.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