Home Assistant MCP Server

by @tevonsb

Home Assistant MCP Server

Home Assistant MCP Server connects assistants to smart-home controls, state monitoring, and administration. It documents HTTP APIs, live events, automation management, and optional HACS and Supervisor operations.

Server facts

Home Assistant MCP Server

GitHub stars

577

Last commit

Jan 25, 2026

Runtime

node

License

Apache-2.0

Project

Author
tevonsb
License
Apache-2.0

Tech

Runtime
nodeTypeScript
Transports
stdio
Remote access
No

Activity

GitHub stars
577
Last commit
Data as of

Tags

  • Automation
  • Device Control
  • Home Assistant
  • Smart Home
  • Typescript

Overview

Home Assistant MCP Server bridges a local Home Assistant installation and language-model applications. Its documented scope ranges from changing lights, climate settings, covers, media players, and other devices to inspecting states and historical information. Automation features include creating, editing, duplicating, enabling, disabling, and manually triggering rules. System-management functions extend to add-ons and HACS packages when the corresponding Home Assistant capabilities are available. Device grouping by area and floor supplies organizational context for assistant requests.

The README describes HTTP endpoints for state, context, actions, and sequential action batches, alongside SSE subscriptions and WebSocket events for live updates. Authentication uses tokens, and rate limiting is documented for API traffic. Installation starts from a cloned repository, with npm dependency installation and a build step; Docker Compose is the recommended deployment path. Configuration points to the Home Assistant host and WebSocket endpoint and supplies a long-lived access token. Node.js 20.10 or newer is listed among prerequisites. HACS is necessary for package management, and Supervisor access is necessary for add-on operations. The Claude Desktop process configuration shown in the README is incomplete and explicitly separate from Docker usage, so the reliable reproduced launch here is the Compose command. The supplied material establishes a broad home-control bridge, but does not provide a complete Docker-to-MCP-client connection example.

Install & configure

Requirements

  • A cloned homeassistant-mcp checkout
  • Docker Compose
  • Running Home Assistant instance
  • Home Assistant long-lived access token
  • HACS for package features
  • Supervisor access for add-on features
Documented launch / install command
docker compose up -d

Run from the cloned repository after configuring its .env file. The README documents an HTTP API on http://localhost:3000 and a /health check; these are not specified as an MCP endpoint. Its process-based Claude Desktop example is incomplete and does not work with the Docker method. Node.js 20.10+ and npm are listed for source setup.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
controlSend device commands such as toggling entities or changing light settings.
addonList, install, or change the running state of Home Assistant add-ons.
packageList or install HACS packages by category and repository.
automation_configCreate, modify, or duplicate Home Assistant automation configurations.

Use cases

  • Adjust lights, climate, covers, or media playback conversationally.
  • Monitor entity changes through event subscriptions.
  • Create and modify Home Assistant automations.
  • Manage HACS packages when HACS is installed.
  • Administer add-ons with Supervisor access.

Strengths

  • Covers device control, automation, and system administration.
  • Documents SSE and WebSocket event updates.
  • Includes a Docker Compose deployment path.

Limitations

  • Package and add-on features need HACS and Supervisor respectively.
  • Requires a Home Assistant long-lived access token.
  • The supplied Claude Desktop launch example is incomplete.

Home Assistant MCP Server setup notes

  • Home Assistant MCP Server records stdio only; confirm a network transport upstream before planning remote access.

Frequently asked questions

Yes. The README describes creation, editing, duplication, enable/disable operations, and manual triggering.

Related MCP servers