/ruby-mcp-development:ruby-mcp-server-generatorfrom ruby-mcp-development
Scaffolds a complete Ruby MCP server project using the official MCP Ruby SDK gem, including tools, prompts, resources, schemas, annotations, tests, and both stdio and HTTP usage examples.
Ships in ruby-mcp-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate a production-ready Ruby MCP server project from bundled templates, preserving Ruby naming conventions, SDK structure, schemas, annotations, error handling, tests, and both stdio and HTTP usage examples.
Ask for project name and description when missing. Convert the project name into snake_case file/module paths and a Ruby module name before generating files.
Generate this complete tree, adapting my-mcp-server and my_mcp_server to the user's project name:
my-mcp-server/
├── Gemfile
├── Rakefile
├── lib/
│ ├── my_mcp_server.rb
│ ├── my_mcp_server/
│ │ ├── server.rb
│ │ ├── tools/
│ │ │ ├── greet_tool.rb
│ │ │ └── calculate_tool.rb
│ │ ├── prompts/
│ │ │ └── code_review_prompt.rb
│ │ └── resources/
│ │ └── example_resource.rb
├── bin/
│ └── mcp-server
├── test/
│ ├── test_helper.rb
│ └── tools/
│ ├── greet_tool_test.rb
│ └── calculate_tool_test.rb
└── README.md
| Area | Rule |
|---|---|
| Templates | Open references/project-templates.md and copy/adapt the full templates verbatim before inventing structure. |
| Tools and prompts | Use classes for tools and prompts for better organization. |
| Schemas | Include input/output schemas for type safety. |
| Annotations | Add tool annotations that describe behavior and safety hints. |
| Responses | Include structured content in responses, not only plain text. |
| Errors | Return proper error responses with an is_error flag. |
| Tests | Implement comprehensive tests for all tools, including success and error paths. |
| Ruby conventions | Use snake_case, modules, and frozen_string_literal. |
| Usage | Provide both stdio and HTTP examples in README.md. |
references/project-templates.md and adapt every required file in the project tree.is_error error handling, and tests.references/project-templates.md: canonical Ruby MCP server project templates; read it before creating project files and copy/adapt the templates verbatim.### Ruby MCP server generation
**Status:** complete | needs input | blocked
**Project:** `<my-mcp-server>`
**Module:** `<MyMcpServer>`
| Artifact | Path | Notes |
| --- | --- | --- |
| Gemfile | `<project>/Gemfile` | official MCP Ruby SDK gem |
| Server | `<project>/lib/<name>/server.rb` | tools/prompts/resources registered |
| Tools | `<project>/lib/<name>/tools/*.rb` | schemas, annotations, structured content |
| Tests | `<project>/test/tools/*_test.rb` | success and error paths |
| README | `<project>/README.md` | stdio and HTTP usage examples |
**Validation**
- `<ruby test command>`: pass | fail | not run
references/project-templates.md was read before generation.Gemfile, Rakefile, lib/, bin/mcp-server, test/, and README.md.is_error for error cases.snake_case, modules, and frozen_string_literal.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin ruby-mcp-developmentOther plugins' skills for the same job