Repository navigation
Closed
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentbreaking changeBreaking the Backwards Compatibility PromiseenhancementRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptneeds designValid issue but needs maintainer alignment on design or approach
Description
Implements SEP-2575 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #334.
Spec summary
Removes the mandatory
initialize/initializedhandshake. Protocol version and client info travel in_metaon every request; servers can useserver/discoverto fetch capabilities. Addsmessages/listenRPC replacing the GET-SSE channel.
PHP SDK changes
src/Server/Handler/Request/InitializeHandler.php,src/Schema/Request/InitializeRequest.php,src/Schema/Result/InitializeResult.php— keep working for old clients but make optional; gate on protocol version.src/Server/Protocol.php— drop hard requirement that initialize precedes other calls; routeserver/discoverandmessages/listen.- Add
src/Server/Handler/Request/DiscoverHandler.phpandMessagesListenHandler.php; corresponding schemas undersrc/Schema/Request|Result/. src/Server/Transport/Http/Middleware/ProtocolVersionMiddleware.php— extend to also read_meta.protocolVersionfrom JSON-RPC payloads and emitUnsupportedVersionError.src/Server/Transport/StreamableHttpTransport.php— route streaming throughmessages/listenPOST; legacy GET-SSE deprecated.src/Client/Protocol.phpandsrc/Client/Builder.php— skip handshake when negotiating new version; emit per-request capabilities/version; handleUnsupportedVersionErrorretry.
Breaking change. Coordinate with deprecation policy (SEP-2596, umbrella #339).
Related SEPs
- SEP-2567 (umbrella [2026-07-28] Stateless Core overhaul #334) — companion sessionless work
- SEP-2322 (umbrella [2026-07-28] Stateless Core overhaul #334) — Multi Round-Trip Requests
Reacted by Justin Maurer
Metadata
Metadata
Assignees
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentbreaking changeBreaking the Backwards Compatibility PromiseenhancementRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptneeds designValid issue but needs maintainer alignment on design or approach
Type
Projects
- StatusShow more project fieldsDone
Activity
chr-hertel commentedon Aug 19, 2026
Implemented via #443, #444, #447, #448, #455, #456, #457. The modern (2026-07-28) lifecycle now serves
server/discoverandsubscriptions/listen(the spec's finalized name for this issue's sketchedmessages/listen); the legacyinitializehandshake is still served for older clients on the same endpoint.