MCP 服务 2026-08-27 10:05 UTC
hub-mcp
由提交人 julian-perge 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(search): accept dhi type and hardened badge (#87)。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix(search): accept dhi type and hardened badge (#87) Docker Hub search v4 now boosts a Docker Hardened Image to the top of the results for any query that has one, returning type "dhi" and badge "hardened". Neither value was in the search tool's output schema, so the MCP SDK rejected the whole response and the tool errored out for common queries such as curl, nginx, node and python. Passing type "image" does not avoid it, since the API returns the boosted DHI entry regardless of that filter. Add both values to the output schema, and add "hardened" to the badges input filter so the tool can request only Docker Hardened Images. The Hub API already supports badges=hardened. Regenerate tools.json accordingly. Signed-off-by: Julian Perge <3217992+julian-perge@users.noreply.github.com> Co-authored-by: Luca Druda <lucadruda@gmail.com>