mcp-endpoint
xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用
claude mcp add --transport stdio xinnan-tech-mcp-endpoint-server docker run -i image-name \ --env IMAGE_NAME="Docker image name for the MCP Endpoint Server"
How to use
The MCP Endpoint Server acts as a lightweight, high-performance MCP registration center built on WebSocket. It enables Xiaozhi devices and tooling to register MCP services, forward messages between tools and Xiaozhi endpoints, manage connections, and expose health and connection statistics. This server is designed to be run via Docker for ease of deployment and maintenance. Once running, clients can connect via WebSocket to register MCP services and participate in message routing between endpoints and controllers.
To use it, deploy the Docker image and ensure network access between the Xiaozhi server and the MCP endpoint. Use the provided registration interface to define MCP services, then start clients and tools that rely on MCP to discover and communicate with registered services. The server will handle connection management, message forwarding, and basic health checks so you can monitor the status of connected clients and services.
How to install
Prerequisites:
- Docker installed and running
- Basic familiarity with Docker commands
Step 1: Pull the MCP Endpoint Server image
docker pull image-name
Step 2: Run the MCP Endpoint Server
docker run -i image-name
Step 3: Verify the server is up
- Check container logs for startup messages
- Ensure network connectivity between Xiaozhi server and the MCP endpoint
Step 4: (Optional) Configure persistent storage or environment variables as needed in your deployment environment.
Additional notes
Tips:
- This server is designed as a Docker deployment for simplicity and scalability. If you need to customize configuration, look for a mounted config file or environment variables supported by the image.
- Monitor health and connection statistics via the provided endpoints in the container; implement retries in clients if connections drop.
- Ensure proper network access between Xiaozhi devices, tools, and the MCP Endpoint Server to avoid failed registrations or message routing issues.
Related MCP Servers
py-xiaozhi
A Python-based Xiaozhi AI for users who want the full Xiaozhi experience without owning specialized hardware.
xiaozhi-esp32 -java
小智ESP32的Java企业级管理平台,提供设备监控、音色定制、角色切换和对话记录管理的前后端及服务端一体化解决方案
ha -for-xiaozhi
Homeassistant MCP server for 小智AI
ReActMCP
ReActMCP is a reactive MCP client that empowers AI assistants to instantly respond with real-time, Markdown-formatted web search insights powered by the Exa API.
mcp_server_exe
小智 & Cursor 的 MCP 启动器 - MCP For Cursor&xiaozhi。打包成可执行文件。Turn MCP server into an executable file
IntelliConnect
本项目为xiaozhi-esp32提供后端服务 | A Powerful AI agent IoT platform core.