Update AGENTS.md

Follow-up to #175.

Since `json_rpc_handler` was merged in #175, it has been removed from AGENTS.md.

The "Dependencies" section was also removed because the information there would have become redundant.
This commit is contained in:
Koichi ITO 2025-11-23 02:48:03 +09:00
commit 056b0a61b4

View file

@ -8,7 +8,7 @@ This is the official Ruby SDK for the Model Context Protocol (MCP), implementing
- Ruby 3.2.0+ required
- Run `bundle install` to install dependencies
- Dependencies: `json_rpc_handler` ~> 0.1, `json-schema` >= 4.1
- Dependencies: `json-schema` >= 4.1 - Schema validation
## Build and test commands
@ -100,12 +100,6 @@ This is the official Ruby SDK for the Model Context Protocol (MCP), implementing
- `server_context` hash passed through tool/prompt calls for request-specific data
- Methods can accept `server_context:` keyword argument for accessing context
### Dependencies
- `json_rpc_handler` ~> 0.1 - JSON-RPC 2.0 message handling
- `json-schema` >= 4.1 - Schema validation
- Ruby 3.2.0+ required
### Integration patterns
- **Rails controllers**: Use `server.handle_json(request.body.read)` for HTTP endpoints
@ -116,4 +110,4 @@ This is the official Ruby SDK for the Model Context Protocol (MCP), implementing
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") { ... }`
3. **Server registration**: `server.define_tool(name: "my_tool") { ... }`