Skip to content

SEP-2663: Tasks Extension #391

Open
Open

Description

@localden

Tracking implementation of SEP-2663 for the 2026-07-28 MCP spec release.

Activity

  1. added
    enhancement
    on Jun 6, 2026
  2. self-assigned this
    on Jun 28, 2026
  3. jcasimir commented on Nov 29, 2026

    @jcasimir

    Hi! We'd like to implement the Tasks extension (SEP-2663, io.modelcontextprotocol/tasks, following the ext-tasks 2026-07-28 spec) and contribute it here. Here's the shape we have in mind. Does it fit how you'd like extensions to land?

    • Capability. The server declares io.modelcontextprotocol/tasks through the existing SEP-2133 support_extensions builder. A task result is only ever returned when the request's own client capabilities (initialize, or the modern _meta envelope) include the extension. Clients that don't opt in see no change.
    • Server-directed creation. A tool can opt in (for example, a task: true / task: :optional setting, or returning a task from its handler). For an opted-in client, the server replies with a CreateTaskResult (resultType: "task", taskId, status, ttl, pollInterval) and runs the work in the background.
    • Task store. A small interface (create / get / update status / store result / cancel / expire), with an in-memory default and room for a durable store, since stateless Streamable HTTP deployments need tasks to outlive one connection.
    • Handlers. tasks/get (status, plus result or error once terminal), tasks/update (answers to inputRequests when input_required, reusing the existing elicitation / MRTR types), and tasks/cancel (cooperative). notifications/tasks goes over subscriptions/listen where the transport supports it.
    • Transports. It works with stdio and Streamable HTTP, in both stateful and stateless mode, and on both lifecycles.
    • Client. Opt in, then poll tasks/get until terminal, with helpers for tasks/update and tasks/cancel.
    • Tests, conformance and docs. Unit tests for the store, handlers and lifecycle edges (TTL expiry, cancel after completion, a client that never opted in). Coverage in the conformance leg once the referee has task scenarios. A docs/_extensions/tasks.md page.

    We'll start on a fork and open a draft PR referencing this issue. We're happy to reshape it, split it into smaller PRs, or follow a different API if you have one in mind.

  4. koic commented on Nov 29, 2026

    @koic
    Member

    This issue is assigned, which means it is already being worked on: the implementation exists locally. It will be opened as pull requests that resolve this issue, so a separate implementation is not needed.

  5. jcasimir commented on Nov 29, 2026

    @jcasimir

    Thanks for letting us know, and for the quick reply. We'll leave it to your PRs and won't open a competing one. We're keen to use Tasks behind a Rails MCP server, so we're happy to test the PRs against a real deployment when they're up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions