by c1pher-cn
Homeassistant MCP server for 小智AI
# Add to your Claude Code skills
git clone https://github.com/c1pher-cn/ha-mcp-for-xiaozhiGuides for using ai agents skills like ha-mcp-for-xiaozhi.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:27:41.529Z",
"npmAuditRan": true,
"pipAuditRan": true
}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 254 GitHub stars.
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.
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).
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.
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.
No comments yet. Be the first to share your thoughts!
接入演示视频
控制电视演示(通过自定义script实现)
HomeAssistant、LLM、MCP、小智的进阶教程
确保Home Assistant中已安装HACS
1.打开HACS, 搜索 xiaozhi 或 ha-mcp-for-xiaozhi
2.下载插件
3.重启Home Assistant.
[设置 > 设备与服务 > 添加集成] > 搜索“Mcp” >找到MCP Server for Xiaozhi
下一步 > 请填写小智MCP接入点地址、选择需要的MCP > 提交。
注意llm_hass_api 复选框里 Assist 就是ha自带的function,其他选项是你在HomeAssistant里接入的其他mcp server(可以在这里直接代理给小智)
配置完成!!!稍等一分钟后到小智的接入点页面点击刷新,检查状态。
1.暴露的工具取决于你公开给Homeassistant语音助手的实体的种类
设置 -> 语音助手 -> 公开
2.尽量使用最新版本的homeassistant,单单看5月版本跟3月版本提供的工具就有明显差异
3.调试时未达到预期,优先看小智的聊天记录,看看小智对这句指令如何处理的,是否有调用homeassistant的工具。目前已知比较大的问题是灯光控制和音乐控制会和内置的屏幕控制、音乐控制逻辑冲突,需要等下个月虾哥服务器支持内置工具选择后可解。
4.如果流程正确的调用了ha内置的function,可以打开本插件的调试日志再去观测实际的执行情况。