Symptom
call_tool on the streamable HTTP client never returns after an invalid JSONRPCMessage. The report says the client stays in a wait for the tool result until a timeout. The linked issue does not give an exception class for that wait.
Evidence what you'll see
- The server has already finished the tool call and moved to
/done, so the client and server disagree. - The report points at
await read_stream_writer.send(exc)during exception handling. That send did not surface the bad message to the caller.
Why it happens
A bare exception from a bad response was not turned into a JSON-RPC error on the read stream, so call_tool kept waiting for a result that would not arrive.
Affected versions
MCP Python SDK 1.11.0, Python 3.12. The linked issue does not name an operating system.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
How to check it worked
call_toolreturns when the response is not a validJSONRPCMessage, instead of waiting until the timeout.
If it still fails
- The linked issue does not describe a hang that remains on v2.0.0. On 1.11.0 the wait is the behavior above.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it