Perform the MCP session handshake (initialize + notifications/initialized).
No-op when the context already has a session id or when no auth token is configured (anonymous gateway). On success, ctx.sessionId is mutated with the returned Mcp-Session-Id header value (when present).
Perform the MCP session handshake (initialize + notifications/initialized).
No-op when the context already has a session id or when no auth token is configured (anonymous gateway). On success,
ctx.sessionIdis mutated with the returnedMcp-Session-Idheader value (when present).