State and the StreamableHTTP transport
You want your StreamableHTTP server to reply to each tool call with a single plain-JSON response containing just the final result — no streamed log lines or progress messages along the way.
Which flag should you enable?
This exercise is part of the course
Model Context Protocol: Advanced Topics
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise