From 23cb19268aff76b447d1c44b4d47427692cd8548 Mon Sep 17 00:00:00 2001 From: Mattt Date: Tue, 6 May 2025 09:30:21 -0700 Subject: [PATCH] Set latest version to 2025-03-26 (#80) * Set latest version to 2025-03-26 * Specify support for 2025-03-26 (latest) version --- README.md | 7 +++++-- Sources/MCP/Base/Versioning.swift | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e946368..2596a95 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ Official Swift SDK for the [Model Context Protocol][mcp] (MCP). The Model Context Protocol (MCP) defines a standardized way for applications to communicate with AI and ML models. -This Swift SDK provides a robust implementation of both client and server components. +This Swift SDK implements both client and server components +according to the [2025-03-26][mcp-spec-2025-03-26] (latest) version +of the MCP specification. ## Requirements @@ -753,4 +755,5 @@ see the [GitHub Releases page](https://github.com/modelcontextprotocol/swift-sdk This project is licensed under the MIT License. -[mcp]: https://modelcontextprotocol.io \ No newline at end of file +[mcp]: https://modelcontextprotocol.io +[mcp-spec-2025-03-26]: https://modelcontextprotocol.io/specification/2025-03-26 \ No newline at end of file diff --git a/Sources/MCP/Base/Versioning.swift b/Sources/MCP/Base/Versioning.swift index 45c8de0..44142fe 100644 --- a/Sources/MCP/Base/Versioning.swift +++ b/Sources/MCP/Base/Versioning.swift @@ -4,8 +4,8 @@ import Foundation /// following the format YYYY-MM-DD, to indicate /// the last date backwards incompatible changes were made. /// -/// - SeeAlso: https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/versioning/ +/// - SeeAlso: https://spec.modelcontextprotocol.io/specification/2025-03-26/ public enum Version { /// The current protocol version. - public static let latest = "2024-11-05" + public static let latest = "2025-03-26" }