drio
Open app

MCP-RB

Source

A lightweight Ruby framework for building MCP servers with a Sinatra-like DSL

Catalog onlyCatalog onlySTDIO

Overview

MCP-RB is a lightweight Ruby framework designed for building Model Context Protocol (MCP) servers using a Sinatra-like Domain Specific Language (DSL).

To use MCP-RB, add it to your application's Gemfile and define your MCP server resources and tools using the provided DSL syntax.

  • Lightweight and easy to use framework for MCP servers - Sinatra-like DSL for defining resources and tools - Support for nested arguments and array arguments in tools - Built-in testing and formatting commands
  1. Creating simple MCP servers for handling requests and responses.
  2. Implementing complex tools with nested arguments for specific functionalities.
  3. Testing and debugging MCP server implementations easily.

Add to your AI client

Use these steps to connect MCP-RB in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-rb-funwarioisii": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-rb-funwarioisii": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-rb-funwarioisii": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-rb-funwarioisii": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-rb-funwarioisii": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-rb-funwarioisii": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-rb-funwarioisii"
      ]
    }
  }
}

FAQ

What is Model Context Protocol (MCP)?

MCP is a protocol for defining resources and tools in a structured way, allowing for better communication between clients and servers.

Is MCP-RB suitable for production use?

Yes, MCP-RB is designed to be lightweight and efficient, making it suitable for production environments.

How can I contribute to MCP-RB?

You can contribute by submitting issues or pull requests on the GitHub repository.