HA Vibecode Agent MCP Server

$npx -y @coolver/home-assistant-mcp
README.md

Let AI build your Home Assistant automations or act as your DevOps.

HA Vibecode Agent - Home Assistant Add-on

Let AI build your Home Assistant automations – or act as your DevOps for the ones you write by hand. Just describe what you need in natural language. πŸ πŸ€–

You describe your goal β†’ AI inspects your Home Assistant β†’ designs a custom solution β†’ and deploys it on-board automatically. πŸš€

And if you prefer to handcraft your automations and scripts yourself, the agent can simply act as your DevOps and extra pair of hands: quickly uploading your changes, running tests, and analyzing logs on demand. You stay in control and decide how much you delegate to AI and how deep it should go.

Transform the way you manage your smart home. This add-on enables Cursor, Visual Studio Code (VS Code), or any MCP-enabled IDE to:

  • πŸ“ Analyze your Home Assistant configuration, entities, and devices
  • πŸ—οΈ Create intelligent automations, scripts, and complete systems β€” including Home Assistant helpers that can be fully managed programmatically
  • 🎨 Design and customize Lovelace dashboards with full control over cards, layouts, and styling
  • πŸ–ŒοΈ Create and tweak themes for a personalized UI
  • πŸ”„ Safely deploy changes with automatic Git-based versioning
  • πŸ” Monitor and troubleshoot your setup through log analysis
  • πŸ“¦ Install and manage HACS integrations and custom repositories

No more manual YAML editing or searching through documentation - just describe what you want in natural language!

Real example: User says "Install smart climate control" β†’ AI analyzes 7 TRVs, creates 10 automations + 9 helpers + 10 sensors + 5 scripts, deploys everything, and it just works!

https://github.com/user-attachments/assets/0df48019-06c0-48dd-82ad-c7fe0734ddb3

Full YouTube Demo:


🎯 What is this?

HA Vibecode Agent is a Home Assistant add-on that exposes a safe on-board REST API and toolset, allowing AI assistants (Cursor, VS Code, Claude, Continue, and any MCP-enabled IDE) to work with your Home Assistant instead of just generating YAML in the dark.


πŸ” Analyze your setup

βœ… Read your full configuration β€” entities, automations, scripts, helpers
βœ… Understand your devices β€” capabilities, relations, and usage patterns
βœ… Learn existing logic β€” analyze how your current automations and scripts behave


πŸ—οΈ Build intelligence

βœ… Create complete systems β€” multiple interconnected automations in seconds
βœ… Generate helpers and sensors β€” tailored to your actual setup and needs
βœ… Write optimized scripts β€” based on real entities, areas, and devices
βœ… Refactor existing logic β€” improve or merge automations instead of starting from scratch


πŸ“Š Dashboards & UI

βœ… Create and update Lovelace dashboards β€” fully programmatically
βœ… Add, remove, or rearrange cards β€” stat, graphs, history, custom cards, and more
βœ… Control layouts and views β€” organize rooms, areas, and scenarios
βœ… Design and tweak themes β€” colors, typography, and styles for a personalized UI


πŸ”’ Safe operations

βœ… Git-based versioning β€” every change is tracked with meaningful commit messages
βœ… Human-readable commits β€” AI explains what changed and why
βœ… Configuration validation β€” test before apply to reduce breaking changes
βœ… One-click rollback β€” revert to a previous state if something goes wrong
βœ… Activity log β€” full audit trail of what the agent did and when


πŸ“¦ Extend with the community

βœ… Install and configure HACS β€” unlock 1000+ community integrations
βœ… Search repositories β€” themes, plugins, custom components, dashboards
βœ… Install integrations β€” one-command setup for new HACS components
βœ… Keep things fresh β€” update all HACS repositories from a single place


Result:
You describe your goal β†’ AI inspects your Home Assistant β†’ designs a custom solution β†’ and deploys it on-board automatically. πŸš€

πŸš€ How is this different from other MCP modules for Home Assistant?

Most MCP integrations I’ve seen for Cursor, VS Code or Claude work only on your local machine and talk to Home Assistant over SSH and sometimes the REST API.

For serious Home Assistant work, that’s not really enough:

Home Assistant is not just a bunch of YAML files. It exposes multiple internal APIs, and some of the most important ones are only available from inside HA itself over the WebSocket API.

When you access HA only via SSH, the AI usually has to generate and upload a helper script on every request, then execute it blindly on the host. Since that script can be different every time, each request is a bit of a

Environment Variables

HA_URLrequiredThe URL of your Home Assistant instance
HA_TOKENrequiredLong-lived access token from Home Assistant

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "home-assistant-vibecode-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@coolver/home-assistant-mcp"
      ],
      "env": {
        "HA_URL": "http://homeassistant.local:8123",
        "HA_TOKEN": "YOUR_LONG_LIVED_ACCESS_TOKEN"
      }
    }
  }
}

Try it

β†’Analyze my Home Assistant configuration and list all active entities and devices.
β†’Create a smart climate control automation for my 7 TRVs and 10 sensors.
β†’Design a new Lovelace dashboard with cards for my living room lights and thermostat.
β†’Install the latest version of a specific integration from HACS.
β†’Roll back my last configuration change using the Git versioning system.

Frequently Asked Questions

What are the key features of HA Vibecode Agent?

Native access to Home Assistant internal APIs and WebSocket API.. Built-in Git-based versioning for safe deployments and one-click rollbacks.. Full management of HACS integrations and custom repositories.. Programmatic creation of Lovelace dashboards, themes, and helpers.. Automated log analysis and configuration validation to reduce breaking changes..

What can I use HA Vibecode Agent for?

Automating complex smart home logic by describing goals in natural language.. Acting as a DevOps agent for power users to upload changes and run tests.. Managing large-scale Home Assistant setups with multiple interconnected automations.. Personalizing UI/UX through AI-generated themes and dashboard layouts.. Auditing system changes with human-readable commit messages and activity logs..

How do I install HA Vibecode Agent?

Install HA Vibecode Agent by running: npx -y @coolver/home-assistant-mcp

What MCP clients work with HA Vibecode Agent?

HA Vibecode Agent works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use HA Vibecode Agent with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free