ruby-sdk/lib/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO cae30547d2 Set default values for ToolAnnotations hints
According to the specification, `destructive_hint`, `idempotent_hint`, `open_world_hint`,
and `read_only_hint` of `ToolAnnotations` are optional with default values:
https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations

This PR sets their default values in accordance with the specification.

Additionally, for readability, the hints have been reordered to follow the specification.
2025-08-28 01:13:57 +09:00
..
prompt stop using shared dir 2025-05-30 14:33:22 -04:00
resource stop using shared dir 2025-05-30 14:33:22 -04:00
server Return HTTP status code 202 for notification initialized method 2025-08-11 10:40:17 -04:00
tool Set default values for ToolAnnotations hints 2025-08-28 01:13:57 +09:00
transports Add a migration path for Server::Transports::StdioTransport 2025-06-10 16:27:22 +09:00
configuration.rb Set default protocol version to the latest specification 2025-07-20 16:36:18 +09:00
content.rb stop using shared dir 2025-05-30 14:33:22 -04: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 add titles to tools, prompts and resources 2025-08-17 22:58:15 -04:00
resource.rb add titles to tools, prompts and resources 2025-08-17 22:58:15 -04:00
resource_template.rb add titles to tools, prompts and resources 2025-08-17 22:58:15 -04:00
server.rb implements the notifications/initialized method 2025-08-25 13:44:21 +08:00
string_utils.rb stop using shared dir 2025-05-30 14:33:22 -04:00
tool.rb add titles to tools, prompts and resources 2025-08-17 22:58:15 -04:00
transport.rb Addressing feedback 2025-06-11 13:44:54 -07:00
version.rb Bump version 2025-07-15 15:40:15 -04:00