github samanhappy/mcphub v1.0.40

5 hours ago

Summary

This release makes Smart Routing observable and the server more resilient under load. The maintenance endpoints the docs already advertised — performance diagnostics and a forced reindex — are now actually exposed, with a dashboard panel to drive them. Reliability work hardens database reconnection against pool wedges with bounded teardown, health-check and connection timeouts, preserves safe upstream failure diagnostics instead of blaming credentials, and makes explicit servers win over prefix matches in personal-credential routing. Authentication is more robust: OIDC sign-in no longer fails for providers that omit the name claim, and OAuth clients keep their token endpoint auth method. Smart Routing search now honors per-tool description overrides in its embedded text, and the docs dropped a JWT_EXPIRES_IN setting the server never reads.

Features

  • Add Smart Routing performance diagnostics and forced-reindex API endpoints with a dashboard panel by @myml in #1199

Fixes

  • Harden database reconnection and the hot path against pool wedges with bounded teardown, health-check and connection timeouts by @samanhappy in #1206
  • Preserve safe upstream failure diagnostics instead of blaming credentials for transport and tool errors by @samanhappy in #1204
  • Prioritize explicit servers over prefix matches in personal credential routing by @samanhappy in #1203
  • Apply tool description overrides to Smart Routing embeddings so search reflects edited descriptions by @samanhappy in #1200
  • Preserve the OAuth token endpoint auth method to avoid unnecessary reauthorization by @tonyxiao in #1201
  • Synthesize a display name for OIDC providers that omit the name claim by @myml in #1196
  • Apply post-merge review follow-ups for the copy-presets and duplicate features, including OAuth field persistence by @SAXEM1997 in #1193
  • Remove the JWT_EXPIRES_IN documentation, which the server never reads by @FBISiri in #1208
  • Bump adm-zip from 0.6.0 to 0.6.1 by @app/dependabot in #1195

摘要

这个版本让智能路由(Smart Routing)更可观测,也让服务在高并发下更稳定。文档早已宣传的性能诊断与强制重建索引接口现在真正开放,并配有仪表盘面板。可靠性方面,数据库重连针对连接池卡死做了加固(为销毁、健康检查与连接设置超时上限),安全的上游失败诊断信息得以保留而不再被误判为凭据问题,个人凭据路由也会优先选择显式指定的服务器。认证同样更健壮:OIDC 登录不再因提供商缺少 name 声明而失败,OAuth 客户端会保留令牌端点认证方式。智能路由搜索的嵌入文本现在会应用工具描述覆盖,文档也删除了服务器从未读取的 JWT_EXPIRES_IN 配置。

功能

  • 新增智能路由性能诊断与强制重建索引 API,并提供仪表盘面板 by @myml in #1199

修复

  • 加固数据库重连与热路径,防止连接池卡死:为销毁、健康检查与连接设置超时上限 by @samanhappy in #1206
  • 保留安全的上游失败诊断信息,不再把传输层与工具调用错误误判为凭据问题 by @samanhappy in #1204
  • 个人凭据路由优先匹配显式指定的服务器,再按最长前缀匹配 by @samanhappy in #1203
  • 智能路由嵌入文本现在应用工具描述覆盖,搜索结果反映编辑后的描述 by @samanhappy in #1200
  • 保留 OAuth 令牌端点认证方式,避免无谓的重新授权 by @tonyxiao in #1201
  • 为缺少 name 声明的 OIDC 提供商合成显示名,修复登录失败 by @myml in #1196
  • 落实复制预设与复制服务功能的合入后评审整改,并修复 OAuth 字段持久化 by @SAXEM1997 in #1193
  • 删除服务器从未读取的 JWT_EXPIRES_IN 文档 by @FBISiri in #1208
  • 升级 adm-zip 依赖至 0.6.1 by @app/dependabot in #1195

New Contributors

References

  • docs: remove JWT_EXPIRES_IN, which the server never reads by @FBISiri in #1208
  • fix(db): harden reconnection and hot path against pool wedge (#1205) by @samanhappy in #1206
  • fix: preserve safe upstream failure diagnostics by @samanhappy in #1204
  • fix: prioritize explicit servers in personal credential routing by @samanhappy in #1203
  • fix(oauth): preserve token endpoint auth method by @tonyxiao in #1201
  • fix(mcp): apply tool description overrides to Smart Routing embeddings by @samanhappy in #1200
  • feat(smart-routing): add performance & reindex API endpoints with dashboard panel by @myml in #1199
  • fix(auth): synthesize display name for OIDC providers missing a name claim by @myml in #1196
  • chore(deps): bump adm-zip from 0.6.0 to 0.6.1 by @app/dependabot in #1195
  • fix: post-merge review follow-ups for #1190 and #1191 (presets, duplicate, edit, OAuth persistence) by @SAXEM1997 in #1193
  • Full changelog: v1.0.39...v1.0.40

Don't miss a new mcphub release

NewReleases is sending notifications on new releases.