- 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>
41 lines
4.0 KiB
Markdown
41 lines
4.0 KiB
Markdown
# 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 />[](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 />[](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 />[](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 />[](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 />[](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 />[](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.* |