ruby-sdk/lib/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
..
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 Fix JSON-RPC notification format in Streamable HTTP transport 2025-07-26 17:58:31 +09:00
tool Nicer error API 2025-08-18 16:50:20 +02: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 Refactor MCP tool and server to handle optional server_context parameter 2025-06-10 15:40:28 -04:00
resource.rb Merge pull request #34 from koic/make_some_optional_kwargs_in_resource 2025-05-31 13:34:25 -04:00
resource_template.rb stop using shared dir 2025-05-30 14:33:22 -04:00
server.rb Add instructions support to MCP::Server 2025-08-07 12:17:57 +09:00
string_utils.rb stop using shared dir 2025-05-30 14:33:22 -04:00
tool.rb inputSchema interface requires type key 2025-07-31 08:36:18 +02: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