Use transportOptions.requestInit.headers instead.
This field will be ignored if transportOptions is provided even if no headers are specified in transportOptions.
Optionalheaders
headers?:Record<string,unknown>
HTTP headers to send with the SSE and POST requests when
transportOptions.requestInit is not provided.
Defines the parameters for establishing a connection to an MCP server over the HTTP+SSE transport.
Usage: const connectionParams: SseConnectionParams = { type: 'SseConnectionParams', url: 'http://localhost:8090/sse' };