Skip to content

Allow ping requests before initialization #1311

@eleftherias

Description

@eleftherias

As per the MCP specification, ping requests should be allowed even before initialization:

The client SHOULD NOT send requests other than pings before the server has responded to the initialize request.
The server SHOULD NOT send requests other than pings and logging before receiving the initialized notification.

Currently, sending a ping request before initialization fails with Invalid request parameters.
The server logs show Failed to validate request: Received request before initialization was complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions