Skip to content

Commit 117bb42

Browse files
committed
[Docs] Update specification URL to latest
This PR updates the specification URL to `latest`. This change avoids the need to update the URL whenever a new protocol version is released. The `latest` path redirects to the latest protocol version.
1 parent d31c3da commit 117bb42

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.
@@ -383,7 +383,7 @@ If no exception reporter is configured, a default no-op reporter is used that si
383383

384384
### Tools
385385

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

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

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

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

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

625625
### Prompts
626626

627-
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.
627+
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.
628628

629629
The `MCP::Prompt` class provides three ways to create prompts:
630630

@@ -787,7 +787,7 @@ This is to avoid potential issues with metric cardinality
787787

788788
### Resources
789789

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

792792
### Reading Resources
793793

test/mcp/server_test.rb

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

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

0 commit comments

Comments
 (0)