{"repo":"dickdavis/model-context-protocol-rb","free":true,"listed":false,"github":"https://github.com/dickdavis/model-context-protocol-rb","clone":"git clone https://github.com/dickdavis/model-context-protocol-rb.git","description":"An implementation of the Model Context Protocol in Ruby.","language":"Ruby","stars":51,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"model-context-protocol-rb An implementation of the Model Context Protocol (MCP) in Ruby. Provides simple abstractions that allow you to serve prompts, resources, resource templates, and tools via MCP locally (stdio) or in production (streamable HTTP backed by Redis) with minimal effort. Feature Support (Server) Status Feature -------- --------- ✅ Prompts ✅ Resources ✅ Resource Templates ✅ Tools ✅ Completion ✅ Logging ✅ Pagination ✅ Environment Variables ✅ STDIO Transport ✅ Streamable HTTP Transport ✅ List Changed Notification (Prompts) ¹ ✅ List Changed Notification (Resources) ¹ ❌ Subscriptions (Resources) ✅ List Changed Notification (Tools) ¹ ✅ Cancellation ✅ Ping ✅ Progress Installation Add this line to your application's Gemfile: And then execute: Or install it yourself as: For detailed installation instructions, see the Installation wiki page. Building an MCP Server Build a simple MCP server by registering your prompts, resources, resource templates, and tools. Messages from the MCP client will be routed to the appropriate custom handler. STDIO Transport (Default) For command-line MCP servers that communicate via standard input/output: Streamable HTTP Transport For HTTP-based MCP servers (e.g., Rails applications), you'll need to setup your MCP server in an initializer with Redis configuration. Redis enables coordination across multiple server processes in production deployments (e.g., Puma workers), where no single process can hold all state in memory. If your app uses P","default_branch":null,"files":null,"tree":[],"storefront":"/r/dickdavis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dickdavis/model-context-protocol-rb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}