-
Notifications
You must be signed in to change notification settings - Fork 143
[Server][Capability] SEP-2663 Tasks: Tool handlers can return task handles; long-running execution model #348
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 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
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 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
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
Implements the long-running execution path for SEP-2663 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #335. Largest design decision in this milestone.
Spec summary
PHP SDK changes
#[McpTool](or add a sibling marker) to signal task-eligibility.src/Capability/Registry/Handler/ReferenceHandler.php: today the Fiber either returns a result or suspends for sampling/elicitation. Add a path where the handler returns early with a task handle and continues running.fastcgi_finish_request.tools/callhandler insrc/Server/Handler/Request/to honor the negotiated tasks extension and emit a task handle when the runtime defers.Related