diff --git a/src/mcp/client/sse.py b/src/mcp/client/sse.py index 4f6241a7..f4092853 100644 --- a/src/mcp/client/sse.py +++ b/src/mcp/client/sse.py @@ -120,6 +120,10 @@ async def post_writer(endpoint_url: str): mode="json", exclude_none=True, ), + timeout=httpx.Timeout( + timeout, + read=sse_read_timeout, + ), ) response.raise_for_status() logger.debug(