Home Assistant MCP Server
by coolverio.github.Coolver/home-assistant-mcpv3.2.12
Vibecode your Home Assistant setup from your IDE: automations, dashboards, themes and configs
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install Home Assistant MCP server
Install in Claude Code
claude mcp add home-assistant -e HA_AGENT_URL='<ha-agent-url>' -e HA_AGENT_KEY='<ha-agent-key>' -- npx -y @coolver/home-assistant-mcpInstall in Cursor
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"env": {
"HA_AGENT_URL": "<ha-agent-url>",
"HA_AGENT_KEY": "<ha-agent-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"env": {
"HA_AGENT_URL": "<ha-agent-url>",
"HA_AGENT_KEY": "<ha-agent-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"home-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"env": {
"HA_AGENT_URL": "<ha-agent-url>",
"HA_AGENT_KEY": "<ha-agent-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"env": {
"HA_AGENT_URL": "<ha-agent-url>",
"HA_AGENT_KEY": "<ha-agent-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HA_AGENT_URL | yes | — | URL of your on-board Home Assistant Vibecode Agent add-on (generated after installation of the add-on) |
| HA_AGENT_KEY | yes | yes | Access key generated by the Home Assistant Vibecode Agent add-on after installation |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-12 · 5mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2025-12-08 · 10mo ago · official registry · v3.2.12
FAQ
›How do I install the Home Assistant MCP server in Claude Code?
Run: claude mcp add home-assistant -e HA_AGENT_URL='<ha-agent-url>' -e HA_AGENT_KEY='<ha-agent-key>' -- npx -y @coolver/home-assistant-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Home Assistant require an API key?
Yes. It expects HA_AGENT_URL, HA_AGENT_KEY, of which 1 is a secret.
›Can I use Home Assistant as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Home Assistant in the official MCP registry?
Yes, as io.github.Coolver/home-assistant-mcp.
Alternatives to Home Assistant
Other iot & home automation MCP servers.