MCP规范——2025年6月18日版本变更
MCP Specification – version 2025-06-18 changes

原始链接: https://modelcontextprotocol.io/specification/2025-06-18/changelog

模型上下文协议 (MCP) 规范已更新,包含多个重要变更。JSON-RPC 的批量处理方式不再支持,但增加了结构化工具输出和引导(请求额外用户信息)功能。安全性得到增强,MCP 服务器被分类为 OAuth 资源服务器,要求客户端实现资源指示符 (RFC 8707),并提供了更清晰的安全指南。工具调用结果现在支持资源链接,HTTP 请求中必须在 `MCP-Protocol-Version` 头部指定协商的协议版本。次要更改包括更新各个接口中的 `_meta` 字段,在 `CompletionRequest` 中添加 `context` 字段,以及引入 `title` 字段用于显示更友好的名称。完整的变更日志可在 GitHub 上查看。

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 MCP 规范 – 2025-06-18 (modelcontextprotocol.io) 9 分 owebmaster 1小时前 | 隐藏 | 往期 | 收藏 | 2 评论 TOMDM 2分钟前 | 下一条 [–] 如果我们关注的是特定版本,也许“关键变更”页面会是一个更好的链接?https://modelcontextprotocol.io/specification/2025-06-18/cha... 回复 dend 7分钟前 | 上一条 [–] 我很高兴我们现在有了一个简单的途径来授权 MCP 服务器。向 MCP 社区和 Anthropic 的各位致以巨大的感谢,感谢他们协调了这里的全部更改。 回复 考虑申请 YC 2025 秋季批次!申请截止日期为 8 月 4 日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:
相关文章

原文

This document lists changes made to the Model Context Protocol (MCP) specification since the previous revision, 2025-03-26.

Major changes

  1. Remove support for JSON-RPC batching (PR #416)
  2. Add support for structured tool output (PR #371)
  3. Classify MCP servers as OAuth Resource Servers, adding protected resource metadata to discover the corresponding Authorization server. (PR #338)
  4. Require MCP clients to implement Resource Indicators as described in RFC 8707 to prevent malicious servers from obtaining access tokens. (PR #734)
  5. Clarify security considerations and best practices in the authorization spec and in a new security best practices page.
  6. Add support for elicitation, enabling servers to request additional information from users during interactions. (PR #382)
  7. Add support for resource links in tool call results. (PR #603)
  8. Require negotiated protocol version to be specified via MCP-Protocol-Version header in subsequent requests when using HTTP (PR #548).
  9. Change SHOULD to MUST in Lifecycle Operation

Other schema changes

  1. Add _meta field to additional interface types (PR #710), and specify proper usage.
  2. Add context field to CompletionRequest, providing for completion requests to include previously-resolved variables (PR #598).
  3. Add title field for human-friendly display names, so that name can be used as a programmatic identifier (PR #663)

Full changelog

For a complete list of all changes that have been made since the last protocol revision, see GitHub.

联系我们 contact @ memedata.com