Home Assistant MCP server for Xiaozhi AI

Home Assistant MCP server for Xiaozhi AI

ha-mcp-for-xiaozhi•byc1pher-cn

A Home Assistant integration that exposes Home Assistant as an MCP server over WebSocket and connects directly to the official Xiaozhi AI server.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Home Assistant itself acts as an MCP server and connects directly to the Xiaozhi server over the WebSocket protocol, without an intermediary.
  • •Within a single entity, multiple API groups can be selected—Home Assistant's built-in control API plus user-configured MCP servers—and proxied together to Xiaozhi.
  • •Multiple entities can be configured at the same time.
  • •The tools exposed depend on which entities are exposed to the Home Assistant voice assistant.

BEST FOR

  • •Connecting a Home Assistant instance to Xiaozhi AI as an MCP server without a relay.
  • •Selecting Home Assistant control APIs and other user-configured MCP servers together and proxying them to Xiaozhi.

ABOUT HA-MCP-FOR-XIAOZHI

Home Assistant MCP server for Xiaozhi AI is cataloged as an MCP server attributed to c1pher-cn. A Home Assistant integration that exposes Home Assistant as an MCP server over WebSocket and connects directly to the official Xiaozhi AI server. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Home Assistant MCP server for Xiaozhi AI are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can multiple entities be configured at once?

Yes, the integration supports configuring multiple entities simultaneously.

What determines the tools exposed to Xiaozhi?

The tools exposed depend on the kinds of entities you expose to the Home Assistant voice assistant.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 394e492dc0a5 · 采集于 2026-11-13 09:35:05 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

ha-mcp-for-xiaozhi

GitHub Repo stars GitHub forks GitHub release (latest by date) GitHub release (latest by date) GitHub release (latest by date)

Alt Text

Homeassistant MCP server for 小智AI,直连小智AI官方服务器。

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

插件能力介绍

1.HomeAssistant自身作为mcp server 以websocket协议直接对接虾哥服务器,无需中转

2.在一个实体里同时选择多个API组(HomeAssistant自带控制API、用户自己配置的MCPServer)并将它们一起代理给小智

3.支持同时配置多个实体


功能演示(为爱发电不易,有币投投币、没币点点赞、刷几个弹幕也行)

接入演示视频

控制电视演示(通过自定义script实现)

HomeAssistant、LLM、MCP、小智的进阶教程


安装方法:

确保Home Assistant中已安装HACS

1.打开HACS, 搜索 xiaozhi 或 ha-mcp-for-xiaozhi

image

2.下载插件

image

3.重启Home Assistant.

配置方法:

[设置 > 设备与服务 > 添加集成] > 搜索“Mcp” >找到MCP Server for Xiaozhi

image

下一步 > 请填写小智MCP接入点地址、选择需要的MCP > 提交。

注意llm_hass_api 复选框里 Assist 就是ha自带的function,其他选项是你在HomeAssistant里接入的其他mcp server(可以在这里直接代理给小智)

image

配置完成!!!稍等一分钟后到小智的接入点页面点击刷新,检查状态。

bd06b555b9e5c24fbf819c43397c97ee


调试说明

1.暴露的工具取决于你公开给Homeassistant语音助手的实体的种类

设置 -> 语音助手 -> 公开

2.尽量使用最新版本的homeassistant,单单看5月版本跟3月版本提供的工具就有明显差异

3.调试时未达到预期,优先看小智的聊天记录,看看小智对这句指令如何处理的,是否有调用homeassistant的工具。目前已知比较大的问题是灯光控制和音乐控制会和内置的屏幕控制、音乐控制逻辑冲突,需要等下个月虾哥服务器支持内置工具选择后可解。

4.如果流程正确的调用了ha内置的function,可以打开本插件的调试日志再去观测实际的执行情况。


Buy Me A Coffee

Star History Chart

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Home Assistant MCP server for Xiaozhi AI from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ha-mcp-for-xiaozhi)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools