MCP Directory
Back

mcp-rb

by funwarioisii · Ruby · ★ 205

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

#mcp-server#modelcontextprotocol

Install

git clone https://github.com/funwarioisii/mcp-rb.git

Claude Desktop config

Add this to your claude_desktop_config.json:

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

From the README

A lightweight Ruby framework for implementing MCP (Model Context Protocol) servers with a Sinatra-like DSL. Add this line to your application's Gemfile: Here's a simple example of how to create an MCP server: Reference: [MCP 2024-11-05](https://spec.modelcontextprotocol.io/specification/2024-11-05/) - [Base Protocol](https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/) - ping - stdio transport - [Server features](https://spec.modelcontextprotocol.io/specification/2024-11-05/server/) - Resources - resources/read - resources/list - resources/templates/list…
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 other servers