Add 2025-06-18 as supported version (#529)

This commit is contained in:
Stephen Toub 2025-06-20 12:03:28 -04:00 • committed by GitHub
commit 0e6184a4aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -39,7 +39,7 @@ public sealed class SseClientTransportOptions
/// Streamable HTTP transport and automatically fall back to SSE transport if the server doesn't support it.
/// </para>
/// <para>
/// <see href="https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http">Streamable HTTP transport specification</see>.
/// <see href="https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http">Streamable HTTP transport specification</see>.
/// <see href="https://modelcontextprotocol.io/specification/2024-11-05/basic/transports#http-with-sse">HTTP with SSE transport specification</see>.
/// </para>
/// </remarks>

View file

@ -29,12 +29,13 @@ internal sealed partial class McpSession : IDisposable
"mcp.server.operation.duration", "Measures the duration of inbound message processing.", longBuckets: false);
/// <summary>The latest version of the protocol supported by this implementation.</summary>
internal const string LatestProtocolVersion = "2025-03-26";
internal const string LatestProtocolVersion = "2025-06-18";
/// <summary>All protocol versions supported by this implementation.</summary>
internal static readonly string[] SupportedProtocolVersions =
[
"2024-11-05",
"2025-03-26",
LatestProtocolVersion,
];