ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Justin Flick 389cc2e8e6 Fix tool error handling to follow MCP spec
Tool execution errors now return successful responses with isError: true
instead of JSON-RPC protocol errors, per the MCP specification.

This allows clients to distinguish between protocol-level errors and
tool execution errors, providing better error context.

Fixes #159
2025-10-21 18:33:42 -07:00
..
client Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00
server/transports Fix to return a response code 202 if the server accepts JSON-RPC notifications and responses 2025-09-26 00:18:01 +09:00
tool Set default content to an empty array instead of nil 2025-10-02 23:52:19 +09:00
client_test.rb add resources/list and resources/read support to client 2025-10-10 10:51:42 -04:00
configuration_test.rb Add validation to MCP::Configuration setters 2025-09-24 19:19:02 +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 Remove useless magic comment 2025-09-15 12:33:09 +09:00
prompt_test.rb Remove useless magic comment 2025-09-15 12:33:09 +09: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 Fix tool error handling to follow MCP spec 2025-10-21 18:33:42 -07: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