Replies: 1 comment
-
|
The confusion is valid — "StreamableHTTP" is about the transport, not about tool call results being streamed. Here's the distinction: StreamableHTTP replaces SSE as the wire protocol between client and server. It uses standard HTTP requests where the server can upgrade to streaming (via What the SDK issues you linked (Python #472, Java #711, #629) are asking for is essentially: "can a tool yield chunks of output as it runs?" The answer today is: not in the spec. A tool can send Why it matters: If your tool generates large output (e.g., code generation, document conversion), you're buffering the entire result server-side before sending. The workaround most people use is to have the tool write to a resource and return a resource URI, then the client reads the resource separately. The naming is genuinely misleading — "Streamable" refers to the HTTP connection lifecycle being stream-capable, not the tool call semantics. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
Hello,
According to the MCP protocol specification, the deprecation of SSE and the recommendation of StreamableHTTP naturally lead me to believe that tool calls in MCP should support streaming responses.
However, in actual integration—regardless of the programming language SDK used—none appear to support streaming the results of tool calls. If that’s the case, why emphasize "streaming" at all? It would be clearer and more reasonable to explicitly define tool calls as simple request-response interactions based on JSON-RPC.
I’ve noticed many others share the same confusion, as reflected in these issues:
I’d really appreciate your help with the following:
Could you please clearly confirm whether streaming the results of tool calls is truly unsupported?
If streaming is supported, could you provide a Java example demonstrating how to handle streamed tool-call responses?
Many of us are eager to contribute to and adopt the MCP ecosystem, and your clarification on this matter would be extremely valuable. Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions