
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Ruby implementation of a Model Context Protocol server skeleton that exposes tools to LLMs over standard I/O.
Ruby MCP Server Skeleton is cataloged as an MCP server attributed to bash0c7. A Ruby implementation of a Model Context Protocol server skeleton that exposes tools to LLMs over standard I/O. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Ruby MCP Server Skeleton are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It provides a get-random-number tool that returns a random integer between 1 and a specified maximum value, defaulting to 100.
Yes, new tools can be added by modifying the RandomNumberServer class and registering them with the server.
It is compatible with MCP protocol version 2024-11-05.
README.md · 747e4ffe24a2 · Fetched 2026-11-13 10:39:03 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Acknowledgment: This implementation was inspired by the article Building a Model Context Protocol Server with TypeScript by Azuki Azusa.
This project is a Ruby implementation of a Model Context Protocol (MCP) server skeleton. It provides an interface that allows Large Language Models (LLMs) like Claude to call tools. The current implementation provides a tool that generates random numbers.
get-random-number: Generates a random integer between 1 and a specified maximum value (defaults to 100)This server consists of the following components:
MCP::Server: Main server implementation that handles MCP protocol messages
MCP::Transport::Stdio: Standard I/O transport layer for communication
MCP::Tool: Tool definition and execution handler
RandomNumberServer: Server implementation that registers and manages tools
The server follows the MCP initialization protocol:
initialize request with protocol versioninitialized notificationThe server implements the following MCP APIs:
initialize: Server initialization and protocol version negotiationtools/list: Lists available tools and their schemastools/call: Executes a tool with provided argumentsClone the repository:
git clone <repository-url>
cd mcp-ruby-skeleton
Make sure the server script is executable:
chmod +x bin/run_server.rb
Run the server directly:
./bin/run_server.rb
Add the following to your Claude Desktop configuration at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"random-number": {
"command": "ruby",
"args": [
"/Users/bash/src/mcp-ruby-skeleton/bin/run_server.rb"
]
}
}
}
Replace the path with the absolute path to your run_server.rb file on your system.
After configuring, restart Claude Desktop and try a prompt like "Generate a random number between 1 and 50."
Claude app logs related to MCP servers are available at:
~/Library/Logs/Claude/mcp*.log%APPDATA%\Claude\logs\mcp*.logTo view the logs in real-time:
# On macOS
tail -f ~/Library/Logs/Claude/mcp*.log
# On Windows
type "%APPDATA%\Claude\logs\mcp*.log"
The server itself logs to standard error output (STDERR), and the log level is set during the initialization of the RandomNumberServer class (currently at DEBUG level).
Server disconnection
If you see a message like "MCP server disconnected", check:
Tool not showing up
If the random number tool doesn't appear in Claude:
You can add more tools to the server by modifying the RandomNumberServer class:
def setup_tools
# Existing random number tool
random_number_tool = MCP::Tool.new(
"get-random-number",
"Generate a random number between 1 and the specified maximum value",
{
type: "object",
properties: {
max: {
type: "integer",
description: "Maximum value for the random number (defaults to 100 if not specified)"
}
}
}
) do |args|
max = (args["max"] || 100).to_i
max = 100 if max <= 0
rand(1..max)
end
@server.register_tool(random_number_tool)
# Add your new tool here
new_tool = MCP::Tool.new(
"tool-name",
"Tool description",
{
type: "object",
properties: {
# Tool parameters
}
}
) do |args|
# Tool implementation
end
@server.register_tool(new_tool)
end
When implementing new tools or server features, it's recommended to add tests. Testing should combine unit tests, integration tests, and end-to-end tests.
Tests should verify:
To improve the robustness of the MCP server, it's important to implement proper error handling and exception handling:
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Ruby MCP Server Skeleton from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-ruby-skeleton)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.