ruby-sdk/test/mcp/server/transports
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO a02a4572c4 Return 202 Accepted for SSE responses per MCP spec
`StreamableHTTPTransport#send_response_to_stream` returned 200 with
`{ accepted: true }` body, but the MCP spec requires 202 with empty body
when a response is sent via SSE stream. This has been a requirement since
Streamable HTTP was introduced in protocol version 2025-03-26.

- https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#sending-messages-to-the-server
- https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#sending-messages-to-the-server
2026-02-28 17:59:54 +09:00
..
stdio_notification_integration_test.rb Add logging support 2026-01-26 22:23:46 +09:00
stdio_transport_test.rb Remove redundant require statements 2025-08-02 00:57:31 +09:00
streamable_http_notification_integration_test.rb Add logging support 2026-01-26 22:23:46 +09:00
streamable_http_transport_test.rb Return 202 Accepted for SSE responses per MCP spec 2026-02-28 17:59:54 +09:00