← Back to directory
X

Xiaozhi MCP Hub

Community
Gateway / proxy
An MCP tool bridge and management console for the Xiaozhi AI platform.

This gateway aggregates or proxies other MCP servers; it only becomes useful once you connect real servers behind it.

Category
Dev Tools #590 of 751
Stars
★ 204 Popular
Runtime
Docker · Node.js 24+
Credentials
API key / credential required
License
Apache-2.0
Last commit
43FMRS · D

The README describes an MCP management and bridge application for Xiaozhi AI, with multi-endpoint connection management, server and tool administration, an authenticated console, and optional smart routing. No server manifest was provided, so specific tools, standalone transport configuration, and client compatibility levels cannot be verified.

Strongest · Documentation 11/20 Weakest · Reliability 6/20

Reliability
6/20
Security and permissions
9/20
Maintenance
8/20
Documentation
11/20
Setup experience
9/20
Why each score
Reliability 6/20
The README describes multiple MCP connection modes, tool synchronization, and automatic reconnection, but provides no source, test, or CI evidence to verify initialization handshakes, tool behavior, or failure handling. The score is therefore conservative.
Security and permissions 9/20
The documentation mentions JWT, an administrator account, generated production passwords, and changing the initial password. It does not show permission boundaries, token handling, confirmation for dangerous operations, or data-flow details, so least privilege cannot be verified.
Maintenance 8/20
An Apache-2.0 license is stated, the repository is not archived, and open issues are listed. There is no evidence here about commit history, release cadence, issue response, or a security response channel, so maintenance continuity is uncertain.
Documentation 11/20
The README covers Docker, Compose, local development, environment variables, account defaults, and upgrade guidance, making it useful for deployment. It lacks MCP client configuration, tool parameters, troubleshooting, and cost or limitation details, and no source evidence is available for review.
Setup experience 9/20
A Docker image and Compose provide relatively direct startup paths, and local development requirements and steps are listed. There is no mainstream MCP client connection example, and server connectivity and usable tools require additional configuration, limiting ease of setup.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkConnects to a database

Best for

  • Teams that need to manage multiple MCP endpoints for Xiaozhi AI.
  • Administrators who want a web console for managing MCP servers and tools.

Not for

  • Users who need verified standalone MCP client configuration or documented compatibility with a particular client.
  • Simple local tool-call scenarios that do not need a management console, PostgreSQL, or Xiaozhi endpoint management.

Required permissions

  • Deployment requires a PostgreSQL database connection.
  • The management console uses JWT-based authentication; an admin account is required to create or modify STDIO-based MCP servers.
  • Enabling smart routing requires an OpenAI API key and related configuration.

Risks and side effects

  • If ADMIN_PASSWORD is unset during an initial production deployment, the generated admin password appears in startup logs; protect those logs and change the password promptly.
  • Smart routing requires external OpenAI API configuration; the README does not describe its data handling details.
  • The project supports managing MCP servers in STDIO, SSE, and HTTP modes, but the supplied material does not list specific tools or permission boundaries.

Setup

Before you start

Runtime:Docker · Node.js 24+

DB_URL requiredsecret PostgreSQL connection string; configure it in Docker Compose or the runtime environment.
DATABASE_URL optionalsecret Legacy database variable; it remains accepted for upgrades, while 1.1.x recommends DB_URL.
ADMIN_PASSWORD optionalsecret Sets the admin's initial password when initializing an empty user store; Docker Compose defaults to admin123.
JWT_SECRET optionalsecret JWT signing secret; explicit configuration is recommended in production.
OPENAI_API_KEY optionalsecret OpenAI API key required when smart routing is enabled.
Other optional settings (5)
BASE_PATH optional Sets the application's deployment sub-path, such as /mcphub.
SMART_ROUTING_ENABLED optional Enables or disables smart routing; defaults to false.
OPENAI_API_BASE_URL optional Optional OpenAI API service URL for smart routing configuration.
OPENAI_API_EMBEDDING_MODEL optional Embedding model name used by smart routing.
NODE_ENV optional Sets the runtime environment; in development, the admin password defaults to admin123 when ADMIN_PASSWORD is unset.

Deploy with the Docker image or Docker Compose, or develop locally with Node.js 24+, pnpm, and PostgreSQL 16+. Configure DB_URL for deployment; the legacy DATABASE_URL is still accepted as a fallback. Set ADMIN_PASSWORD for the initial account. If it is unset in production, a random admin password is generated and printed in the startup logs. Open the console after startup.

Check that it works

Open the console and sign in as admin to confirm the dashboard shows system status. In the client tool list, confirm that connected MCP tools are available.

Troubleshooting

  1. Check that DB_URL points to a reachable PostgreSQL database. During upgrades, check whether the legacy mcp_servers table is present and do not delete the PostgreSQL volume.
  2. If login fails, check the ADMIN_PASSWORD set on first launch or the random password in production startup logs; existing user credentials are not overwritten during upgrades.
  3. For endpoint connection or tool-list issues, check endpoint status, enablement, reconnection, and tool synchronization in the console.
  4. If smart routing is not working, confirm SMART_ROUTING_ENABLED is enabled and the OpenAI settings are valid; index building is skipped when no vectors exist.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show the MCP servers and tools in the management console.
  • Search the community market for an MCP server and install one.
  • Check the connection status of the Xiaozhi endpoints.

Use cases

Manage multiple Xiaozhi AI WebSocket endpoints and their connection status centrally.
Manage MCP servers, tools, prompts, and groups through the console.
Enable optional vector-based smart routing with OpenAI API credentials configured.
Access specific server tools through OpenAPI-compatible endpoints.

Overview

Xiaozhi MCP Hub is an MCP bridge system and management console optimized for the Xiaozhi AI platform. It supports managing multiple Xiaozhi WebSocket endpoints, automatic reconnection, tool synchronization, endpoint groups, and optional smart routing. It can also manage standard MCP servers and provides OpenAPI-compatible access. Smart routing is optional and requires OpenAI API credentials.

Similar servers

Source revision c197a14acc88 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/xiaozhi-mcphub.svg)](https://followmcp.com/en/servers/xiaozhi-mcphub)