[Doc] Add Ruby SDK example to build-server documentation#2264
Open
koic wants to merge 1 commit intomodelcontextprotocol:mainfrom
Open
[Doc] Add Ruby SDK example to build-server documentation#2264koic wants to merge 1 commit intomodelcontextprotocol:mainfrom
koic wants to merge 1 commit intomodelcontextprotocol:mainfrom
Conversation
Add a Ruby tab to the "Build an MCP server" tutorial page, following the same weather server pattern as other language examples. The Ruby tab includes: - Environment setup using Bundler and the `mcp` gem - Helper methods using `Net::HTTP` for NWS API calls - Tool class definitions (`GetAlerts` and `GetForecast`) using `MCP::Tool` - Server initialization with StdioTransport The implementation uses the Ruby SDK and aligns with the structure of existing Python, TypeScript, Java, Kotlin, C#, and Rust SDKs. https://github.com/modelcontextprotocol/ruby-sdk
koic
commented
Feb 17, 2026
|
|
||
| <Tab title='Ruby'> | ||
|
|
||
| Let's get started with building our weather server! [You can find the complete code for what we'll be building here.](https://github.com/modelcontextprotocol/quickstart-resources/tree/main/weather-server-ruby) |
Member
Author
There was a problem hiding this comment.
This link will be provided by modelcontextprotocol/quickstart-resources#104.
Contributor
|
@jonathanhefner thoughts on this, given that you were working on some quickstart refactoring? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Add a Ruby tab to the "Build an MCP server" tutorial page, following the same weather server pattern as other language examples.
The Ruby tab includes:
mcpgemNet::HTTPfor NWS API callsGetAlertsandGetForecast) usingMCP::ToolThe implementation uses the Ruby SDK and aligns with the structure of existing Python, TypeScript, Java, Kotlin, C#, and Rust SDKs.
https://github.com/modelcontextprotocol/ruby-sdk
Types of changes
Checklist