ruby-mcp-server-generator
Generate a complete Model Context Protocol server project in Ruby using the official MCP Ruby SDK gem.
npx skills add github/awesome-copilot --skill ruby-mcp-server-generator --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ruby MCP Server Generator Generate a complete, production-ready MCP server in Ruby using the official Ruby SDK. ## Project Generation When asked to create a Ruby MCP server, generate a complete project with this structure: ``` 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 ``` ## Gemfile Template ```ruby source 'https://rubygems.org' gem 'mcp', '~> 0.4.0' group :development, :test do gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' gem 'rubocop', '~> 1.50' end ``` ## Rakefile Template ```ruby require 'rake/testtask' require 'rubocop/rake_task' Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/*_test.rb'] end RuboCop::RakeTask.new task default: %i[test rubocop] ``` ## lib/my_mcp_server.rb Template ```ruby # frozen_string_literal: true require 'mcp' require_relative 'my_mcp_ser
- Project Generation
- Gemfile Template
- Rakefile Template
- lib/mymcpserver.rb Template
- lib/mymcpserver/server.rb Template
- lib/mymcpserver/tools/greettool.rb Template
- lib/mymcpserver/tools/calculatetool.rb Template
- lib/mymcpserver/prompts/codereviewprompt.rb Template
- lib/mymcpserver/resources/exampleresource.rb Template
- bin/mcp-server Template
- test/testhelper.rb Template
- test/tools/greettooltest.rb Template
- test/tools/calculatetooltest.rb Template
- README.md Template
chmod +x bin/mcp-server
What does the ruby-mcp-server-generator skill do?
Generate a complete Model Context Protocol server project in Ruby using the official MCP Ruby SDK gem.
How do I install it?
Run `npx skills add github/awesome-copilot --skill ruby-mcp-server-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.