-
Notifications
You must be signed in to change notification settings - Fork 172
[Server] SEP-2567: Remove session dependency for list endpoints; deprecate Mcp-Session-Id #341
Copy link
Copy link
Closed
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentbreaking changeBreaking the Backwards Compatibility PromiseBreaking the Backwards Compatibility PromiseenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScriptneeds designValid issue but needs maintainer alignment on design or approachValid issue but needs maintainer alignment on design or approach
Description
Activity
Metadata
Metadata
Assignees
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentbreaking changeBreaking the Backwards Compatibility PromiseBreaking the Backwards Compatibility PromiseenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScriptneeds designValid issue but needs maintainer alignment on design or approachValid issue but needs maintainer alignment on design or approach
Type
Projects
- StatusShow more project fieldsDone
Implements SEP-2567 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #334.
Spec summary
PHP SDK changes
src/Server/Session/*— entire directory becomes optional/internal-only.SessionManager,InMemorySessionStore,FileSessionStore,Psr16SessionStore,SessionInterface— keep for back-compat with old clients but cannot drive list responses.src/Server/Transport/StreamableHttpTransport.php— stop minting/requiringMcp-Session-Id; downgrade to optional legacy header.src/Capability/Registry/Registry.phpand allList*Handler.php— must produce identical results regardless of session. Audit handlers that read from$session->get(...).RequestContext— sessions become optional, not guaranteed.docs/server-builder.md,docs/transports.md) — guide users toward stateless tool design with explicit handles.Breaking change. Coordinate with deprecation policy (SEP-2596, umbrella #339).
Related