implements the notifications/initialized method
- According to https://modelcontextprotocol.io/specification/2025-06-18/basic/lifecycle, "After successful initialization, the client MUST send an initialized notification to indicate it is ready to begin normal operations".
This commit is contained in:
parent
541bbe0859
commit
be5e7db2a6
1 changed files with 21 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ module MCP
|
|||
Methods::PROMPTS_GET => method(:get_prompt),
|
||||
Methods::INITIALIZE => method(:init),
|
||||
Methods::PING => ->(_) { {} },
|
||||
Methods::NOTIFICATIONS_INITIALIZED => ->(_) {},
|
||||
|
||||
# No op handlers for currently unsupported methods
|
||||
Methods::RESOURCES_SUBSCRIBE => ->(_) {},
|
||||
|
|
|
|||
Loading…
Reference in a new issue