Skip to content

Commit 7b39005

Browse files
Update README and example with server version
1 parent ea48289 commit 7b39005

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module ModelContextProtocol
5050
def index
5151
server = ModelContextProtocol::Server.new(
5252
name: "my_server",
53+
version: "1.0.0",
5354
tools: [SomeTool, AnotherTool],
5455
prompts: [MyPrompt],
5556
server_context: { user_id: current_user.id },

examples/stdio_server.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def template(args, server_context:)
5454
# Set up the server
5555
server = MCP::Server.new(
5656
name: "example_server",
57+
version: "1.0.0",
5758
tools: [ExampleTool],
5859
prompts: [ExamplePrompt],
5960
resources: [

0 commit comments

Comments
 (0)