#113 · Primary category: LLM Application Frameworks

ruby-sdk

mcp mcp-client mcp-server ruby

The official Ruby SDK for the Model Context Protocol servers and clients.

Project last updated:08/29/26

GitHub Stars

896

Forks

129

Contributors

51

License

MIT

Why we included this project

Ruby is well served here: the MCP project ships an official Ruby SDK, so it is the most direct route for connecting Ruby apps to the Model Context Protocol ecosystem. The SDK works in both directions. You can build a server that exposes your own tools, prompts, and resources to any MCP host, such as an AI assistant or agent runtime, or build a client that connects to other servers, using stdio to run a server as a subprocess or the Streamable HTTP transport. Protocol details like lifecycle negotiation, OAuth 2.1 authorization, notifications, progress, logging, cancellation, and pagination are handled for you, so the code you write is the tool logic rather than JSON-RPC plumbing. A Rails integration and runnable examples mean you can retrofit an existing Ruby service instead of designing everything from scratch.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category