Skip to content

Commit 127f12f

Browse files
Add missing method constants
1 parent e4c9644 commit 127f12f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/mcp/methods.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ module Methods
1919
TOOLS_CALL = "tools/call"
2020
TOOLS_LIST = "tools/list"
2121

22+
ROOTS_LIST = "roots/list"
2223
SAMPLING_CREATE_MESSAGE = "sampling/createMessage"
2324

2425
# Notification methods
2526
NOTIFICATIONS_TOOLS_LIST_CHANGED = "notifications/tools/list_changed"
2627
NOTIFICATIONS_PROMPTS_LIST_CHANGED = "notifications/prompts/list_changed"
2728
NOTIFICATIONS_RESOURCES_LIST_CHANGED = "notifications/resources/list_changed"
29+
NOTIFICATIONS_RESOURCES_UPDATED = "notifications/resources/updated"
30+
NOTIFICATIONS_ROOTS_LIST_CHANGED = "notifications/roots/list_changed"
31+
NOTIFICATIONS_MESSAGE = "notifications/message"
32+
NOTIFICATIONS_PROGRESS = "notifications/progress"
33+
NOTIFICATIONS_CANCELLED = "notifications/cancelled"
2834

2935
class MissingRequiredCapabilityError < StandardError
3036
attr_reader :method

0 commit comments

Comments
 (0)