MCP Endpoint

v1.0.0Developer Toolsstable

xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用

mcpxiaozhixiaozhi-aixiaozhi-esp32xiaozhi-esp32-server
Share:
144
Stars
0
Downloads
0
Weekly
0/5

What is MCP Endpoint?

MCP Endpoint is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用

xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用

Use Cases

xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用
xinnan-tech

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 17, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-endpoint

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Endpoint

MCP Endpoint Server is a FastAPI and WebSocket-based MCP relay server designed to extend xiaozhi ESP32 smart devices with custom tool capabilities. It acts as a broker between the xiaozhi-esp32-server and one or more upstream MCP servers, aggregating their tool lists into a unified registry and intelligently routing tool calls to the correct backend by tool name. This allows a single xiaozhi voice assistant device to call tools registered across multiple specialised MCP servers — such as calculators, IoT controls, or home automation — through a single connection point without modifying the xiaozhi firmware.

Prerequisites

  • Python 3.10 (exactly — the conda environment specifies 3.10)
  • conda package manager for environment isolation
  • A running xiaozhi-esp32-server instance to connect to
  • One or more upstream MCP servers providing the tools you want to expose to your device
  • Git to clone the repository
1

Clone the repository

Clone the mcp-endpoint-server repository to your machine.

git clone https://github.com/xinnan-tech/mcp-endpoint-server.git
cd mcp-endpoint-server
2

Create the Python 3.10 conda environment

Create and activate a dedicated conda environment with the required Python version.

conda create -n mcp-endpoint-server python=3.10 -y
conda activate mcp-endpoint-server
3

Install Python dependencies

Install all required packages from the requirements file.

pip install -r requirements.txt
4

Start the endpoint server

Launch the MCP endpoint server. It will listen for WebSocket connections from xiaozhi clients and forward tool requests to registered upstream MCP servers.

python main.py
5

Register upstream MCP servers

Connect your upstream MCP servers to the endpoint by configuring them in the data/ configuration directory. The server aggregates their tool lists and routes requests automatically.

6

Connect your xiaozhi device

Point your xiaozhi-esp32-server configuration at the MCP endpoint server's WebSocket address. The device will receive a unified list of all tools from all registered MCP servers.

MCP Endpoint Examples

Client configuration

Example MCP JSON-RPC tool call against the endpoint server — the initialize handshake and a tool invocation for the built-in calculator tool.

{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {"sampling": {}, "roots": {"listChanged": false}},
    "clientInfo": {"name": "xz-mcp-broker", "version": "0.0.1"}
  }
}

Prompts to try

Example voice or text commands a xiaozhi device user might issue once the endpoint server bridges their tools.

- "Calculate 130000 times 130000"
- "List all available tools registered on the endpoint"
- "What tools can I use right now?"
- "Run the calculator with the expression 2 to the power of 16"
- "Check the health status of the endpoint server"

Troubleshooting MCP Endpoint

conda activate fails or environment creation errors out

Ensure conda is initialised for your shell: run conda init zsh (or bash), restart your terminal, and try again. If you see 'conda command not found', add conda to your PATH or use the full path to the conda binary.

python main.py fails with module import errors

Confirm the mcp-endpoint-server conda environment is active (conda activate mcp-endpoint-server) before running. If dependencies are still missing, run pip install -r requirements.txt again from within the activated environment.

xiaozhi device cannot connect to the endpoint server

Check that the server's WebSocket port is not blocked by a firewall. Verify the IP address and port in your xiaozhi-esp32-server configuration match where main.py is listening. Check the logs/ directory for connection error details.

Frequently Asked Questions about MCP Endpoint

What is MCP Endpoint?

MCP Endpoint is a Model Context Protocol (MCP) server that xiaozhi mcp接入点服务器,用于自定义mcp服务注册,方便拓展小智服务端工具调用 It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Endpoint?

Follow the installation instructions on the MCP Endpoint GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Endpoint?

MCP Endpoint works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Endpoint free to use?

Yes, MCP Endpoint is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-endpoint": { "command": "npx", "args": ["-y", "mcp-endpoint"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Endpoint?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides