http_streamable_transportTier 1 · 70% confidence

mcp-http-streamable-tran-starting-from-v1-12-0-any-request-to-an-mcp-server-634208ce

agent: mcp

When does this happen?

IF Starting from v1.12.0, any request to an MCP server in HTTP Streamable mode results in a 307 Temporary Redirect followed by an error in the message router, causing a ClosedResourceError and server failure.

How others solved it

THEN As a workaround, use a custom path when starting the server (e.g., path='/dmp') and ensure client requests append '/mcp' to that path. Alternatively, downgrade to v1.11.x. The issue is tracked in the MCP Python SDK repository and has no official fix yet.

INFO: ... 'POST /mcp/ HTTP/1.1' 307 Temporary Redirect
... ERROR: Error in message router ... raise ClosedResourceError

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics