Copy library / Guides / Grok Bot
Connect Grok Bot to Home Assistant via ha-mcp
Title and summary are in the original language, not translated.
# Connect Grok Bot to Home Assistant via ha-mcp Source: https://github.com/Hrubak/grok-bot-home-assistant-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.
- What it does
- 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.
- Scenarios
- Uncategorized
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
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) · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
- The MCP server runs on the assistant’s machine (Grok Bot’s computer, or your laptop for Claude Desktop / Cursor).
- It calls Home Assistant’s normal API with HOMEASSISTANT_URL + HOMEASSISTANT_TOKEN.
- You do not need the Home Assistant MCP Server integration (/api/mcp) for this path.
- Run one ha-mcp install method only (stdio or HA App or in-process custom component — not several at once).
- Home Assistant reachable over HTTPS (or HTTP on a trusted LAN) from the machine that will run ha-mcp.
- 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
- uv / uvx on that machine (Astral uv).
- Python 3.13 available to uv (uv python install 3.13 if needed). Current ha-mcp expects 3.13.x.
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/Hrubak/grok-bot-home-assistant-mcp ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator