Server data from the Official MCP Registry
Vibecode your Home Assistant setup from your IDE: automations, dashboards, themes and configs
Vibecode your Home Assistant setup from your IDE: automations, dashboards, themes and configs
Valid MCP server (2 strong, 1 medium validity signals). 8 known CVEs in dependencies (0 critical, 6 high severity) Package registry verified. Imported from the Official MCP Registry.
3 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Set these up before or after installing:
Environment variable: HA_AGENT_URL
Environment variable: HA_AGENT_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-coolver-home-assistant-mcp": {
"env": {
"HA_AGENT_KEY": "your-ha-agent-key-here",
"HA_AGENT_URL": "your-ha-agent-url-here"
},
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
⚙️ This MCP server works together with the
Home Assistant Vibecode Agent,
installed as a Home Assistant add-on.
The agent runs on your Home Assistant instance and provides “eyes and hands” for AI IDEs like Cursor, VS Code, Claude Code, or any other MCP-enabled IDE.
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:
No more manual YAML editing or searching through documentation - just describe what you want in natural language!
Example: "Install smart climate control for my radiators" → AI creates 10+ automations, helpers, sensors, and scripts optimized for YOUR TRVs.
Built on Model Context Protocol and powered by HA Vibecode Agent.
✅ 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
✅ 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
✅ 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
✅ 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
✅ 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. 🚀
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 black box — more like playing Russian roulette than doing reliable automation.
Because of that, I chose a different architecture.
This project is split into two modules:
Home Assistant Agent (this module) – runs inside Home Assistant (as an add-on), has native access to all relevant APIs, files and services, and exposes a safe, well-defined interface for external tools.
Home Assistant MCP server – runs on your computer alongside your AI IDE (Cursor, VS Code, etc.) and talks to the Agent over a controlled API instead of SSH hacks (installation steps below)
This design makes working with Home Assistant faster, more predictable, safer and repeatable. Your AI IDE gets exactly the actions and data it needs — through a stable API — instead of constantly inventing ad-hoc scripts and hoping they behave correctly.
Before installing, you need:
The MCP server requires Node.js to run on your computer (where your AI editor is installed):
node --versionnode --version should show v18.0.0 or higherInstall the agent in your Home Assistant from :
https://github.com/Coolver/home-assistant-vibecode-agentGet configuration from Home Assistant:
Verify everything works:
Open your AI editor (Cursor, VS Code, etc) and send this message to AI:
Connect to my Home Assistant and show me:
1. List of all my climate entities
2. Current status of the HA Vibecode Agent
This will verify the MCP connection is working.
If AI successfully returns your entities and agent status, you're all set! ✅
Troubleshooting: If connection fails:
Just describe what you want in natural language - AI will handle the rest!
| Variable | Description | Required | Default |
|---|---|---|---|
HA_AGENT_URL | URL of HA Vibecode Agent | Yes | http://homeassistant.local:8099 |
HA_AGENT_KEY | Agent Key for authentication | Yes | - |
If your agent runs on a different URL:
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": ["-y", "@coolver/home-assistant-mcp@latest"],
"env": {
"HA_AGENT_URL": "http://<home-assistant-host>:8099",
"HA_AGENT_KEY": "your_api_key_here"
}
}
}
}
mcp.json (under HA_AGENT_KEY)curl http://homeassistant.local:8099/api/healthHA_AGENT_URLThis error means Node.js is not installed or not found in your system PATH.
Solution: Install Node.js (v18.0.0 or higher) on the computer where Cursor is running:
node --version in a terminalImportant: Node.js must be installed on your computer (where Cursor, VS Code, Claude or other IDE runs), not on the Home Assistant server.
mcp.json with your Agent Key to git!MIT © Vladimir Eremeev
home-assistant-mcp/
├── package.json # NPM package config
├── tsconfig.json # TypeScript config
├── src/
│ ├── index.ts # MCP server entry point
│ ├── ha-client.ts # HA Agent API client
│ ├── handlers.ts # Tool request handlers
│ ├── tools.ts # Legacy tool definitions
│ └── tools/ # Modular tool definitions
│ ├── index.ts # Tool exports
│ ├── files.ts # File operation tools
│ ├── system.ts # System operation tools
│ └── dashboard.ts # Dashboard tools
├── build/ # Compiled JavaScript output
├── README.md
├── CHANGELOG.md
└── QUICK_START.md
MCP Server (index.ts) ← Communication Protocol
↓
Tool Handlers (handlers.ts) ← Business Logic
↓
HA Client (ha-client.ts) ← HTTP API Wrapper
↓
HA Vibecode Agent (https://github.com/Coolver/home-assistant-vibecode-agent) (REST API) ← Home Assistant Integration
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Give a ⭐️ if this project helped you control your smart home with AI!
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.