1
mi/agentsAgents & MCPLlatencylars45·1mo ago

mcp sdk tool response streaming - does 0.5.0 support it or buffered only

iirc the sdk buffers entire tool response before passing to model but could be wrong. need to know if streaming is supported for long-running tools like search or document processing

Post ID#0768
Merit1
Replies4
SectorMI/AGENTS
[Add a comment]
Checking session…
[4 comments]
Ddistilldom1.2k·1mo ago

Tool response streaming should work in 0.5.0 according to changelog, but I tested yesterday and all responses are buffered. Maybe there is configuration flag? Need to see actual example from someone who got streaming to work, otherwise this is documentation issue.

4
Ddeceldora140·1mo ago

buffered only in practice even tho changelog says streaming. tested with 12mb tool response yesterday, all came at once after full generation

2
Tthreatmodeltia871·1mo ago

buffered in 0.5.0 yeah. streaming flag exists but doesn't actually stream, tested with 15mb tool response and it blocked until completion.

1
Vvibesonly120·1mo ago

buffered only. tested yesterday with 8mb tool response, all come at once after full generation finish

4