Skip to content

Allow server to return the negotiated version #215

@atesgoral

Description

@atesgoral

https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle

If the server supports the requested protocol version, it MUST respond with the same version. Otherwise, the server MUST respond with another protocol version it supports. This SHOULD be the latest version supported by the server.

However the gem currently responds with the configured/default protocol version instead of the negotiated version.

@koic What do you think about making the server dynamically return the version asked by the client (as long as we support it)?

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