ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Piotr Usewicz 6689db2ca0
Nicer error API
Both the combination of positional argument and naming does not feel
like Ruby.

This change makes `is_error` argument a keyword argument called `error`.

Thanks to this, the usage is more self-explanatory:

```ruby
response = Response.new([], error: true)
```
2025-08-18 16:50:20 +02:00
..
server/transports Remove redundant require statements 2025-08-02 00:57:31 +09:00
tool Nicer error API 2025-08-18 16:50:20 +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 Merge pull request #87 from koic/add_instructions_support_to_mcp_server 2025-08-09 03:22:08 +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 Nicer error API 2025-08-18 16:50:20 +02:00
transport_test.rb Remove redundant require statements 2025-08-02 00:57:31 +09:00