ruby-sdk
ruby-sdk copied to clipboard
The official Ruby SDK for the Model Context Protocol. Maintained in collaboration with Shopify.
1. Update the title and description in README to match what's in the gemspec file and to align with other SDKs in this org. 2. Add Gem version badge 3....
I've spent a good deal of time trying to figure out why `:server_context` was not being passed into the tool call I was using `*args` and `**kargs` to debug things...
## Motivation and Context Tool call arguments are not being validated against the schema. This ensures that the schema is valid and that the tool call args are valid. Otherwise...
## Motivation and Context Closes #3 Follow-up to https://github.com/modelcontextprotocol/ruby-sdk/pull/27 Happy to close the other PR and just keep this one if we want. This adds the ability to build MCP...
Implements a rack-compatible Streamable HTTP transport with SSE support. As well as add notification support for the server with the following methods: - `notify_tools_list_changed()` - Send a notification when the...
A simple rails example with some tools and resources would be immensely helpful
[See spec](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-03-26/basic/authorization.mdx)
Currently the gem only includes an `MCP::Server` implementation, but an end to end SDK implementation should also include a client. Follow the same pattern for pluggable transports and implement `Client`...