Skip to content

Commit 5aef967

Browse files
committed
[Doc] Remove redundant descriptions in AGENTS.md
The "Component definition patterns" section has been removed because it overlaps with "Three Ways to Define Components" in AGENTS.md: https://github.com/modelcontextprotocol/ruby-sdk/blob/d745ccde/AGENTS.md#key-patterns This helps make the system prompt more concise.
1 parent d745ccd commit 5aef967

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

AGENTS.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,3 @@ This is the official Ruby SDK for the Model Context Protocol (MCP), implementing
105105
- **Rails controllers**: Use `server.handle_json(request.body.read)` for HTTP endpoints
106106
- **Command-line tools**: Use `StdioTransport.new(server).open` for CLI applications
107107
- **HTTP services**: Use `StreamableHttpTransport` for web-based servers
108-
109-
### Component definition patterns
110-
111-
1. **Class inheritance**: `class MyTool < MCP::Tool`
112-
2. **Define methods**: `MCP::Tool.define(name: "my_tool") { ... }`
113-
3. **Server registration**: `server.define_tool(name: "my_tool") { ... }`

0 commit comments

Comments
 (0)