-
Notifications
You must be signed in to change notification settings - Fork 143
[Server] SEP-2567: Remove session dependency for list endpoints; deprecate Mcp-Session-Id #341
Copy link
Copy link
Open
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-28P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featureServerIssues & 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
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-28P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featureServerIssues & 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
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
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