mcp_ha_xiaozhi
Proxies Xiaozhi MCP server to Home Assistant MCP server, enabling control of Home Assistant devices through Xiaozhi.
README
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_xiaozhi
https://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:local
HA_MCP_ENDPOINT 末尾不要有空格。使用 /private_xxx 私密地址时,完整地址本身就是凭据,请不要公开。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.