ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO 2b36bf6b2d Set default protocol version to the latest specification
Currently, MCP has three versions: 2024-11-05, 2025-03-26, and 2025-06-18.

- https://modelcontextprotocol.io/specification/2024-11-05/basic/transports (stdio and HTTP with SSE)
- https://modelcontextprotocol.io/specification/2025-03-26/basic/transports (stdio and Streamable HTTP)
- https://modelcontextprotocol.io/specification/2025-06-18/basic/transports (stdio and Streamable HTTP)

The newer specification supports stdio and Streamable HTTP as transport mechanisms.
Only the oldest version, 2024-11-05, supports stdin and HTTP with SSE,
but that version is now considered legacy.

Given the current behavior of the Ruby SDK, it likely makes more sense to set
the default protocol version to the latest one, 2025-06-18, rather than the oldest, 2024-11-05.

Ideally, the implementation should adjust its behavior based on the version,
but this PR is limited to updating the default protocol version only.
2025-07-20 16:36:18 +09:00
..
server/transports Set default protocol version to the latest specification 2025-07-20 16:36:18 +09:00
tool fixes input schema validation for schemas without required fields 2025-07-11 11:27:59 +02:00
configuration_test.rb Validate protocol_version value 2025-07-16 12:38:49 +09:00
instrumentation_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
methods_test.rb Add missing checks 2025-06-15 17:35:18 +09:00
prompt_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
server_context_test.rb Refactor MCP tool and server to handle optional server_context parameter 2025-06-10 15:40:28 -04:00
server_notification_test.rb Addressing feedback 2025-06-11 13:44:54 -07:00
server_test.rb Set default protocol version to the latest specification 2025-07-20 16:36:18 +09:00
string_utils_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
tool_test.rb Merge remote-tracking branch 'upstream/main' into make_server_context_optional_and_sorbet_friendly 2025-06-19 11:08:00 -04:00
transport_test.rb Addressing feedback 2025-06-11 13:44:54 -07:00