When a client receives HTTP 404 in response to a request containing an MCP-Session-Id, it MUST start a new session by sending a new InitializeRequest without a session ID attached.
This is not the case with the python client. It just sends a session terminated error in streamable_http.py
mcp: 1.22.0
python: 3.14.0
Initial Checks
Description
Per https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#session-management
This is not the case with the python client. It just sends a session terminated error in streamable_http.py
Example Code
Python & MCP Python SDK