SM

samanhappy/mcphub

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2631 stars 361 forks 质量 88 趋势 54Apache-2.0

一个统一的枢纽,用于集中管理和动态编排多个MCP服务器/API到独立的端点,并采用灵活的路由策略。

概览

MCPHub 通过将多个 MCP(模型上下文协议)服务器组织为灵活的可流式 HTTP(SSE)端点,支持访问所有服务器、单个服务器或逻辑服务器组,从而轻松管理和扩展。 - - 从统一仪表盘监控和控制所有MCP服务器 - - 通过HTTP/SSE访问所有服务器、特定组或单个服务器 - - 为组内每台服务器独立控制工具、提示和资源可见性 - - 利用矢量语义搜索进行AI驱动的工具发现(了解更多) - - 透明地将交互式MCP应用转发到单服务器路由(了解更多) - - 透明地减少大文本工具输出,避免停机 - - 支持客户端和服务器模式以实现安全认证(了解更多) - 无缝支持GitHub和Google登录,支持更好的认证(需要数据库模式) - - 在生产环境中将配置存储在PostgreSQL中(了解...

概述(AI 翻译)

一个开源、自托管的MCP网关和控制平面,用于连接、控制和操作MCP服务器。

英语 |法语 |中文版

MCPHub 提供 AI 客户端与 MCP 服务器之间的统一控制点。只需连接一次本地和远程 MCP 服务器,组织并通过稳定端点路由其能力,通过认证、范围状凭证和每个用户可视化控制访问,并通过集中日志、活动跟踪和健康监测来运营一切。

它可与 Claude Code、Cursor、Cherry Studio、OpenWebUI 及其他兼容 MCP 的应用程序等 MCP 客户端兼容。

🌐 网站、演示与文档

  • 网站:mcphub.app
  • 文档:docs.mcphub.app
  • 演示环境:demo.mcphub.app

🚀 特色

连接一次,暴露无处不在

  • 智能路由 ⭐ - 利用向量语义搜索进行AI驱动的工具发现(了解更多)
  • 统一MCP网关 - 通过稳定的MCP端点公开所有连接的服务器,包括组和单个服务器的路由
  • 服务器别名与路由 - 定义别名并将客户端路由到所有服务器、特定组、单个服务器或智能路由

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MCPHub

An open-source, self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers.

English | Français | 中文版

MCPHub provides a unified control point between AI clients and MCP servers. Connect local and remote MCP servers once, organize and route their capabilities through stable endpoints, control access with authentication, scoped credentials, and per-user visibility, and operate everything with centralized logs, activity tracking, and health monitoring.

It works with MCP clients such as Claude Code, Cursor, Cherry Studio, OpenWebUI, and other MCP-compatible applications.

🌐 Website, Demo & Docs

🚀 Features

Connect once, expose everywhere

  • Smart Routing ⭐ - AI-powered tool discovery using vector semantic search (Learn more)
  • Unified MCP Gateway - Expose all connected servers through stable MCP endpoints, including routes for groups and individual servers
  • Server Aliases and Routing - Define aliases and route clients to all servers, specific groups, individual servers, or smart routing
  • SSE / Streamable HTTP / stdio Support - Connect local and remote MCP servers over the supported transports
  • Hot-Swappable Config - Add, remove, or update servers without downtime

Control access and credentials

  • Per-user Credentials ⭐ - Bind personal keys to one shared server, with encrypted storage and isolated stdio runtimes (Learn more)
  • Authentication and Access Control - Use OAuth 2.0, bearer keys, and server or group visibility controls to manage access
  • OAuth 2.0 Support ⭐ - Both client and server modes for secure authentication (Learn more)
  • Social Login - Seamless GitHub and Google login support with Better Auth integration (requires Database Mode)
在 GitHub 查看完整 README

安装

npx -y time-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "time": { "command": "npx", "args": ["-y", "time-mcp"] }, "fetch": { "command": "uvx", "args": ["mcp-server-fetch"] } } }