The Unofficial and Awesome Home Assistant MCP Server
README
โ ๏ธBreaking change in OAuth mode (v7.0.0) โ Set HOMEASSISTANT_URL server-side. The consent form now accepts only the token. Migration guide โ
The Unofficial and Awesome Home Assistant MCP Server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with Home Assistant.
Using natural language, control smart home devices, query states, execute services and manage your automations.
๐ Get Started
Full guide to get you started with Claude Desktop (~10 min)
No paid subscription required. Click on your operating system:
Already have Nabu Casa or another reverse proxy pointing at your Home Assistant? The Webhook Proxy add-on routes MCP traffic through your existing setup โ no separate tunnel or port forwarding needed.
Install the MCP Server add-on (see above) and the Webhook Proxy add-on from the same store
Start the webhook proxy and restart Home Assistant when prompted
Copy the webhook URL from the add-on logs:
MCP Server URL (remote): https://xxxxx.ui.nabu.casa/api/webhook/mcp_xxxxxxxx
Configure your AI client with that URL
For other remote access methods (Cloudflare Tunnel, custom reverse proxy), see the Setup Wizard.
Some tools require a companion custom component installed in Home Assistant. Standard HA APIs do not expose file system access or YAML config editing. This component provides both.
Tools that require the component:
Tool
Description
ha_config_set_yaml
Safely add, replace, or remove top-level YAML keys in configuration.yaml and package files (automatic backup, validation, and config check)
ha_list_files
List files in allowed directories (www/, themes/, custom_templates/)
All other tools work without the component. These five return an error with installation instructions if the component is missing.
These tools also require feature flags: HAMCP_ENABLE_FILESYSTEM_TOOLS=true (file tools) and ENABLE_YAML_CONFIG_EDITING=true (YAML editing). To enable the ha_install_mcp_tools installer tool, set HAMCP_ENABLE_CUSTOM_COMPONENT_INTEGRATION=true.
Install using HACS (recommended)
To add manually: open HACS > Integrations > three-dot menu > Custom repositories > add https://github.com/homeassistant-ai/ha-mcp (category: Integration) > Download.
After installing, restart Home Assistant. Then open Settings > Devices & Services > Add Integration and search for HA MCP Tools.
Install manually
Copy custom_components/ha_mcp_tools/ from this repository into your HA config/custom_components/ directory. Restart Home Assistant, then add the integration as described above.
๐ง Better Results with Agent Skills
This server gives your AI agent tools to control Home Assistant. For better configurations, pair it with Home Assistant Agent Skills โ domain knowledge that teaches the agent Home Assistant best practices.
An MCP server can create automations, helpers, and dashboards, but it has no opinion on how to structure them. Without domain knowledge, agents tend to over-rely on templates, pick the wrong helper type, or produce automations that are hard to maintain. The skills fill that gap: native constructs over Jinja2 workarounds, correct helper selection, safe refactoring workflows, and proper use of automation modes.
Bundled Skills (built-in)
Skills from homeassistant-ai/skills are bundled and served as MCP resources via skill:// URIs. Any MCP client that supports resources can discover them automatically โ no manual installation needed.
Setting
Default
Description
ENABLE_SKILLS
true
Serve skills as MCP resources. Resources are not auto-injected into context โ clients must explicitly request them.
ENABLE_SKILLS_AS_TOOLS
true
Expose skills and doc resources via list_resources/read_resource tools. Resource-capable clients can set to false to reduce tool count.
Skills can still be installed manually for clients that prefer local skill files โ see the skills repo for instructions.
๐งช Dev Channel
Want early access to new features and fixes? Dev releases (.devN) are published on every push to master.
### Added - Harden ha_config_set_yaml description and require justification ([#942](https://github.com/homeassistant-ai/ha-mcp/pull/942)) - Add python_transform support to automations and scripts ([#968](https://github.com/homeassistant-ai/ha-mcp/pull/968)) - **history**: Add offset pagination for history and statistics sources ([#964](https://github.com/homeassistant-ai/ha-mcp/pull/964)) - **site**: Redesign documentation site with professional visual identity ([#938](https://github.c
High
4/15/2026
v7.2.0
### Added - Add managed YAML config editing tool (ha_config_set_yaml) ([#827](https://github.com/homeassistant-ai/ha-mcp/pull/827)) - Tool explorer with taxonomy, auto-generated docs, and design mode ([#839](https://github.com/homeassistant-ai/ha-mcp/pull/839)) - Add generic add-on API proxy tool (ha_call_addon_api) ([#641](https://github.com/homeassistant-ai/ha-mcp/pull/641)) - Add support for automation/script/scene categories ([#677](https://github.com/homeassistant-ai/ha-mcp/pull/6
Medium
4/1/2026
Dependencies & License Audit
Loading dependencies...
Similar Packages
nmap-mcp๐ Enable AI-driven network security scanning with a production-ready Nmap MCP server supporting diverse tools, scan types, and timing templates.main@2026-04-21
noapi-google-search-mcp๐ Enable local LLMs with real-time Google search, live feeds, OCR, and video insights using noapi-google-search-mcp server tools.main@2026-04-21
hybrid-orchestrator๐ค Implement hybrid human-AI orchestration patterns in Python to coordinate agents, manage sessions, and enable smooth AI-human handoffs.master@2026-04-21
aiA productive AI coworker that learns, self-improves, and ships work.main@2026-04-21
Advanced-AI-Agents๐ค Build advanced AI agents with a collection of production-ready applications using modern frameworks for single and multi-agent systems.main@2026-04-21