@@ -173,7 +173,7 @@ class ApplicationController < ActionController::Base
173173 def index
174174 server = MCP ::Server .new (
175175 name: " my_server" ,
176- title: " Example Server Display Name" , # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
176+ title: " Example Server Display Name" ,
177177 version: " 1.0.0" ,
178178 instructions: " Use the tools of this server as a last resort" ,
179179 tools: [SomeTool , AnotherTool ],
@@ -391,7 +391,7 @@ This gem provides a `MCP::Tool` class that can be used to create tools in three
391391
392392``` ruby
393393class MyTool < MCP ::Tool
394- title " My Tool" # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
394+ title " My Tool"
395395 description " This tool performs specific functionality..."
396396 input_schema(
397397 properties: {
@@ -428,7 +428,7 @@ tool = MyTool
428428``` ruby
429429tool = MCP ::Tool .define(
430430 name: " my_tool" ,
431- title: " My Tool" , # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
431+ title: " My Tool" ,
432432 description: " This tool performs specific functionality..." ,
433433 annotations: {
434434 read_only_hint: true ,
@@ -633,7 +633,7 @@ The `MCP::Prompt` class provides three ways to create prompts:
633633``` ruby
634634class MyPrompt < MCP ::Prompt
635635 prompt_name " my_prompt" # Optional - defaults to underscored class name
636- title " My Prompt" # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
636+ title " My Prompt"
637637 description " This prompt performs specific functionality..."
638638 arguments [
639639 MCP ::Prompt ::Argument .new (
@@ -672,7 +672,7 @@ prompt = MyPrompt
672672``` ruby
673673prompt = MCP ::Prompt .define(
674674 name: " my_prompt" ,
675- title: " My Prompt" , # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
675+ title: " My Prompt" ,
676676 description: " This prompt performs specific functionality..." ,
677677 arguments: [
678678 MCP ::Prompt ::Argument .new (
@@ -797,7 +797,7 @@ The `MCP::Resource` class provides a way to register resources with the server.
797797resource = MCP ::Resource .new (
798798 uri: " https://example.com/my_resource" ,
799799 name: " my-resource" ,
800- title: " My Resource" , # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
800+ title: " My Resource" ,
801801 description: " Lorem ipsum dolor sit amet" ,
802802 mime_type: " text/html" ,
803803)
@@ -830,7 +830,7 @@ The `MCP::ResourceTemplate` class provides a way to register resource templates
830830resource_template = MCP ::ResourceTemplate .new (
831831 uri_template: " https://example.com/my_resource_template" ,
832832 name: " my-resource-template" ,
833- title: " My Resource Template" , # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
833+ title: " My Resource Template" ,
834834 description: " Lorem ipsum dolor sit amet" ,
835835 mime_type: " text/html" ,
836836)
0 commit comments