From 127f12f7409b659e9a38e5c8c6c59773fe0356e9 Mon Sep 17 00:00:00 2001 From: Kevin Fischer Date: Sun, 15 Jun 2025 17:19:58 +0900 Subject: [PATCH] Add missing method constants --- lib/mcp/methods.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mcp/methods.rb b/lib/mcp/methods.rb index 9a2db26..e6c0ea1 100644 --- a/lib/mcp/methods.rb +++ b/lib/mcp/methods.rb @@ -19,12 +19,18 @@ module MCP TOOLS_CALL = "tools/call" TOOLS_LIST = "tools/list" + ROOTS_LIST = "roots/list" SAMPLING_CREATE_MESSAGE = "sampling/createMessage" # Notification methods NOTIFICATIONS_TOOLS_LIST_CHANGED = "notifications/tools/list_changed" NOTIFICATIONS_PROMPTS_LIST_CHANGED = "notifications/prompts/list_changed" NOTIFICATIONS_RESOURCES_LIST_CHANGED = "notifications/resources/list_changed" + NOTIFICATIONS_RESOURCES_UPDATED = "notifications/resources/updated" + NOTIFICATIONS_ROOTS_LIST_CHANGED = "notifications/roots/list_changed" + NOTIFICATIONS_MESSAGE = "notifications/message" + NOTIFICATIONS_PROGRESS = "notifications/progress" + NOTIFICATIONS_CANCELLED = "notifications/cancelled" class MissingRequiredCapabilityError < StandardError attr_reader :method