ruby-sdk/lib/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO cb5e87581b Add validation to MCP::Configuration setters
I noticed through the existing tests that `MCP::Configuration#protocol_version=`
allows setting an arbitrary protocol version.

Since the official MCP Ruby SDK is an implementation of the MCP specification,
it should not support arbitrary protocol versions. This change adds validation
to the setter, consistent with `Configuration#initialize`.

The same validation has also been added to `MCP::Configuration#validate_tool_call_arguments=`.
2025-09-24 19:19:02 +09:00
..
client Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00
prompt Remove useless magic comment 2025-09-15 12:33:09 +09:00
resource Remove useless magic comment 2025-09-15 12:33:09 +09:00
server Return HTTP status code 202 for notification initialized method 2025-08-11 10:40:17 -04:00
tool Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00
transports Add a migration path for Server::Transports::StdioTransport 2025-06-10 16:27:22 +09:00
client.rb Add basic HTTP client support with pluggable transports 2025-09-08 15:52:37 -05:00
configuration.rb Add validation to MCP::Configuration setters 2025-09-24 19:19:02 +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 missing checks 2025-06-15 17:35:18 +09:00
prompt.rb Remove useless magic comment 2025-09-15 12:33:09 +09: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 Remove unused block parameters 2025-09-20 14:45:08 +09:00
string_utils.rb Remove useless magic comment 2025-09-15 12:33:09 +09:00
tool.rb Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00
transport.rb Addressing feedback 2025-06-11 13:44:54 -07:00
version.rb Release v0.3.0 2025-09-14 01:09:18 -04:00