Home Assistant Mcp logo

Home Assistant Mcp

Community
dujonwalker
home-assistant-mcp

Use this skill whenever interacting with Home Assistant via the homeassistant-ai/ha-mcp MCP server — discovering entities, areas, and devices, checking states and history, calling services or bulk control, creating or debugging automations/scripts/scenes/helpers/dashboards, reading logs and traces, or managing backups and YAML config. Also use when working with the server's tool-search catalog (/catalog/search, ha_search_tools), bundled skill guides (ha_get_skill_guide), HTTP/OAuth/OIDC transports, or visibility flags.

Overview

Publisherdujonwalker
Repositoryproject-nova
Skill namehome-assistant-mcp
Stars
271
Forks
33
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dujonwalker on GitHub. Read the source before you install it.

Installation

Install the Home Assistant Mcp AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/home-assistant-mcp
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dujonwalker/project-nova.git /tmp/project-nova
mkdir -p .claude/skills
cp -r /tmp/project-nova/mcp-skills/home-assistant-mcp .claude/skills/home-assistant-mcp
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Home Assistant Mcp in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Home Assistant Mcp on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Home Assistant Mcp is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Home Assistant MCP (home-assistant-mcp)

Use the home-assistant-mcp MCP tools as the primary interface for inspecting, controlling, configuring, and troubleshooting Home Assistant.

Core Workflows

  • Consult built-in best practices first: When available, call ha_get_skill_guide() (and pass file="<path>" for task-matching reference files) before writing automations, scripts, scenes, helpers, dashboards, or YAML. After reading it in-session, pass MandatoryBPS=false on supported write tools to avoid repeated canonical payloads.
  • Work with search-mode catalogs (ENABLE_TOOL_SEARCH or /catalog/search):
    1. Call direct/pinned tools (ha_search, ha_get_state, etc.) without searching for them.
    2. For unlisted tools, search with English operation keywords via ha_search_tools(query="...").
    3. Inspect full parameters via ha_search_tools(tools=["<name>"]) before calling directly (preferred) or sequentially via ha_call_read_tool / ha_call_write_tool / ha_call_delete_tool (name and arguments at top level).
  • Discover before acting: Start with ha_get_overview, ha_search, ha_list_floors_areas, or ha_get_state / ha_get_entity / ha_get_device to resolve exact entity and device IDs before calling services.
  • Control & configure via domain tools:
    • Actions: ha_call_service, ha_bulk_control, ha_get_operation_status, ha_list_services.
    • Configs: ha_config_set_automation, ha_config_set_script, ha_config_set_scene, ha_config_set_helper, ha_config_set_dashboard, ha_set_entity, ha_set_device, ha_set_area_or_floor.
    • Debugging: ha_get_automation_traces, ha_get_history, ha_get_logs, ha_eval_template, ha_get_system_health.

Read references/tools-reference.md for the complete 86-tool catalog grouped by domain.

Gotchas

  • Endpoint catalog variants: HTTP deployments expose <path> (configured by ENABLE_TOOL_SEARCH), <path>/catalog/full (~86 tools), <path>/catalog/search (proxy discovery), and /readonly suffixes. Clients cannot switch catalogs mid-session—pick the catalog via the server URL.
  • Registry updates require dedicated tools: Rename entity_id or friendly names using ha_set_entity (over WebSocket inside ha-mcp), keeping Home Assistant's underscore-only ID rule.
  • YAML edits are opt-in: ha_config_set_yaml requires ENABLE_YAML_CONFIG_EDITING=true; prefer typed ha_config_set_* tools whenever available.
  • Automatic pre-edit backups: BACKUP_READ_ONLY=true blocks manual ha_manage_backup create/restore/delete calls while automatic pre-edit backups still run; ENABLE_SNAPSHOT_ACTIONS=false disables snapshot actions including listing.
  • Deep search timeouts on slow HA instances: If ha_search emits partial config-fetch timeout warnings, adjust HAMCP_INDIVIDUAL_CONFIG_TIMEOUT, HAMCP_INDIVIDUAL_FETCH_BATCH_SIZE, or HAMCP_*_CONFIG_TIME_BUDGET (always capped by HA_TIMEOUT).

Connection Setup

Read references/setup-and-config.md when configuring ha-mcp (stdio), ha-mcp-web (:8086), ha-mcp-oauth / ha-mcp-oidc, HACS/Marketplace in-process integration, MCP_SECRET_PATH, or DISABLED_TOOLS / PINNED_TOOLS.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Home Assistant Mcp AI skill do?

Use this skill whenever interacting with Home Assistant via the homeassistant-ai/ha-mcp MCP server — discovering entities, areas, and devices, checking states and history, calling services or bulk control, creating or debugging automations/scripts/scenes/helpers/dashboards, reading logs and traces, or managing backups and YAML config. Also use when working with the server's tool-search catalog (/catalog/search, ha_search_tools), bundled skill guides (ha_get_skill_guide), HTTP/OAuth/OIDC transports, or visibility flags.

Why use Home Assistant Mcp on TypingMind?

Because you install it once and use it with any model. Home Assistant Mcp is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Home Assistant Mcp in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/home-assistant-mcp. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Home Assistant Mcp?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Home Assistant Mcp?

As many as you like. As long as a model supports skills, you can use Home Assistant Mcp with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Home Assistant Mcp AI skill free?

Yes. It is published on GitHub by dujonwalker under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇