Skip to content

Summary

Home Assistant add-on plus MCP server that lets Claude Code, Cursor and VS Code inspect your smart home, then build and deploy automations, scripts, helpers and dashboards with Git rollback.

Features

  • Agent runs inside Home Assistant (add-on) or beside it (standalone Docker)
  • MCP server talks to a controlled API instead of SSH scripts
  • Create automations, scripts, helpers and template sensors
  • Design Lovelace dashboards and themes
  • Log analysis and troubleshooting
  • HACS integration management
  • Git-based versioning and rollback of every change

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "HA Vibecode Agent" tools will be available.
{
  "mcpServers": {
    "ha-vibecode-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@coolver/home-assistant-mcp@latest"
      ],
      "env": {
        "HA_AGENT_URL": "http://<home-assistant-host>:8099",
        "HA_AGENT_KEY": "<agent-api-key>"
      }
    }
  }
}

Description

HA Vibecode Agent splits Home Assistant automation for AI coding tools into two parts. The agent runs inside Home Assistant as an add-on (or beside it in Docker for Home Assistant Container on Proxmox, a NAS or plain Docker Compose) with native access to entities, services, files and runtime state. The MCP server, @coolver/home-assistant-mcp, runs next to your IDE and talks to the agent over a controlled API instead of SSH and throwaway helper scripts, which keeps edits repeatable and returns only the context the model needs.

Through it an agent can analyse your configuration, entities and devices; create automations, scripts, helpers and template sensors; design Lovelace dashboards and themes; read logs to troubleshoot; and install HACS integrations. Every change is versioned in a shadow Git repository so it can be rolled back. Add-on management (install, uninstall, restart add-ons) needs the Supervisor and is unavailable in standalone Docker mode.

Setup: add https://github.com/coolver/home-assistant-vibecode-agent as an add-on repository, install and start HA Vibecode Agent, then follow the Cursor or VS Code tab in its web UI, which gives the agent URL and API key for the MCP config. The project is MIT-licensed and aimed at experienced Home Assistant users; its README asks you to review changes before applying them.

MCP: HA-MCP

by homeassistant-ai

Open-source MCP server for configuring and controlling Home Assistant from Claude, ChatGPT and other assistants: automations, dashboards, devices and backups.

Home Assistant's built-in MCP Server integration — lets Claude, ChatGPT and other MCP clients see and control exactly the smart-home entities you choose to expose.

Featured

Google's official MCP server for the Home ecosystem — let an agent list your homes and devices, read live trait state, run actions and query event history over OAuth.

MCP: UniFi MCP

by Chris Kirby

New

Community MCP servers for Ubiquiti UniFi: Network, Protect, Access, Site Manager and InnerSpace, with hundreds of tools for clients, firewall rules, cameras and doors on your own console.

Browse all MCP servers →