Always-on Usage

Copy library / Guides / Grok Bot

Connect Grok Bot to Home Assistant via ha-mcp

Title and summary are in the original language, not translated.

Subscribe

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
  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.

Verbatim from the source, untranslated.

Prompt

The source does not include a prompt you can copy verbatim.

How to copy
  1. Open the repo: github.com/Hrubak/grok-bot-home-assistant-mcp ↗
  2. Read the README, send the repo link to your Bot and have it reproduce it
  3. 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