Set Mcp-Protocol-Version in client requests after init, and warn when it doesn't match negotiated version (it SHOULD match)
This commit is contained in:
parent
1878143f1a
commit
84971c83ea
1 changed files with 243 additions and 19 deletions
|
|
@ -75,4 +75,11 @@ export interface Transport {
|
|||
* The session ID generated for this connection.
|
||||
*/
|
||||
sessionId?: string;
|
||||
|
||||
/**
|
||||
* The protocol version used for the connection.
|
||||
*
|
||||
* Only set after the initialize response was received.
|
||||
*/
|
||||
protocolVersion?: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue