Skip to content

Implement SEP-1686: Tasks #1546

@felixweinberger

Description

@felixweinberger

This is a tracking issue for implementation of SEP-1686.

Summary

This SEP introduces a general-purpose Tasks capability for managing long-running operations in MCP, generalizing task management to all JSON-RPC requests. The Python SDK needs to implement support for servers to initiate operations and return immediately with task identifiers, enable clients to check back periodically for results or subscribe to task completion notifications, handle disconnections and reconnections gracefully, and provide APIs for managing multiple concurrent long-running tasks across all MCP operations to enable more resilient handling of asynchronous operations.

Related Issues & PRs

  • Implementation PRs: n/a
  • Related PRs: #1398
  • Related Issues: #769

Metadata

Metadata

Labels

enhancementNew feature or requestpending SEP approvalWhen a PR is attached as an implementation detail to a SEP, we mark it as such for triage.

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions