TopGit
GitHub Repo Review

HA-MCP: Home Assistant MCP server

homeassistant-ai/ha-mcp
HTopGit review image for homeassistant-ai/ha-mcp
Review by Topgit.dev for homeassistant-ai/ha-mcp, with GitHub repository stats and README context.
Quick verdict

HA-MCP is a good Home Assistant MCP server when you want an assistant to configure, inspect, and debug your smart home rather than merely control exposed devices. The deployment options and broad tool coverage are substantial, but the server needs careful access-token and remote-access handling.

Stars
โ˜… 7.9k
Forks
โ‘‚ 464
Contributors
๐Ÿ‘ฅ 101
Language
Python
License
MIT
Topic
โ€”
Updated
Nov 2026

What HA-MCP Does

HA-MCP is a self-hosted Home Assistant MCP server for Claude, ChatGPT, and other compatible AI clients. It lets those clients control entities, create and edit automations and scripts, configure dashboards, inspect traces, and manage Home Assistant system tasks.

Natural-Language Home Assistant Control

Home Assistant's built-in assistant path is excellent for ordinary entity control, but it leaves a large operational gap when you need an AI client to create automations, edit dashboards, inspect traces, adjust helpers, or troubleshoot a failing script. HA-MCP fills that gap through a dedicated MCP server backed by Home Assistant configuration and runtime tools.

Configuration and Monitoring Capabilities

  • โœ“Create, inspect, modify, and remove automations, scripts, helpers, scenes, groups, zones, and calendars.
  • โœ“Control devices through Home Assistant services, including bulk entity control and live state inspection.
  • โœ“Edit Lovelace dashboards and other resources, with the dashboard screenshot tool currently marked as beta.
  • โœ“Debug behavior through automation traces, logs, history, statistics, camera snapshots, and Z-Wave parameter reads.
  • โœ“Manage areas, floors, labels, categories, blueprints, integrations, device registry entries, and entity registry entries.
  • โœ“Handle Home Assistant system work such as backups, restores, updates, apps, themes, and developer settings.
  • โœ“Protect sensitive operations with Read Only Mode, per-tool toggles, security policies, user approval, and automatic edit backups.
  • โœ“Expose optional file and YAML tools through a separate File & YAML Tools entry; these features are off by default.
How this repository's GitHub stars have grown over time. Source: star-history.com.View the star history โ†—

Installing Through Marketplace or HACS

The preferred path is to install HA-MCP as a Home Assistant integration. Home Assistant 2026.11 or newer can use the built-in Marketplace; Home Assistant 2026.8โ€“2026.10 users can install it through HACS. Restart Home Assistant, add the HA-MCP Server integration, provide an administrator token or dedicated account, choose remote or local access, and copy the resulting connection URL into the AI client. For a manual installation, copy custom_components/ha_mcp_tools/ into the Home Assistant config/custom_components/ directory, restart, and add the integration. The app, Docker, PyPI, uvx, and stdio methods are separate deployment choices; use only one server instance per client.

Strengths

  • โœ“Covers configuration, monitoring, and device control rather than limiting AI clients to voice-style commands.
  • โœ“The in-process integration runs across Home Assistant OS, Supervised, Container, and Core installations.
  • โœ“Supports local-only operation as well as remote access through a Home Assistant webhook.
  • โœ“Provides explicit safety controls such as Read Only Mode, per-tool enablement, approval policies, and edit backups.
  • โœ“Offers several deployment paths, including Marketplace or HACS, the Home Assistant app, Docker, PyPI, and uvx.
  • โœ“Exposes a detailed tool surface for automations, scripts, dashboards, helpers, registries, traces, logs, and system management.

Deployment and Security Constraints

  • โ–ณThe in-process integration requires Home Assistant 2026.8.0 or newer, so older installations need a different deployment path or may need upgrading.
  • โ–ณAn administrator token or an administrator-capable account is needed for the recommended setup; a compromised credential can affect the whole Home Assistant instance.
  • โ–ณRun only one HA-MCP installation per client. Running the integration alongside Docker, uvx, or another server can cause connection hangs.
  • โ–ณThe stdio transport has known connection problems and is intended mainly for demos and testing, not production use.
  • โ–ณFile and YAML editing tools are opt-in and require the separate File & YAML Tools entry; some tools, including YAML editing, are marked beta.
  • โ–ณRemote access through a webhook, OIDC, or another proxy expands the security surface and must be configured deliberately.

HA-MCP Versus Built-In MCP

Home Assistant built-in MCP Server โ€” the closest functional alternative, built on the Assist pipeline for entity control and intents, while HA-MCP focuses on configuration, editing, and debugging.Home Assistant MCP Server integration โ€” the same official Home Assistant MCP concept viewed as an alternative deployment, though it does not provide HA-MCP's broader configuration and debugging toolset.

Frequently Asked Questions

Is HA-MCP free and open source for commercial use?

HA-MCP is MIT-licensed open source, and the README states that no paid subscription is required for the demo environment. Claude, ChatGPT, and other connected AI services may still have their own subscription or usage terms.

What Home Assistant versions support the HA-MCP integration?

The HA-MCP integration requires Home Assistant 2026.8.0 or newer. Home Assistant 2026.11 or newer can install it through the Marketplace, while Home Assistant 2026.8โ€“2026.10 users install it through HACS.

Which AI clients can connect to HA-MCP?

HA-MCP works with Claude, ChatGPT, Gemini CLI, Open WebUI, VS Code, Cursor, and other MCP clients. The client must be configured with the connection URL generated by the HA-MCP setup screen.

Can I run the HA-MCP integration and Docker server at the same time?

HA-MCP should run as only one server per client. The README warns against running the in-process integration alongside Docker, uvx, PyPI, or stdio, because duplicate entries can cause connection hangs.

How should I secure remote access to HA-MCP?

Prefer a dedicated HA-MCP account with local access and administrator rights, or use an administrator token only when necessary. Keep remote access disabled for local-only use, or require Home Assistant sign-in with ha_auth instead of relying only on a secret URL.

Why is the HA-MCP stdio transport recommended only for testing?

HA-MCP's stdio transport has documented connection problems, while streamable HTTP avoids those known transport issues. The README therefore recommends stdio for demos and testing rather than a real production setup.

Best use cases

  • โ€ขCreate an automation from a plain-language request, including triggers, conditions, and actions.
  • โ€ขDebug a motion sensor automation by reading its execution trace and identifying the failing step.
  • โ€ขEdit a Lovelace dashboard or add a card through an AI client.
  • โ€ขCreate a reusable script that coordinates lights, blinds, media, and other smart-home actions.
  • โ€ขMonitor entity history, statistics, logs, and camera snapshots from Claude or ChatGPT.
  • โ€ขGive a small smart-home team a conversational interface for configuration changes with per-tool approval controls.

Who should try it โ€” and who should skip

Try HA-MCP if you actively manage automations, scripts, dashboards, helpers, or device issues and want to work with Home Assistant through Claude, ChatGPT, or another MCP client. Skip it if you only need simple voice commands for already-exposed entities, cannot give it suitable credentials, or do not want to manage the extra security choices around a privileged Home Assistant server.

Related repositories

Source & attribution

This review is based on the GitHub repository for homeassistant-ai/ha-mcp: https://github.com/homeassistant-ai/ha-mcp

GitHub data ยท last synced Nov 10, 2026Reviewed by Henry
โ† Back to TopGit

Want a second opinion on ha-mcp?

Ask an AI that can read this page โ€” one click and you get its take on ha-mcp.

GitHub