modelcontextprotocol/ruby-sdk
The official Ruby SDK for the Model Context Protocol.
Overview
modelcontextprotocol/ruby-sdk is a Ruby MCP server. The official Ruby SDK for the Model Context Protocol.
Ranked #8 out of 25632 indexed tools.
In the top 1% of all indexed tools.
Used by 1,570 other projects.
Has 41 contributors.
Actively maintained with commits in the last week.
Ecosystem
Ruby NOASSERTION
Signal Breakdown
Stars 751
Freshness 4d ago
Issue Health 74%
Contributors 41
Dependents 1,570
Forks 101
Description Good
License NOASSERTION
How to Improve
Description low impact
License low impact
Matched Queries
From the README
# MCP Ruby SDK The official Ruby SDK for Model Context Protocol servers and clients. ## Installation Add this line to your application's Gemfile: ```ruby gem 'mcp' ``` And then execute: ```console $ bundle install ``` Or install it yourself as: ```console $ gem install mcp ``` You may need to add additional dependencies depending on which features you wish to access. ## Building an MCP Server The `MCP::Server` class is the core component that handles JSON-RPC requests and responses. It implements the Model Context Protocol specification, handling model context requests and responses. ### Key Features - Implements JSON-RPC 2.0 message handling - Supports protocol initialization and capability negotiation - Manages tool registration and invocation - Supports prompt registration and execution - Supports resource registration and retrieval - Supports stdio & Streamable HTTP (including SSE) transports - Supports notifications for list changes (tools, prompts, resources) ###Read full README on GitHub →
Are you the maintainer? Claim this listing