📦
Xiaozhi MCP Template
No description available
0 installs
Trust: 30 — Low
Devtools
Ask AI about Xiaozhi MCP Template
Powered by Claude · Grounded in docs
I know everything about Xiaozhi MCP Template. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Xiaozhi MCP Template
A template for creating MCP servers compatible with Xiaozhi, using fastmcp and a WebSocket pipe.
Quick Start
-
Install dependencies:
uv sync -
Set up environment variables:
export MCP_ENDPOINT=<your_mcp_endpoint> -
Run the server:
uv run mcp_pipe.py server.py
Project Structure
mcp_pipe.py: Handles WebSocket communication with the Xiaozhi client.server.py: The MCP server implementation. Add your tools here.pyproject.toml: Project configuration and dependencies.
Customization
- Modify
server.pyto add your own tools using the@mcp.tool()decorator. - Update
pyproject.tomlto change the project name and add any new dependencies.
