ha-mcp-server
If you are the rightful owner of ha-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Model Context Protocol (MCP) Server for Home Assistant provides SSE-based tools to inspect and optimize your automations, scripts, scenes, and helpers.
Home Assistant MCP Server
Model Context Protocol (MCP) Server for Home Assistant
Provides SSE‑based tools to inspect and optimize your automations, scripts, scenes, and helpers.
Features
- SSE transport with API‑Key authentication
- Tools:
get_automations
,get_scripts
,get_scenes
,get_helpers
- Optimization via
recommend_optimizations
Setup
- Clone and
cd
into this repo - Copy
.env.example
→.env
and fill in values npm install
npm run build
npm start
Server runs at http://localhost:${PORT}/sse
(default 8080).
Use X-API-Key
header to authenticate.
Tools
- get_automations → list all automations
- get_scripts → list all scripts
- get_scenes → list all scenes
- get_helpers → list all helpers
- recommend_optimizations → simple recommendations based on fetched data
MIT License