MCP server for full Home Assistant control — dashboards, files, automations, add-ons, and more
home assistant MCP Server
Published by VortitronHome Assistant and ESPHome for coding agents: states, services, automations, dashboards, flashing.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.17.4
- SOURCE CHECKED
- Nov 28, 2026
Quick answers
How do I add home assistant MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'HA_TOKEN=<your-ha-token>' --env 'VOMEHOME_TOKEN=<your-vomehome-token>' --transport stdio home-assistant -- npx -y @vortitron/home-assistant-mcpReplace the <your-…> placeholder with your own HA_TOKEN and VOMEHOME_TOKEN.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@vortitron/home-assistant-mcp"
],
"env": {
"HA_TOKEN": "<your-ha-token>",
"VOMEHOME_TOKEN": "<your-vomehome-token>"
}
}
}
}Replace the <your-…> placeholder with your own HA_TOKEN and VOMEHOME_TOKEN.
CodexCommand
Run this in your terminal:
codex mcp add home-assistant --env 'HA_TOKEN=<your-ha-token>' --env 'VOMEHOME_TOKEN=<your-vomehome-token>' -- npx -y @vortitron/home-assistant-mcpReplace the <your-…> placeholder with your own HA_TOKEN and VOMEHOME_TOKEN.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"home-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vortitron/home-assistant-mcp"
],
"env": {
"HA_TOKEN": "<your-ha-token>",
"VOMEHOME_TOKEN": "<your-vomehome-token>"
}
}
}
}Replace the <your-…> placeholder with your own HA_TOKEN and VOMEHOME_TOKEN.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@vortitron/home-assistant-mcp"
],
"env": {
"HA_TOKEN": "<your-ha-token>",
"VOMEHOME_TOKEN": "<your-vomehome-token>"
}
}
}
}Replace the <your-…> placeholder with your own HA_TOKEN and VOMEHOME_TOKEN.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use home assistant MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does home assistant MCP Server need an API key?
To run it on your computer, set HA_TOKEN and VOMEHOME_TOKEN first, with values from the publisher.
Is home assistant MCP Server official?
It's published by Vortitron. The Official MCP Registry accepts names under io.github.Vortitron only from the GitHub account or organisation Vortitron. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @vortitron/home-assistant-mcp@0.17.4