CH

coolver/home-assistant-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

58 stars 7 forks 质量 86 趋势 27MIT

Home Assistant MCP 服务器。启用光标、VS Code、Claude Code 或任何支持 MCP 的 IDE,以 vibecode 和管理 Home Assistant:创建自动化、设计仪表盘、调整主题、修改配置等等......

概览

⚙️ 该 MCP 服务器与安装为 Home Assistant 插件的 Home Assistant Vibecode 代理协同工作。该代理运行在您的 Home Assistant 实例上,为 Cursor、VS Code、Claude Code 或其他支持 MCP 的 IDE 提供“眼睛和手”。 你描述了你的目标→AI检查你的Home Assistant→设计定制解决方案,→并自动部署到板上。🚀 如果你更喜欢自己手工打造自动化和脚本,代理可以直接作为你的 DevOps 和额外帮手:快速上传你的更改、运行测试,并按需分析日志。 改变你管理智能家居的方式。

概述(AI 翻译)

⚙️ 该 MCP 服务器与 Home Assistant Vibecode 代理, 作为 Home Assistant 插件安装的。 该代理运行在您的 Home Assistant 实例上,并为 Cursor、VS Code、Claude Code 或其他支持 MCP 的 IDE 提供“眼睛和手”。

让AI为你构建Home Assistant自动化——或者作为你手写的DevOps。只需用自然语言描述你需要什么。🏠🤖

你描述了你的目标→AI检查你的Home Assistant→设计定制解决方案,→并自动部署到板上。🚀

如果你更喜欢自己手工打造自动化和脚本,代理可以直接作为你的DevOps和额外帮手:快速上传你的更改、运行测试,并按需分析日志。你掌控一切,决定委派给AI多少,委派到多深。

改变你管理智能家居的方式。该插件启用Cursor、Visual Studio Code(VS Code)或任何MCP支持的IDE以:

  • 📝 分析您的Home Assistant配置、实体和设备

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Home Assistant Vibecode MCP

⚙️ 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:

  • 📝 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!

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.

✨ Key Features

🔍 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


在 GitHub 查看完整 README

安装

npx -y @coolver/home-assistant-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }