
MCP Servers Ruby Examples
This repository contains a collection of MCP (Machine Control Protocol) server implementations and utilities written in Ruby. It's more a place for experiments with MCP Servers.
Available Tools
Operating System Utilities
-
Filesystem Operations - Handles file system operations including:
- Reading files
- Listing directory contents
- Directory tree traversal
- File creation and modification
- File deletion
- Patch application
-
Clipboard Operations - Manages system clipboard interactions
Installation
The repository provides a Thor-based installer script for setting up MCP servers with different Claude environments.
Prerequisites
bundle install
The media servers require additional dependencies:
- ffmpeg (for audio transcoding)
- Whisper (for speech transcription)
- Ruby >= 3.0
- fast-mcp gem (1.1.0 or later)
Installing MCP Servers
The mcp_install
script provides commands for installing MCP servers for different Claude environments:
# For Claude Desktop
./mcp_install claude_desktop SERVER_PATH [BASE_PATH]
# For Claude Code
./mcp_install claude_code SERVER_PATH [BASE_PATH]
# For Windsurf
./mcp_install windsurf SERVER_PATH [BASE_PATH]
Parameters:
-
SERVER_PATH
: Path to the MCP server implementation -
BASE_PATH
: Base directory for the server (defaults to current directory)
Prompt Templates
The media servers use XML-based prompt templates located in media/prompts/
:
-
summarize.transcript.xml.erb
- For transcript analysis -
whats.new.assistant.xml.erb
- For content comparison (assistant) -
whats.new.user.xml.erb
- For content comparison (user)
Examples:
# Install for Claude Desktop
./mcp_install claude_desktop ./os/clipboard.rb
# Install for Windsurf
./mcp_install windsurf ./os/clipboard.rb
The installer will:
- Generate server configuration
- Update configuration file if found:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windsurf:
~/.codeium/windsurf/mcp_config.json
- Claude Code: (configuration path varies)
- Claude Desktop:
- Display the generated configuration for manual installation if needed
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_BsIUpJPy
As a dedicated user of mcp, I am thoroughly impressed with mcp-servers-ruby by cs3b. Its seamless integration and robust performance have significantly enhanced my development process. The clear documentation and user-friendly interface make it a must-have for any Ruby server project. Highly recommended! Check it out at https://github.com/cs3b/mcp-servers-ruby.