You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: MCP Streamable HTTP loses reverse-request correlation across POST requests #8061
Server-to-client MCP requests started while handling one Streamable HTTP POST cannot reliably consume the client response when that response arrives in a later POST.
The server sends the sampling or elicitation request, but the response is routed using the transient HTTP request client ID instead of the client/profile that originated the reverse request. The original tool call remains waiting and eventually times out.
Expected behavior
A reverse request ID should remain correlated with its originating logical MCP client and negotiated profile across HTTP requests. A matching client response should resume the pending tool invocation.
Affected behavior
This is not July-only behavior. Sampling and elicitation are applicable to their respective released protocol versions, so these failures should not be represented as protocol skips.
Regression coverage
Add an HTTP adapter test that:
starts a tool call;
receives a server sampling or elicitation request;
returns the reverse-request response through a separate POST;
observes the original tool result complete without timing out.
changed the title [-]MCP Streamable HTTP loses reverse-request correlation across POST requests[/-][+]fix: MCP Streamable HTTP loses reverse-request correlation across POST requests[/+]on Sep 4, 2026
Activity
[-]MCP Streamable HTTP loses reverse-request correlation across POST requests[/-][+]fix: MCP Streamable HTTP loses reverse-request correlation across POST requests[/+]lloydrichards commentedon Sep 4, 2026
see #8060 (comment)