ha-mcp-for-xiaozhi

作者 c1pher-cn已验证

Homeassistant MCP server for 小智AI

264
Stars
50
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/c1pher-cn/ha-mcp-for-xiaozhi

快速入门

使用 ha-mcp-for-xiaozhi 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

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

常见问题

What is ha-mcp-for-xiaozhi?

ha-mcp-for-xiaozhi is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by c1pher-cn. Homeassistant MCP server for 小智AI. It has 264 GitHub stars.

Is ha-mcp-for-xiaozhi safe to use?

Yes. ha-mcp-for-xiaozhi passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install ha-mcp-for-xiaozhi?

Clone the repository with "git clone https://github.com/c1pher-cn/ha-mcp-for-xiaozhi" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is ha-mcp-for-xiaozhi written in?

ha-mcp-for-xiaozhi is primarily written in Python. It is open-source under c1pher-cn on GitHub, so you can review or fork the full source.

Are there alternatives to ha-mcp-for-xiaozhi?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ha-mcp-for-xiaozhi against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情