Missing handler for "notifications/initialized" method

Created on 1 June 2025, 6 days ago

Problem/Motivation

The module is currently missing a handler for the notifications/initialized method, which is a required part of the MCP initialization flow. According to the MCP specification, after a successful initialize request/response exchange, the client MUST send an initialized notification to indicate it is ready to begin normal operations.

Without this handler, clients attempting to complete the initialization handshake will encounter errors when they try to send the mandatory notifications/initialized notification to the server after receiving a successful initialization response.

Steps to reproduce

1. Set up the mcp module
2. Connect an MCP client (such as Claude Desktop or MCP Inspector)
3. Client sends initialize request to server
4. Server responds successfully with initialization response
5. Client attempts to send notifications/initialized notification
6. Server returns an error because no handler exists for this method
7. Client connection fails or behaves unexpectedly

Remaining tasks

- Create the NotificationsInitialized plugin class in src/Plugin/McpJsonRpc/
- Test with MCP Inspector to verify the notification is handled without errors
- Test with Claude Desktop to ensure successful connection
- Update module documentation if needed

Data model changes

No data model changes required for this implementation.

This is a minimal implementation focused on resolving the immediate protocol compliance issue.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇪Georgia lekso surameli

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024