Skip to content

As of 1.8.0, does the SDK fully support the 2025-03-26 MCP spec? #677

Closed
@lcfyi-stripe

Description

@lcfyi-stripe

Version 1.8.0 brings in support for 2025-03-26's Streamable HTTP transport, but it doesn't seem to have 2025-03-26 listed as a supported version.

On initialization, the server's response is validated here:

if result.protocolVersion not in SUPPORTED_PROTOCOL_VERSIONS:
raise RuntimeError(
"Unsupported protocol version from the server: "
f"{result.protocolVersion}"
)

Where SUPPORTED_PROTOCOL_VERSION is defined here:

SUPPORTED_PROTOCOL_VERSIONS: tuple[int, str] = (1, LATEST_PROTOCOL_VERSION)

And, finally, LATEST_PROTOCOL_VERSION is here:

LATEST_PROTOCOL_VERSION = "2024-11-05"

Which means that the SDK supports (1, 2024-11-05).

I haven't done a full diff of the changes in 2025-03-26 to determine if they're supported in the SDK, but the version negotiation phase of the spec means that this SDK will be unable to communicate with any server that only supports 2025-03-26.

Is this expected?

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