返回全部动态

MCP 转向无状态,开发者质疑其是否沦为普通 API

原标题:MCP Goes Stateless, and Developers Ask Whether That Just Makes It an API Again

InfoQ AI ML and Data Engineering研究质量 75

AI 摘要

MCP 2026-07-28 规范移除了协议会话,使 MCP 变为无状态,并新增两个必填 HTTP 头(Mcp-Method 和 Mcp-Name),允许网关无需解析请求体即可路由和限流。该变更简化了扩展和部署,但社区对 MCP 是否因此退化为普通 REST API 存在分歧。Anthropic 报告 MCP 月 SDK 下载量突破 4 亿,但实际服务器采用率仍存疑。

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

正文节选

The MCP 2026-07-28 specification drops protocol sessions. Coverage so far has framed that as a scaling win, and it is one. But the same release adds two required HTTP headers, and those headers let a gateway route, throttle and meter agent traffic without ever opening the request body. Earlier transports opened with an initialize and initialized exchange that established a session, tracked through an Mcp-Session-Id header. Every subsequent request had to locate the state tied to that session. Au


发布时间:2026-08-12 17:48
抓取时间:2026-08-12 18:02
来源机构:InfoQ
阅读原文infoq.com