fast-mcp

fast-mcp

A Ruby implementation of the Model Context Protocol (MCP) that simplifies integration between AI models and Ruby applications.

MCPDevOpen source
Type
MCP
Open source
Yes
GitHub Stars
★ 1.2k
Source
mcp-github

Overview

Fast MCP is a Ruby implementation of the Model Context Protocol (MCP), designed to enable seamless interaction between AI models and Ruby applications. It provides Tool API and Resource API, supports multiple transport protocols (such as STDIO, HTTP, and SSE), and integrates effortlessly into Rails, Sinatra, or any Rack-based application. With Fast MCP, developers can quickly define and register tools and resources, and control their access permissions, enabling secure and efficient AI integration.

Capabilities

  • Tool API: AI calls Ruby functions
  • Resource API: Share data
  • Multi-protocol support
  • Framework integration: Rails, Sinatra, etc.
  • Authentication support
  • Real-time updates

Use cases

AI model invokes Ruby functionsUse AI features within Ruby applicationsDynamically filter tools and resourcesReal-time resource content updates

Setup

Requires: Ruby 环境API Key
bundle add fast-mcp; bin/rails generate fast_mcp:install

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What transport protocols does Fast MCP support?

STDIO, HTTP, and SSE.

How to use Fast MCP in Rails?

After installing the gem, run the command `bin/rails generate fast_mcp:install`.

Related skills