You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ transport = MCP::Server::Transports::StreamableHTTPTransport.new(server, statele
163
163
#### Rails Controller
164
164
165
165
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
167
167
requests.
168
168
169
169
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
383
383
384
384
### Tools
385
385
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.
387
387
388
388
This gem provides a `MCP::Tool` class that can be used to create tools in three ways:
389
389
@@ -581,7 +581,7 @@ end
581
581
Please note: in this case, you must provide `type: "array"`. The default type
582
582
for output schemas is `object`.
583
583
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:
585
585
586
586
-**Server Validation**: Servers MUST provide structured results that conform to the output schema
587
587
-**Client Validation**: Clients SHOULD validate structured results against the output schema
@@ -624,7 +624,7 @@ end
624
624
625
625
### Prompts
626
626
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.
628
628
629
629
The `MCP::Prompt` class provides three ways to create prompts:
630
630
@@ -787,7 +787,7 @@ This is to avoid potential issues with metric cardinality
787
787
788
788
### Resources
789
789
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).
0 commit comments