ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO c786a14f61 Default to the latest stable protocol version
When starting an MCP server in Claude Code with `protocol_version` set to `DRAFT-2025-v3`,
it fails with the following error:

```console
2025-12-04T02:58:01.548Z [DEBUG] MCP server "example": Connection failed after 2093ms: Server's protocol version is not supported: DRAFT-2025-v3
2025-12-04T02:58:01.548Z [ERROR] MCP server "example" Connection failed: Server's protocol version is not supported: DRAFT-2025-v3
```

This PR changes the default behavior so that if `protocol_version` is not specified,
it uses the latest stable protocol version instead of the draft version.

This PR also updates the README to note that the latest stable protocol version includes
new features from the draft version.
2025-12-04 14:58:41 +09:00
..
client Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00
server/transports Default to the latest stable protocol version 2025-12-04 14:58:41 +09:00
tool Set default content to an empty array instead of nil 2025-10-02 23:52:19 +09:00
client_test.rb Merge pull request #163 from dak2/add-client-prompts-support 2025-10-19 02:24:36 +09:00
configuration_test.rb Default to the latest stable protocol version 2025-12-04 14:58:41 +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 Elicitation skeleton 2025-11-21 02:42:20 +09:00
prompt_test.rb add _meta field to Prompt 2025-10-10 09:05:55 -04:00
server_context_test.rb Fix tool error handling to follow MCP spec 2025-10-21 18:33:42 -07:00
server_notification_test.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
server_test.rb Default to the latest stable protocol version 2025-12-04 14:58:41 +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 Add support for _meta field on tool schema (#124) 2025-10-01 17:21:27 -04:00
transport_test.rb Remove redundant require statements 2025-08-02 00:57:31 +09:00