Skip to content

Commit 8f682c4

Browse files
authored
Merge pull request #146 from koic/fix_some_typos
Fix some typos
2 parents aba6163 + 99f90b8 commit 8f682c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,10 @@ tool = MCP::Tool.define(
425425
end
426426
```
427427

428-
3. By using the `ModelContextProtocol::Server#define_tool` method with a block:
428+
3. By using the `MCP::Server#define_tool` method with a block:
429429

430430
```ruby
431-
server = ModelContextProtocol::Server.new
431+
server = MCP::Server.new
432432
server.define_tool(
433433
name: "my_tool",
434434
description: "This tool performs specific functionality...",
@@ -629,11 +629,11 @@ prompt = MCP::Prompt.define(
629629
end
630630
```
631631

632-
3. Using the `ModelContextProtocol::Server#define_protocol` method:
632+
3. Using the `MCP::Server#define_prompt` method:
633633

634634
```ruby
635-
server = ModelContextProtocol::Server.new
636-
server.define_protocol(
635+
server = MCP::Server.new
636+
server.define_prompt(
637637
name: "my_prompt",
638638
description: "This prompt performs specific functionality...",
639639
arguments: [

0 commit comments

Comments
 (0)