Homeassistant Server MCP Server

A Model Context Protocol server

Local serverstdioTypeScript

What is the Homeassistant Server MCP MCP server?

If you want an AI assistant working directly with Homeassistant Server MCP, the homeassistant server mcp mcp server is the bridge. A Model Context Protocol server.

What Homeassistant Server MCP does

A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.

Key capabilities

  • Get device states
  • Control device states (on/off)
  • Trigger automations
  • List available entities

Installing the homeassistant server mcp mcp server

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 2 environment variables: HA_URL, HA_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Homeassistant Server MCP sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by hekmon8, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the homeassistant server mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Homeassistant Server MCP MCP server

{
  "mcpServers": {
    "homeassistant-server": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "HA_URL": "your-value",
        "HA_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
HA_URLEndpoint or connection string the server talks to.Yes
HA_TOKENCredential the server authenticates with.Yes

Frequently asked questions

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