Add Ruby MCP Server Development collection (#330)

- Add Ruby MCP server best practices instruction
- Add Ruby MCP server project generator prompt
- Add Ruby MCP expert chat mode
- Add Ruby MCP development collection manifest
- Update category READMEs

Features:
- Server setup with official mcp gem
- Tool/prompt/resource handlers with classes
- Rails controller integration
- Stdio and HTTP transport support
- Input/output schemas with validation
- Tool annotations for behavior hints
- Structured content in responses
- Exception reporting and instrumentation
- Minitest test examples

Co-authored-by: Aaron Powell <me@aaron-powell.com>
This commit is contained in:
Troy Simeon Taylor
2025-10-16 20:12:10 -04:00
committed by GitHub
parent eec72209d0
commit 51b18a7577
9 changed files with 1715 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
id: ruby-mcp-development
name: Ruby MCP Server Development
description: 'Complete toolkit for building Model Context Protocol servers in Ruby using the official MCP Ruby SDK gem with Rails integration support.'
tags: [ruby, mcp, model-context-protocol, server-development, sdk, rails, gem]
items:
- path: instructions/ruby-mcp-server.instructions.md
kind: instruction
- path: prompts/ruby-mcp-server-generator.prompt.md
kind: prompt
- path: chatmodes/ruby-mcp-expert.chatmode.md
kind: chat-mode
usage: |
recommended
This chat mode provides expert guidance for building MCP servers in Ruby.
This chat mode is ideal for:
- Creating new MCP server projects with Ruby
- Implementing tools, prompts, and resources
- Setting up stdio or HTTP transports
- Debugging schema definitions and error handling
- Learning Ruby MCP best practices with the official SDK
- Integrating with Rails applications
To get the best results, consider:
- Using the instruction file to set context for Ruby MCP development
- Using the prompt to generate initial project structure
- Switching to the expert chat mode for detailed implementation help
- Specifying whether you need stdio or Rails integration
- Providing details about what tools or functionality you need
- Mentioning if you need authentication or server_context usage
display:
ordering: manual
show_badge: true

View File

@@ -0,0 +1,41 @@
# Ruby MCP Server Development
'Complete toolkit for building Model Context Protocol servers in Ruby using the official MCP Ruby SDK gem with Rails integration support.'
**Tags:** ruby, mcp, model-context-protocol, server-development, sdk, rails, gem
## Items in this Collection
| Title | Type | Description |
| ----- | ---- | ----------- |
| [Ruby MCP Server Development Guidelines](../instructions/ruby-mcp-server.instructions.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fruby-mcp-server.instructions.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fruby-mcp-server.instructions.md) | Instruction | Best practices and patterns for building Model Context Protocol (MCP) servers in Ruby using the official MCP Ruby SDK gem. |
| [Ruby MCP Server Generator](../prompts/ruby-mcp-server-generator.prompt.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fruby-mcp-server-generator.prompt.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fruby-mcp-server-generator.prompt.md) | Prompt | Generate a complete Model Context Protocol server project in Ruby using the official MCP Ruby SDK gem. |
| [Ruby MCP Expert](../chatmodes/ruby-mcp-expert.chatmode.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fruby-mcp-expert.chatmode.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fruby-mcp-expert.chatmode.md) | Chat Mode | Expert assistance for building Model Context Protocol servers in Ruby using the official MCP Ruby SDK gem with Rails integration. [see usage](#ruby-mcp-expert) |
## Collection Usage
### Ruby MCP Expert
recommended
This chat mode provides expert guidance for building MCP servers in Ruby.
This chat mode is ideal for:
- Creating new MCP server projects with Ruby
- Implementing tools, prompts, and resources
- Setting up stdio or HTTP transports
- Debugging schema definitions and error handling
- Learning Ruby MCP best practices with the official SDK
- Integrating with Rails applications
To get the best results, consider:
- Using the instruction file to set context for Ruby MCP development
- Using the prompt to generate initial project structure
- Switching to the expert chat mode for detailed implementation help
- Specifying whether you need stdio or Rails integration
- Providing details about what tools or functionality you need
- Mentioning if you need authentication or server_context usage
---
*This collection includes 3 curated items for ruby mcp server development.*