Whether a JSON-RPC response to an initialize request carries a successful
result rather than an error. Session Management (basic/transports §Session
Management) ties the Mcp-Session-Id header to "the HTTP response containing
the InitializeResult", so a freshly-minted session is committed (its header
set, the session kept) only when this is true; an error response (e.g. a
second initialize rejected with invalidRequest) rolls the minted session
back instead.
Whether a JSON-RPC response to an initialize request carries a successful result rather than an error. Session Management (basic/transports §Session Management) ties the Mcp-Session-Id header to "the HTTP response containing the InitializeResult", so a freshly-minted session is committed (its header set, the session kept) only when this is true; an error response (e.g. a second initialize rejected with invalidRequest) rolls the minted session back instead.