ruby-sdk/lib/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
prompt add title field to prompt argument 2025-10-06 09:35:42 -04:00
resource Remove useless magic comment 2025-09-15 12:33:09 +09:00
server Introduce stateless mode to allow for HA 2025-11-04 15:26:12 -08:00
tool Update metaschema URI format in input_schema.rb and output_schema.rb for 2025-10-03 17:29:50 -03:00
transports Add a migration path for Server::Transports::StdioTransport 2025-06-10 16:27:22 +09:00
client.rb Add prompts/list and prompts/get support to client 2025-10-15 13:16:41 +09:00
configuration.rb Default to the latest stable protocol version 2025-12-04 14:58:41 +09:00
content.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
instrumentation.rb stop using shared dir 2025-05-30 14:33:22 -04:00
methods.rb Add Elicitation skeleton 2025-11-21 02:42:20 +09:00
prompt.rb add _meta field to Prompt 2025-10-10 09:05:55 -04:00
resource.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
resource_template.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
server.rb Merge pull request #178 from koic/add_elicitation_skeleton 2025-11-25 01:02:30 +09:00
string_utils.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
tool.rb Add support for _meta field on tool schema (#124) 2025-10-01 17:21:27 -04:00
transport.rb Addressing feedback 2025-06-11 13:44:54 -07:00
version.rb Release 0.4.0 2025-10-15 01:25:05 -04:00