MCP Directory
Back

ruby-sdk

by modelcontextprotocol · Ruby · ★ 799

The official Ruby SDK for the Model Context Protocol.

Install

git clone https://github.com/modelcontextprotocol/ruby-sdk.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "ruby-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "github:modelcontextprotocol/ruby-sdk"
      ]
    }
  }
}

From the README

The official Ruby SDK for Model Context Protocol servers and clients. Add this line to your application's Gemfile: And then execute: Or install it yourself as: You may need to add additional dependencies depending on which features you wish to access. The 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. - Implements JSON-RPC 2.0 message handling - Supports protocol initialization and capability negotiation - Manages tool registration and invocation - Supports p…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers