-
Notifications
You must be signed in to change notification settings - Fork 172
[Schema][Server][Client] SEP-2133: Extensions framework (capability negotiation + ExtensionRegistry + extensible dispatch) #344
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-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest 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-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest 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-2133 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #335. Prerequisite for SEP-2663 (Tasks) and SEP-1865 (MCP Apps).
Spec summary
PHP SDK changes
extensionsmap toClientCapabilitiesandServerCapabilitiesinsrc/Schema/(each entry keyed by reverse-DNS extension ID).src/Server/Handler/andsrc/Client/Handler/to round-trip theextensionsmap and store negotiated set on the session/request.Server::builder()->addExtension(ExtensionInterface $ext)and matching method onClient::builder(). IntroduceExtensionRegistryalongsideRegistryso handlers can query "is extension X negotiated for this request?".Protocol::processInput()dispatches a fixed method set today. Make the request/notification handler map extensible so extensions can register their own method handlers.RequestContextneeds typed accessor for per-request extension data (SEP-2663 uses per-request capability flags).Related