-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Problem with stdio mode for long-running tools:
In stdio mode (which uses MCP's standard input/output), the caller is required to synchronously wait for the entire execution to complete and receive the full result in a single response.
When a tool's execution time is prolonged (for instance, an Nmap scan taking tens of minutes), the HTTP layer or client (such as undici) will perceive the server as unresponsive. This leads to connection timeouts and termination.
Solution: streamable-http mode
streamable-http mode is specifically designed to solve this problem:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels