Home Assistant MCP Setup Wizard
Configure the Home Assistant MCP Server for your AI assistant
Quick Setup — HA Custom Component
Runs the full ha-mcp server inside Home Assistant. Works on every Home Assistant installation type — Home Assistant OS, Supervised, Container, and Core.
- Install HA-MCP Custom Component from HACS (the Marketplace on Home Assistant 2026.11+), then restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration, search HA-MCP Custom Component, and choose HA-MCP Server.
- In the form, paste an Administrator access token (your profile → Security → Long-lived access tokens → Create token; your own works from anywhere if it leaks and the server's changes show under your name), or, safer, enter the user name and password of an account made just for HA-MCP under Settings → People with Local access only and Administrator on (never your own login), and HA-MCP creates its token. Then pick how clients may connect (this form is from version 9.0.0 (October 28, 2026); earlier versions show a shorter one). Both options start off, so a client on another device needs one of them: Remote access through Home Assistant — start with Secret URL (the connect URL is the credential, nothing else to set up; switch to Home Assistant sign-in later if you want a login) — and/or Network access: Local network for clients on your LAN. Leaving both off keeps the server reachable only from the Home Assistant machine. Submit — creating the entry starts the server.
- Copy the connect URL from the entry's Configure screen (a notification points you there).
- Paste it into your AI client — pick the client below for its exact config.
Need client-specific config, or a different install method (App (add-on), Docker, uvx, or local stdio)? Use the setup wizard below.
1How is your MCP server running?
Alternative methods
Demo server (local stdio)
Prefer to run ha-mcp locally over stdio, or just try the public demo Home Assistant? These per-OS walkthroughs cover it. stdio has known transport issues; not recommended for a permanent setup.
macOS
Local or the Home Assistant App
Demo server
macOS
Local or the Home Assistant App
Linux
Local or the Home Assistant App
Demo server
Linux
Local or the Home Assistant App
Windows
Local or the Home Assistant App
Demo server
Windows
Local or the Home Assistant App