-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Dick Davis edited this page Jan 27, 2026
·
3 revisions
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.
- Installation - Add the gem to your project
- Building an MCP Server - Configure and run your MCP server
- Quick Start with Rails - Full Rails integration example
- Prompts - Define prompts that MCP clients can use to generate contextual messages
- Resources - Expose data and content to MCP clients
- Resource Templates - Define parameterized resources with URI templates
- Tools - Create callable functions that MCP clients can invoke
- Completions - Provide argument completion hints for prompts and resources
- Testing with RSpec - Custom matchers and helpers for testing your MCP handlers
Getting Started
Server Guide
Handlers
Testing