SMART HOME / HM-SH-007
HM-SH-007 · datasheet

homeassistant-mcp

A MCP server for Home Assistant

01 · What it does

  • Device Control: Control any Home Assistant device through natural language
  • Real-time Updates: Get instant updates through Server-Sent Events (SSE)
  • Automation Management: Create, update, and manage automations
  • State Monitoring: Track and query device states
  • Secure: Token-based authentication and rate limiting

02 · Install

$ git clone https://github.com/tevonsb/homeassistant-mcp.git
$ cd homeassistant-mcp
$ npm install
$ npm run build
  1. The client config below runs the built dist folder with node
  2. Docker Compose setup also available: see README

03 · Client config (from README)

{
  "homeassistant": {
    "command": "node",
    "args": [<path/to/your/dist/folder>]
    "env": {
      NODE_ENV=development
      HASS_HOST=http://homeassistant.local:8123
      HASS_TOKEN=your_home_assistant_token
      PORT=3000
      HASS_SOCKET_URL=ws://homeassistant.local:8123/api/websocket
      LOG_LEVEL=debug
    }
  }
}

Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers, notable releases and setup notes. One email, Mondays.