- Allow protocol version to be set at the server level through configuration instead of a class method, providing more flexibility in protocol version management [#43](https://github.com/Shopify/mcp-ruby/pull/43) @topherbullock - Fixed instrumentation handling to ensure accurate timing information and proper error reporting [#42](https://github.com/Shopify/mcp-ruby/pull/42) @tobiasbales - Improved error handling and reporting in the server - Fixed timing information collection in instrumentation - Added proper error types for different failure scenarios - Enhanced test coverage for error cases - [Allow protocol version to be set at the server level #43](https://github.com/Shopify/mcp-ruby/pull/43) @topherbullock - [Fix instrumentation handling #42](https://github.com/Shopify/mcp-ruby/pull/42) @tobiasbales
14 lines
336 B
Ruby
14 lines
336 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ModelContextProtocol
|
|
module Methods
|
|
RESOURCES_LIST = "resources/list"
|
|
RESOURCES_READ = "resources/read"
|
|
TOOLS_LIST = "tools/list"
|
|
TOOLS_CALL = "tools/call"
|
|
PROMPTS_LIST = "prompts/list"
|
|
PROMPTS_GET = "prompts/get"
|
|
INITIALIZE = "initialize"
|
|
PING = "ping"
|
|
end
|
|
end
|