Home Assistant MCP Server

by Nutti85

140 downloads
Not rated
GitHub

Description

# 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`…

About

# 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` -…

Details

Author
Nutti85
Downloads
140
Categories
AI

- SSE transport with API‑Key authentication
- Tools: get_automations, get_scripts, get_scenes, get_helpers
- Optimization via recommend_optimizations

Clone the repo, copy .env.example to .env and fill in values, then run npm install, npm run build, and npm start. The server runs at http://localhost:${PORT}/sse (default port 8080). Authenticate requests using the X-API-Key header.

# 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 1. **Clone** and `cd` into this repo 2. Copy `.env.example` → `.env` and fill in values 3. `npm install` 4. `npm run build` 5. `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
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.