MCP ExtensionsTasks
Tasks overview
Durable MCP tool execution, polling, input requests, cancellation, and subscriptions.
Tasks let a client start work without holding one HTTP request open. A task begins as working,
may become input_required, and ends as completed, failed, or cancelled. Clients use
tasks/get, tasks/update, and tasks/cancel; subscriptions/listen can stream complete task
snapshots over SSE.
The adapter supplies protocol handling and preserves Elysia invocation semantics. Your
TaskProvider supplies durable records, execution, ownership, expiry, cancellation, and fan-out.
There is deliberately no production in-memory provider and no task-listing method.
- Quick Start creates one taskable Elysia tool.
- Configuration defines provider and lifecycle contracts.
- Examples covers subprocess and BullMQ implementations.
Tasks require modern MCP 2026-07-28; legacy 2025-11-25 clients cannot call Tasks methods.