Update README and example with server version
This commit is contained in:
parent
ea4828987c
commit
7b390053bd
2 changed files with 2 additions and 0 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue