Class UnsupportedProtocolVersionErrorData
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents the payload for the UnsupportedProtocolVersion JSON-RPC error.
public sealed class UnsupportedProtocolVersionErrorData
- Inheritance
-
UnsupportedProtocolVersionErrorData
- Inherited Members
Remarks
Introduced by the 2026-07-28 protocol revision (SEP-2575). When a server receives a request whose declared protocol version it does not implement, it MUST return this error so clients can fall back to a mutually supported version.
Properties
Requested
Gets or sets the protocol version requested by the client.
[JsonPropertyName("requested")]
public required string Requested { get; set; }
Property Value
Supported
Gets or sets the protocol version strings that the server supports.
[JsonPropertyName("supported")]
public required IList<string> Supported { get; set; }