返回全部动态

MCP Java SDK 发布 v2.2.0-M1:新增无状态服务器

原标题:v2.2.0-M1

MCP Java SDK Releases一手来源开源质量 76

AI 摘要

MCP Java SDK 发布 v2.2.0-M1 版本,新增面向 MCP 2026-07-28 规范的无状态服务器实现,位于 io.modelcontextprotocol.modern 包中,独立于旧版 McpSchema,并通过全部 37 项 2026-07-28 一致性测试场景。该服务器取消会话机制,支持同步或异步实现,工具、资源与提示词来自用户自定义仓库,便于多租户、过滤和分页,并可按需返回 JSON 或 SSE。目前尚不支持现代客户端、tasks 和 SEP-2243 自定义请求头,同时将 Reactor 升级至 2026.0.0-M2。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## Highlights - **Modern stateless server for MCP 2026-07-28**: #1170 by @chemicL The first step toward the stateless Streamable HTTP paradigm. It is a new server in `io.modelcontextprotocol.modern`, independent of the legacy `McpSchema`, and it passes all 37 required 2026-07-28 conformance scenarios. - **No sessions**: each request is handled on its own, which suits horizontally scaled deployments. - **One server, sync or async**: many concepts were simplified and allow the transpor


发布时间:2026-10-16 20:48
抓取时间:2026-10-16 21:10
来源机构:MCP
阅读原文github.com