Configuration for Server-Sent Events (SSE) transport connections to MCP.
SSEConnection()The URL of the SSE endpoint to connect to.
HTTP headers to send to the SSE endpoint.
HTTP timeout.
Default is 5 seconds. If the server takes longer to respond, you can increase this value.
SSE read timeout.
Default is 300 seconds (5 minutes). This is how long the client will wait for a new event before disconnecting.
Additional keyword arguments to pass to the ClientSession.
Custom factory for httpx.AsyncClient (optional).
Optional authentication for the HTTP client.