Skip to content

Commit dac5e62

Browse files
committed
Fix some typoes
The `ModelContextProtocol` module name has been renamed to `MCP`, and `define_protocol` appears to be a typo for `define_prompt`.
1 parent aba6163 commit dac5e62

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)