================== /// MCP /// /// HOM /// ================== [server:online] [protocol:ready]
homeassistant-mcp
by tevonsb
Model Context Protocol server that exposes your Home Assistant instance to LLM-based applications through a secure, real-time HTTP/SSE/WebSocket API.
control
Issue commands (e.g., turn_on, turn_off, toggle, brightness, color, etc.) to control any Home Assistant entity such as lights, switches, climate devices, covers, fans, media players, locks, vacuums, cameras, and more.
addon
Browse, install, uninstall, start, stop, restart, and manage versions or configuration of Home Assistant Supervisor add-ons.
package
List, install, update, and otherwise manage Home Assistant Community Store (HACS) packages across all supported categories (integrations, plugins, themes, python_scripts, AppDaemon apps, NetDaemon apps).
automation_config
Create, duplicate, edit, enable/disable, and manually trigger Home Assistant automations with advanced configuration options for triggers, conditions, actions, and execution modes.
Installation
git clone https://github.com/tevonsb/homeassistant-mcp.git
cd homeassistant-mcp
npm install # or: pnpm install
npm run build
npm start # or: node dist/index.js
npm run dev
docker build -t homeassistant-mcp .
docker run -d --name hamcp -p 3111:3111 \
-e HOMEASSISTANT_URL=... \
-e HOMEASSISTANT_TOKEN=... homeassistant-mcp