part2 - Configure the Home Assistant MCP Server for your AI assistant
Combining Claude Code with an MCP Server is the modern, safest, and most powerful way to manage Home Assistant using natural language instead of relying strictly on manual SSH commands.
The best way to start is by using the HA-MCP Custom Component from HACS.
step 1. Install HA-MCP Custom Component from HACS, then restart Home Assistant.
step 2.Start HA-MCP Server in Home Assistant.
After it's running: you can get the HA-MCP sidebar panel.
sterp 3.Copy the connect URL from the HA-MCP Custom Componen's Configure screen
step 4.Paste URL into your AI client
Connecting Claude Code to Home Assistant with HA-MCP Server
step 5.write code
Claude Code is a general AI agent that happens to write code.
Haiku is fine for home assistant,
useful links
Claude Code
https://homeassistant-ai.github.io/ha-mcp/setup/?method=ha-component&client=claude-code
Connect Claude Code to tools via MCP
https://code.claude.com/docs/en/mcp
Comments
Comments are closed