Skip to content

Commit ca93445

Browse files
authored
Merge pull request #189 from koic/update_specification_url_to_latest
[Docs] Update specification URL to `latest`
2 parents d745ccd + 117bb42 commit ca93445

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ transport = MCP::Server::Transports::StreamableHTTPTransport.new(server, statele
163163
#### Rails Controller
164164

165165
When added to a Rails controller on a route that handles POST requests, your server will be compliant with non-streaming
166-
[Streamable HTTP](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) transport
166+
[Streamable HTTP](https://modelcontextprotocol.io/specification/latest/basic/transports#streamable-http) transport
167167
requests.
168168

169169
You can use the `Server#handle_json` method to handle requests.
@@ -384,7 +384,7 @@ If no exception reporter is configured, a default no-op reporter is used that si
384384

385385
### Tools
386386

387-
MCP spec includes [Tools](https://modelcontextprotocol.io/specification/2025-06-18/server/tools) which provide functionality to LLM apps.
387+
MCP spec includes [Tools](https://modelcontextprotocol.io/specification/latest/server/tools) which provide functionality to LLM apps.
388388

389389
This gem provides a `MCP::Tool` class that can be used to create tools in three ways:
390390

@@ -582,7 +582,7 @@ end
582582
Please note: in this case, you must provide `type: "array"`. The default type
583583
for output schemas is `object`.
584584

585-
MCP spec for the [Output Schema](https://modelcontextprotocol.io/specification/2025-06-18/server/tools#output-schema) specifies that:
585+
MCP spec for the [Output Schema](https://modelcontextprotocol.io/specification/latest/server/tools#output-schema) specifies that:
586586

587587
- **Server Validation**: Servers MUST provide structured results that conform to the output schema
588588
- **Client Validation**: Clients SHOULD validate structured results against the output schema
@@ -651,7 +651,7 @@ end
651651

652652
### Prompts
653653

654-
MCP spec includes [Prompts](https://modelcontextprotocol.io/specification/2025-06-18/server/prompts), which enable servers to define reusable prompt templates and workflows that clients can easily surface to users and LLMs.
654+
MCP spec includes [Prompts](https://modelcontextprotocol.io/specification/latest/server/prompts), which enable servers to define reusable prompt templates and workflows that clients can easily surface to users and LLMs.
655655

656656
The `MCP::Prompt` class provides three ways to create prompts:
657657

@@ -814,7 +814,7 @@ This is to avoid potential issues with metric cardinality
814814

815815
### Resources
816816

817-
MCP spec includes [Resources](https://modelcontextprotocol.io/specification/2025-06-18/server/resources).
817+
MCP spec includes [Resources](https://modelcontextprotocol.io/specification/latest/server/resources).
818818

819819
### Reading Resources
820820

test/mcp/server_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ServerTest < ActiveSupport::TestCase
8181
)
8282
end
8383

84-
# https://modelcontextprotocol.io/specification/2025-06-18/basic/utilities/ping#behavior-requirements
84+
# https://modelcontextprotocol.io/specification/latest/basic/utilities/ping#behavior-requirements
8585
test "#handle ping request returns empty response" do
8686
request = {
8787
jsonrpc: "2.0",

0 commit comments

Comments
 (0)