烂翻译系列之——MCP中的概念——版本管理

The Model Context Protocol uses string-based version identifiers following the format YYYY-MM-DD, to indicate the last date backwards incompatible changes were made.

MCP采用基于字符串的版本标识符(格式为YYYY-MM-DD),用于指示最近一次发生向后不兼容变更的日期。

The protocol version will not be incremented when the protocol is updated, as long as the changes maintain backwards compatibility. This allows for incremental improvements while preserving interoperability.
只要更新内容保持向后兼容,协议版本号就不会递增。这使得协议可以在不影响互操作性的前提下进行渐进式改进。

Revisions    修订版本状态

Revisions may be marked as:
修订版本可标记为以下几种状态:
  • Draft: in-progress specifications, not yet ready for consumption.    草案:正在制定中的规范,尚未准备好供正式使用。
  • Current: the current protocol version, which is ready for use and may continue to receive backwards compatible changes.    当前:当前的协议版本,已可用于生产环境,并可能持续接收向后兼容的更新。
  • Final: past, complete specifications that will not be changed.    最终:已发布的过往完整规范,不再进行任何更改。
The current protocol version is 2025-06-18.
当前协议版本为 2025-06-18

Negotiation    版本协商

Version negotiation happens during initialization. Clients and servers MAY support multiple protocol versions simultaneously, but they MUST agree on a single version to use for the session.
版本协商在初始化阶段进行。客户端和服务端可以同时支持多个协议版本,但必须协商确定在当前会话中使用的单一版本。
The protocol provides appropriate error handling if version negotiation fails, allowing clients to gracefully terminate connections when they cannot find a version compatible with the server.
如果版本协商失败,协议提供了相应的错误处理机制,允许客户端在无法找到与服务端兼容的版本时,优雅地终止连接。
posted @ 2025-09-18 10:37  菜鸟吊思  阅读(2)  评论(0)    收藏  举报