/install homeassistant-mcp
Home Assistant MCP Skill
Description
This skill provides structured access to Home Assistant via its native MCP (Model Context Protocol) integration. It provides tools and context for interacting with devices, sensors, and cameras in the smart home.
Credentials
The MCP server endpoint is http://220.0.0.5:8123/api/mcp.
Ensure the connection is configured with the correct Long-Lived Access Token.
Best Practices
-
Camera Snapshots: MCP tools for cameras (video_garage, homeassistant___XXXXX) DO NOT WORK! Always use
execwithcurlto the REST API to get camera snapshots:curl -s -H "Authorization: Bearer \x3CTOKEN>" "http://220.0.0.5:8123/api/camera_proxy/camera.\x3Centity_id>" -o /home/clawd/.openclaw/workspace/\x3Cfilename>.jpgAfter fetching, verify it's a JPEG withfile, then display it using theMEDIA:\x3Cpath>directive. -
Garage Operations:
- The garage ESPHome logic is inverted:
HassTurnOff= OPEN,HassTurnOn= CLOSE. - Wait 30-50 seconds after a command before checking the position.
- True garage door position is determined by endstops, not just
current_position: 0or state. - Ignore
Garage 2 Motionas it produces false positives.
- The garage ESPHome logic is inverted:
-
Device Control:
- NEVER turn devices on or off without explicit user request.
- Do not use the
homeassistant__forcedtool.
-
Status Checks:
- Use
homeassistant__GetLiveContextto get a snapshot of all exposed entities. - If MCP tools timeout, fallback to the REST API:
curl -H "Authorization: Bearer \x3CTOKEN>" http://220.0.0.5:8123/api/states/\x3Centity_id>
- Use
Key Entities
Review /home/clawd/.openclaw/workspace/memory/home-assistant-entities.md for a full list of areas and key entities.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install homeassistant-mcp - After installation, invoke the skill by name or use
/homeassistant-mcp - Provide required inputs per the skill's parameter spec and get structured output
What is Homeassistant Mcp?
Provides structured access to Home Assistant devices, sensors, and cameras via MCP, with specific handling for cameras, garage doors, and device control. It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.
How do I install Homeassistant Mcp?
Run "/install homeassistant-mcp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Homeassistant Mcp free?
Yes, Homeassistant Mcp is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Homeassistant Mcp support?
Homeassistant Mcp is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Homeassistant Mcp?
It is built and maintained by dsnkzdeny (@dsnkzdeny); the current version is v1.0.0.