Home Assistant MCP Server

A Model Context Protocol (MCP) integration for controlling Home Assistant devices using AI assistants.

Local serverstdioPython

What is the Home Assistant MCP MCP server?

If you already use Home Assistant MCP, the home assistant mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol (MCP) integration for controlling Home Assistant devices using AI assistants.

What the server does

This MCP allows AI assistants to control your Home Assistant devices. It provides tools to:

Installation

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Credentials and setup notes

Configuration is passed through the environment: HOME_ASSISTANT_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.11 or higher - Home Assistant instance running and accessible via API - Home Assistant Long-Lived Access Token

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by hpohlmann; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Home Assistant MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Home Assistant MCP MCP server

{
  "mcpServers": {
    "home-assistant": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "HOME_ASSISTANT_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11 or higher - Home Assistant instance running and accessible via API - Home Assistant Long-Lived Access Token
VariableDescriptionRequired
HOME_ASSISTANT_TOKENCredential the server authenticates with.Yes

Frequently asked questions

It connects Home Assistant MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Home Assistant MCP directly.