摘要
MCPHub v1.2.1 改进上游连接稳定性和 OpenAPI 参数兼容性,新增精确限定范围的 Fake-IP 例外,并允许管理员显式启用 Authorization 透传。同时优化重新安装或重新加载后的包版本刷新,并更新依赖。
功能
- 新增由管理员管理的 Fake-IP 例外,按上游服务器和精确主机名限定 SSE 与 Streamable HTTP 连接。 by @samanhappy in https://github.com/samanhappy/mcphub/pull/1446
- 在 Docker 部署指南中补充一键部署选项。 by @cosark in https://github.com/samanhappy/mcphub/pull/1454
修复
- 通过管理员显式启用恢复上游 Authorization 透传,默认关闭;需配置独立的 MCPHub 认证请求头及可信上游,托管模式仍不支持。 by @samanhappy in https://github.com/samanhappy/mcphub/pull/1453
- 重新安装或重新加载后及时刷新包版本和更新提示。 by @samanhappy in https://github.com/samanhappy/mcphub/pull/1451
- 修改工具、提示词或资源配置时保留上游连接,避免服务器连接过程中重复创建 stdio 进程。 by @11113127 in https://github.com/samanhappy/mcphub/pull/1449
- 修复 OpenAPI 对可空类型及联合类型工具参数的处理,并正确转换数组参数的单值输入;受影响的生成操作改用 POST 和 JSON 请求体。 by @OsamaAnsar in https://github.com/samanhappy/mcphub/pull/1447
- 更新运行时与开发依赖,包括 OpenAI、Hugging Face tokenizers、uuid、tailwind-merge、i18next-browser-languagedetector 和 concurrently。