| Filename | Latest commit message | Latest commit date |
|---|---|---|
Per the MCP specification (Streamable HTTP > Session Management): > Servers that require a session ID SHOULD respond to requests without an `Mcp-Session-Id` header > (other than initialization) with HTTP 400 Bad Request. https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#session-management Previously, non-initialize POST requests without `Mcp-Session-Id` in stateful mode were processed with HTTP 200 (for regular requests) or HTTP 202 (for notifications/responses). This change adds an explicit check in `handle_post` to return HTTP 400 Bad Request when the session ID is missing in stateful mode for all non-initialize requests, aligning with the specification. |
||
| .. | ||
| mcp | ||
| instrumentation_test_helper.rb | ||
| json_rpc_handler_test.rb | ||
| test_helper.rb | ||