Skip to content

Conversation

@koic
Copy link
Member

@koic koic commented May 23, 2025

Motivation and Context

The method that overrides Methods::RESOURCES_READ is named resources_read_handler, not read_resource_handler:
https://github.com/modelcontextprotocol/ruby-sdk/blob/18f3e87/lib/model_context_protocol/server.rb#L97-L99

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

The method that overrides `Methods::RESOURCES_READ` is named `resources_read_handler`,
not `read_resource_handler`:
https://github.com/modelcontextprotocol/ruby-sdk/blob/18f3e87/lib/model_context_protocol/server.rb#L97-L99
@atesgoral atesgoral merged commit 097f979 into modelcontextprotocol:main May 24, 2025
4 checks passed
@koic koic deleted the fix_a_typo branch May 24, 2025 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants