MCP Catalogs
首页

mcp-server-hub-server

by bsmi021·3·综合分 30

一个集中管理多个 MCP 服务器的网关,让客户端通过单一端点访问所有工具。

developer-toolsproductivityai-llm
2
Forks
0
活跃 Issue
14 个月前
最近提交
2 天前
收录于

概述

MCP 服务器中心提供了一个集中式网关来管理多个 MCP 服务器,消除了为每个 LLM 客户端配置和运行重复服务器进程的需要。它支持动态配置重载,允许在不停主网关的情况下更新管理的服务器和中心工具。系统由网关服务器(管理 MCP 服务器生命周期并加载中心原生工具)和网关客户端(将 LLM 客户端连接代理到网关)组成。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:为 Cline 和 Cursor 等不同的 LLM 客户端管理多个 MCP 服务器而无需重复配置
:为使用各种 AI 开发环境的团队集中工具访问
:动态更新 MCP 服务器配置而无需重启客户端应用程序
:如何向中心添加新的 MCP 服务器?
:我可以在不重启网关服务器的情况下更新配置吗?

什么时候选它

当您在多个 LLM 客户端中使用多个 MCP 服务器,并希望避免在每个客户端中配置每个服务器时,应选择此方案。

什么时候不要选它

如果您只使用单个 MCP 服务器或更喜欢客户端和服务器之间的直接连接而不需要额外的抽象层,则不要选择此方案。

此 server 暴露的工具

从 README 抽取出 1 个工具
  • hub__example

    An example tool provided by the hub itself.

说明:Only one tool is explicitly documented in the configuration schema. The actual tool names and functionality for hub-native tools depend on user implementation in src/tools/. The server primarily acts as a gateway for other MCP servers, whos

可对比工具

mcp-containermcp-routernative-client-mcp-integration

安装

安装步骤

  1. 克隆仓库
  2. 安装依赖:npm install
  3. 构建项目:npm run build
  4. 在项目根目录配置 mcp_hub_config.json
  5. 启动网关服务器:npm start

客户端配置

将此条目添加到您的 LLM 客户端的 MCP 设置中:

{
  "mcpServers": {
    "gateway-client": {
      "command": "node",
      "args": [
        "/path/to/mcp-server-hub-server/dist/client/client.js"
      ],
      "options": {
        "cwd": "/path/to/mcp-server-hub-server"
      }
    }
  }
}

FAQ

如何向中心添加新的 MCP 服务器?
在 mcp_hub_config.json 的 'mcpServers' 部分添加服务器配置,指定命令、参数和其他设置。网关将自动启动并管理它。
我可以在不重启网关服务器的情况下更新配置吗?
可以。中心支持动态配置重载。在服务器运行时对 dist/mcp_hub_config.json 的更改将被自动检测并应用。

mcp-server-hub-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。