# mcp-rb

> MCP Server

MCP-RB is a lightweight Ruby framework for building MCP servers using a Sinatra-like DSL. It supports defining resources, resource templates, and tools with arguments, adhering to the MCP 2024-11-05 specification.

## Overview

- **Category:** Developer Tools
- **Language:** Ruby
- **Stars:** 203
- **Forks:** 6
- **Owner:** funwarioisii
- **GitHub:** https://github.com/funwarioisii/mcp-rb
- **Homepage:** https://rubygems.org/gems/mcp-rb
- **Created:** 2025-02-12T15:07:13+00:00
- **Updated:** 2025-03-28T19:14:12+00:00
- **Source:** https://model-context-protocol.com/servers/ruby-mcp-server-framework-sinatra-dsl

## Setup

## Setup

1.  Add `gem 'mcp-rb'` to your application's Gemfile.

## Tools

## Available Tools

1.  Resources (resources/read, resources/list, resources/templates/list).
2.  Tools (tools/list, tools/call).
3.  Define a resource.
4.  Define a resource template.
5.  Define a tool.
6.  Define a tool with nested arguments.
7.  Define a tool with an Array argument.
