Add notification support

Co-authored-by: Kevin Fischer <kfischer_okarin@yahoo.co.jp>
This commit is contained in:
Riley Shott 2025-06-02 13:46:18 -07:00
commit 55b03fc7aa

View file

@ -21,6 +21,11 @@ module MCP
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"
class MissingRequiredCapabilityError < StandardError
attr_reader :method
attr_reader :capability