MCP.so
登录

MCP Hub

@yourtion

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

yourtion

关于 MCP Hub

A centralized hub server engineered to consolidate multiple MCP servers into dedicated Streamable HTTP or SSE endpoints, each tailored to specific use scenarios.

#mcp-hub#server-consolidation#streamable-endpoints

MCP Hub 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-hub-yourtion": {
      "command": "node",
      "args": [
        "dist/cli.js"
      ]
    }
  }
}

MCP Hub 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Hub?

A centralized hub server that consolidates multiple MCP servers into dedicated Streamable HTTP or SSE endpoints, each tailored to specific use scenarios. It is designed for developers who need to manage and route multiple MCP servers through a single entry point.

How to use MCP Hub?

Install dependencies with pnpm, run pnpm build, then start the API server with pnpm dev:api or the CLI server with mcp-hub --init. Configure MCP servers in backend/config/mcp_service.json and groups in backend/config/group.json. Access tools via group-specific endpoints like /:group/mcp.

Key features of MCP Hub

  • Multi-server MCP integration with centralized management.
  • Group-based routing with dedicated endpoints.
  • Standalone CLI MCP server for tool aggregation.
  • Support for both Streamable HTTP and SSE endpoints.
  • Tool filtering and validation keys per group.
  • Modular monorepo architecture with core, API, CLI packages.

Use cases of MCP Hub

  • Consolidate multiple MCP servers into a single hub.
  • Expose different groups of tools for different use scenarios.
  • Use CLI server to aggregate tools for MCP clients like Claude Desktop.
  • Manage MCP servers via web interface with authentication and monitoring.

常见问题

1

What are the prerequisites for running MCP Hub?

Node.js 18+ and the pnpm package manager are required.

2

How do I configure MCP servers?

Create a `mcp_service.json` file in `backend/config/` with server command, args, and environment variables.

3

How do I access tools via groups?

Use endpoints in the format `/:group/mcp`, for example `curl http://localhost:8181/development/mcp/list_tools`.

4

Does the web interface have authentication?

Yes, it uses JWT-based authentication. Default credentials are username `admin` and password `admin` (must be changed in production).

5

Can I use the CLI as a standalone MCP server?

Yes. Install globally with `npm install -g @mcp-core/mcp-hub-cli` or run directly, then configure it in your MCP client using the CLI binary and a config file.

评论

其他 分类下的更多 MCP 服务器