ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO 08048283e4 Validate tool annotations value
Tool annotations were introduced in the "2025-03-26" specification:

> Added comprehensive tool annotations for better describing tool behavior,
> like whether it is read-only or destructive (PR modelcontextprotocol/modelcontextprotocol#185)

https://modelcontextprotocol.io/specification/2025-03-26/changelog#major-changes

This means they are not supported in the "2024-11-05" specification,
so validation errors will be raised for `protocol_version: "2024-11-05"`.
2025-09-11 10:48:56 +09:00
..
client Add basic HTTP client support with pluggable transports 2025-09-08 15:52:37 -05:00
server/transports Tweak assert_equal argument order in tests 2025-08-27 01:43:55 +09:00
tool Set default values for ToolAnnotations hints 2025-08-28 01:13:57 +09:00
client_test.rb Add basic HTTP client support with pluggable transports 2025-09-08 15:52:37 -05: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 add titles to tools, prompts and resources 2025-08-17 22:58:15 -04: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 Validate tool annotations value 2025-09-11 10:48:56 +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 Set default values for ToolAnnotations hints 2025-08-28 01:13:57 +09:00
transport_test.rb Remove redundant require statements 2025-08-02 00:57:31 +09:00