github samanhappy/mcphub v1.0.43

3 hours ago

Summary

MCPHub v1.0.43 adds a dual-stack HTTP path for MCP 2026-07-28 requests while preserving legacy Streamable HTTP behavior. Smart routing gains scored search results, configurable matching and schema limits, and pinned group tools. This release also improves credential-server indexing, OAuth scope handling, configuration expansion, and preservation of tool and prompt settings after server renames.

Features

  • Add a stateless HTTP path for MCP 2026-07-28 requests alongside legacy Streamable HTTP. Stateful upstream compatibility remains limited.
  • Show scores for search_tools results, configure the similarity threshold, clarify empty matches, and limit full schemas to the top N results.
  • Pin selected group tools alongside meta-tools on the group's $smart endpoint.

Fixes

  • Index credential servers on each per-user connection, exclude disabled tools, and synchronize reindexing with connections.
  • Preserve prefixed tool and prompt toggles and description overrides when renaming a server.
  • Expand environment variables in one pass so substituted secrets containing $ remain intact.
  • Distinguish explicitly empty OAuth scopes from unset scopes.
  • Resolve MCP groups from request context.
  • Correct configuration documentation for environment loading and USE_DAO_LAYER.
  • Update multer from 2.3.0 to 2.4.0 and undici from 7.29.0 to 7.29.1.

摘要

MCPHub v1.0.43 为 MCP 2026-07-28 请求新增双栈 HTTP 路径,同时保留旧版 Streamable HTTP 行为。智能路由新增搜索结果评分、可配置的匹配阈值和完整工具定义数量限制,以及分组工具固定展示。本版本还改进了凭据服务器索引、OAuth scope 处理、配置变量展开,并确保服务器重命名后保留工具和提示词设置。

功能

  • 为 MCP 2026-07-28 请求新增无状态 HTTP 路径,与旧版 Streamable HTTP 并存;对依赖会话状态的上游服务支持仍有限。by @samanhappy in #1235
  • 为 search_tools 结果显示评分,支持配置相似度阈值,明确提示无匹配结果,并限制仅前 N 个结果返回完整工具定义。by @SelfRef in #1234
  • 在分组的 $smart 端点中,将选定工具与元工具一同固定展示。by @SelfRef in #1238

修复

  • 每次用户连接时索引凭据服务器,排除禁用工具,并同步重建索引与连接操作。by @SelfRef in #1237
  • 服务器重命名后保留带前缀的工具和提示词开关及描述覆盖。by @SelfRef in #1240
  • 单次展开环境变量,避免替换值中包含 $ 的密钥被再次展开而损坏。by @Bdysj in #1243
  • 区分显式为空与未设置的 OAuth scope。by @pat3csh0 in #1228
  • 从请求上下文解析 MCP 分组。by @samanhappy in #1236
  • 修正环境变量加载顺序和 USE_DAO_LAYER 的配置文档,使其与实际实现一致。by @Bdysj in #1244
  • 将 multer 从 2.3.0 升级至 2.4.0。by @app/dependabot in #1232
  • 将 undici 从 7.29.0 升级至 7.29.1。by @app/dependabot in #1233

New Contributors

References

  • docs(config): align env loading order and USE_DAO_LAYER with the code by @Bdysj in #1244
  • fix(config): expand environment variables in a single pass by @Bdysj in #1243
  • fix(servers): move prefixed tool and prompt toggles to the new name when a server is renamed by @SelfRef in #1240
  • feat(smart-routing): pin chosen tools of a group next to the meta-tools on its $smart endpoint by @SelfRef in #1238
  • fix(smart-routing): index credential servers on every per-user connect, mask their disabled tools and keep reindex and connect on the same sync by @SelfRef in #1237
  • refactor: resolve MCP groups from request context by @samanhappy in #1236
  • feat(mcp): add 2026-07-28 dual-stack HTTP path by @samanhappy in #1235
  • feat(smart-routing): report a score per search_tools hit, make the similarity threshold configurable, say clearly when nothing matched and cap full schemas to the top N hits by @SelfRef in #1234
  • chore(deps): bump undici from 7.29.0 to 7.29.1 by @app/dependabot in #1233
  • chore(deps): bump multer from 2.3.0 to 2.4.0 by @app/dependabot in #1232
  • fix(oauth): distinguish explicitly-empty scopes from unset ones by @pat3csh0 in #1228
  • Full changelog: v1.0.42...v1.0.43

Don't miss a new mcphub release

NewReleases is sending notifications on new releases.