From 5aef96773e7115bd89fd16cfe68bc701e2e5a0fd Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 28 Dec 2025 04:00:16 +0900 Subject: [PATCH] [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. --- AGENTS.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 70f83cb8..48dc6ea9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -105,9 +105,3 @@ This is the official Ruby SDK for the Model Context Protocol (MCP), implementing - **Rails controllers**: Use `server.handle_json(request.body.read)` for HTTP endpoints - **Command-line tools**: Use `StdioTransport.new(server).open` for CLI applications - **HTTP services**: Use `StreamableHttpTransport` for web-based servers - -### Component definition patterns - -1. **Class inheritance**: `class MyTool < MCP::Tool` -2. **Define methods**: `MCP::Tool.define(name: "my_tool") { ... }` -3. **Server registration**: `server.define_tool(name: "my_tool") { ... }`