mcp_ha_xiaozhi
Provides an integration bridge between Xiaozhi (小智) and Home Assistant, enabling AI assistants to control and monitor Home Assistant entities and services.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp_ha_xiaozhiturn on the living room lights"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp_ha_xiaozhi
小智官方服务器(虾哥)对接home assistant的mcp server
原理
使用小智官方给的示例代码,结合mcp_proxy,实现小智官方服务器和home assistant的mcp server打通
参数
XIAOZHI_MCP_ENDPOINT:你的小智 MCP 接入点
HA_MCP_ENDPOINT:你的 HA MCP SERVER 地址
API_ACCESS_TOKEN:你的长效 API 令牌
MCP_TRANSPORT:auto、sse 或 streamablehttp,默认 auto
小智 MCP 接入点: 登录小智官方服务器即可获取。
HA MCP SERVER 地址: 可以使用旧版官方 SSE 地址,也可以使用新版 HA-MCP 的 Streamable HTTP 地址。
点击此链接:Home Assistant MCP Server 集成直达安装
或 在 Home Assistant 中,前往 设置 > 设备和服务 > 添加集成。
从列表中选择“模型上下文协议服务器”,并按照屏幕上的说明完成设置。
使用新版 HA-MCP 时,填写设置页面生成的
/private_xxx连接地址,并确保地址末尾没有空格。
长效 API 令牌: 用于授权访问你的 Home Assistant 实例。
访问你的 Home Assistant 账户配置文件设置,进入“安全”选项卡。
创建长期访问令牌。
docker运行
docker run -d --name mcp_ha_xiaozhi \
-e XIAOZHI_MCP_ENDPOINT="你的小智MCP接入点" \
-e HA_MCP_ENDPOINT="你的HA MCP SERVER地址" \
-e API_ACCESS_TOKEN="你的长时效API令牌" \
-e MCP_TRANSPORT=auto \
shawn68/mcp_ha_xiaozhihttps://hub.docker.com/r/shawn68/mcp_ha_xiaozhi/
新版 HA-MCP 配置示例
新版 HA-MCP 的连接地址通常是设置页面生成的私密地址,使用 Streamable HTTP:
docker run -d --name mcp_ha_xiaozhi \
-e XIAOZHI_MCP_ENDPOINT="你的小智 MCP 接入点" \
-e HA_MCP_ENDPOINT="http://192.168.1.8:9584/private_xxx" \
-e MCP_TRANSPORT=streamablehttp \
-e API_ACCESS_TOKEN="你的长期访问令牌" \
mcp_ha_xiaozhi:localHA_MCP_ENDPOINT 末尾不要有空格。使用 /private_xxx 私密地址时,完整地址本身就是凭据,请不要公开。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceWraps the SJTU Zhiyuan No.1 API as a local MCP server, allowing direct use of SJTU models in Claude Code and Codex without custom integration scripts.411MIT
- Flicense-qualityBmaintenanceA Node.js + TypeScript MCP server that proxies to DeepSeek's Chat, Image, and TTS APIs for conversation, image generation, and text-to-speech.
- FlicenseAqualityCmaintenanceA lightweight MCP server that lets AI assistants publish notes to Xiaohongshu (Little Red Book) via browser automation. Supports login, image-text note publishing with up to 9 images, and search.41
- AlicenseAqualityBmaintenanceA self-hosted MCP server for Home Assistant that exposes full control over entity states, service calls, history, templates, and areas via local stdio, enabling AI assistants to manage your smart home.994MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/soonnn1/mcp_ha_xiaozhi-custom'
If you have feedback or need assistance with the MCP directory API, please join our Discord server