摘要
MCPHub v1.0.43 为 MCP 2026-07-28 请求新增双栈 HTTP 路径,同时保留旧版 Streamable HTTP 行为。智能路由新增搜索结果评分、可配置的匹配阈值和完整工具定义数量限制,以及分组工具固定展示。本版本还改进了凭据服务器索引、OAuth scope 处理、配置变量展开,并确保服务器重命名后保留工具和提示词设置。
功能
- 为 MCP 2026-07-28 请求新增无状态 HTTP 路径,与旧版 Streamable HTTP 并存;对依赖会话状态的上游服务支持仍有限。by @samanhappy in https://github.com/samanhappy/mcphub/pull/1235
- 为
search_tools结果显示评分,支持配置相似度阈值,明确提示无匹配结果,并限制仅前 N 个结果返回完整工具定义。by @SelfRef in https://github.com/samanhappy/mcphub/pull/1234 - 在分组的
$smart端点中,将选定工具与元工具一同固定展示。by @SelfRef in https://github.com/samanhappy/mcphub/pull/1238
修复
- 每次用户连接时索引凭据服务器,排除禁用工具,并同步重建索引与连接操作。by @SelfRef in https://github.com/samanhappy/mcphub/pull/1237
- 服务器重命名后保留带前缀的工具和提示词开关及描述覆盖。by @SelfRef in https://github.com/samanhappy/mcphub/pull/1240
- 单次展开环境变量,避免替换值中包含
$的密钥被再次展开而损坏。by @Bdysj in https://github.com/samanhappy/mcphub/pull/1243 - 区分显式为空与未设置的 OAuth scope。by @pat3csh0 in https://github.com/samanhappy/mcphub/pull/1228
- 从请求上下文解析 MCP 分组。by @samanhappy in https://github.com/samanhappy/mcphub/pull/1236
- 修正环境变量加载顺序和
USE_DAO_LAYER的配置文档,使其与实际实现一致。by @Bdysj in https://github.com/samanhappy/mcphub/pull/1244 - 将 multer 从 2.3.0 升级至 2.4.0。by @app/dependabot in https://github.com/samanhappy/mcphub/pull/1232
- 将 undici 从 7.29.0 升级至 7.29.1。by @app/dependabot in https://github.com/samanhappy/mcphub/pull/1233