常驻用量

抄作业 / 教程 / Grok Bot

Connect Grok Bot to Home Assistant via ha-mcp

标题与摘要为原文,未翻译。

做了什么
Step-by-step guide to wire Grok Bot or Cursor to Home Assistant using ha-mcp over stdio MCP, with example configs and no secrets.
场景
未归类
资料完整度
  • 作者与原链接有
  • 做了什么有
  • 来源原文摘录有
  • 截图 / 媒体来源未提供
  • 步骤 / 章节有
  • 提示词 / 配置原文来源未提供
  • 结果 / 数字来源未提供
  • 风险提示有
  • 相关条目有

— 表示来源没有给出,本站不补写。

来源原文摘录
Full instructions for wiring an AI assistant (Grok Bot, Cursor, Claude Desktop, etc.) to a Home Assistant instance using ha-mcp over stdio.
RongleCat/awesome-grok-bot (GitHub) · 打开原文 ↗

摘自项目 README,照录原文,未翻译。

来源里的步骤 / 要点
  1. The MCP server runs on the assistant’s machine (Grok Bot’s computer, or your laptop for Claude Desktop / Cursor).
  2. It calls Home Assistant’s normal API with HOMEASSISTANT_URL + HOMEASSISTANT_TOKEN.
  3. You do not need the Home Assistant MCP Server integration (/api/mcp) for this path.
  4. Run one ha-mcp install method only (stdio or HA App or in-process custom component — not several at once).
  5. Home Assistant reachable over HTTPS (or HTTP on a trusted LAN) from the machine that will run ha-mcp.
  6. Grok Bot agents run on a remote Linux “box.” Your HA URL must be reachable from the internet or a tunnel (Nabu Casa, reverse proxy, WireGuard, Cloudflare Tu
  7. uv / uvx on that machine (Astral uv).
  8. Python 3.13 available to uv (uv python install 3.13 if needed). Current ha-mcp expects 3.13.x.

照录来源原文,未翻译。

提示词

来源没有给出可直接复制的提示词原文。

怎么复制
  1. 打开仓库:github.com/Hrubak/grok-bot-home-assistant-mcp ↗
  2. 读 README,把仓库链接发给你的 Bot,让它按 README 复现
  3. 先在小范围跑通,再加 routine
风险与限制
  • 作者的结果不保证能复现,以原帖为准
用量预估
用金属计算器估一下