Property McpProtocolVersion
McpProtocolVersion
Gets the MCP protocol version currently in use for communication with the server.
public string McpProtocolVersion { get; }
Property Value
- string
The protocol version string. After initialization, returns the version negotiated with the server. Before initialization, returns the client's target protocol version.
Remarks
The protocol version is exchanged during the initialization handshake. The server may indicate a specific version it supports, which is then used for all subsequent requests.