funwarioisii
MCP Serverfunwarioisiipublic

sample mcp rails

一个使用 MCP 协议调用远程服务器的示例 Rails 应用程序。

Repository Info

11
Stars
0
Forks
11
Watchers
10
Issues
Ruby
Language
-
License

About This Server

一个使用 MCP 协议调用远程服务器的示例 Rails 应用程序。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

sample-mcp-rails

This is a sample Rails application that uses the MCP protocol to call a remote MCP server.

And it introduces how to use mcp-rb gem to call the MCP server.

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

How to run

# install dependencies
bundle install

# run the Rails application
rails s

# create HTTP request to the Rails application
curl http://localhost:3000/hello

Architecture

This project has /mcps directory that contains the MCP server. There is a sample MCP server in mcps/hello_world.rb.

When the Rails application starts, it will connect to the MCP server. see: config/initializers/mcp_hello_world.rb

Quick Start

1

Clone the repository

git clone https://github.com/funwarioisii/sample-mcp-rails
2

Install dependencies

cd sample-mcp-rails
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerfunwarioisii
Reposample-mcp-rails
LanguageRuby
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation