From 7b390053bd5754c8d94e39f7f585d9bdc1731d09 Mon Sep 17 00:00:00 2001 From: Kevin Fischer Date: Tue, 13 May 2025 23:58:38 +0900 Subject: [PATCH] Update README and example with server version --- README.md | 1 + examples/stdio_server.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 6314c62..9dcbf76 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ module ModelContextProtocol def index server = ModelContextProtocol::Server.new( name: "my_server", + version: "1.0.0", tools: [SomeTool, AnotherTool], prompts: [MyPrompt], server_context: { user_id: current_user.id }, diff --git a/examples/stdio_server.rb b/examples/stdio_server.rb index 7c1a09a..631822e 100755 --- a/examples/stdio_server.rb +++ b/examples/stdio_server.rb @@ -54,6 +54,7 @@ end # Set up the server server = MCP::Server.new( name: "example_server", + version: "1.0.0", tools: [ExampleTool], prompts: [ExamplePrompt], resources: [