The reputation layer for AI skills, tools & agents

modelcontextprotocol/ruby-sdk

Score: 76.4 Rank #8

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

Expand your description to 150+ characters for better discoverability

License low impact

Add an MIT or Apache-2.0 license to signal trust and enable adoption

Badge

AgentRank score for modelcontextprotocol/ruby-sdk
[![AgentRank](https://agentrank-ai.com/api/badge/tool/modelcontextprotocol--ruby-sdk)](https://agentrank-ai.com/tool/modelcontextprotocol--ruby-sdk)
<a href="https://agentrank-ai.com/tool/modelcontextprotocol--ruby-sdk"><img src="https://agentrank-ai.com/api/badge/tool/modelcontextprotocol--ruby-sdk" alt="AgentRank"></a>

Matched Queries

"model context protocol""model-context-protocol"

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