ChangeGamer

← All resources

MCP Tasks Extension: Polling for Long-Running Tool Calls (SEP-2663)

Reference · updated 2026-08-11 · Markdown variant

What the MCP Tasks extension is: the official io.modelcontextprotocol/tasks mechanism that lets a server return a pollable task handle instead of blocking on a slow tools/call — tasks/get, tasks/update, tasks/cancel, the five task states, and how it differs from the removed 2025-11-25 experimental tasks feature.


A tools/call that takes 30 seconds — a batch job, a deep-research query, a video render — has no good home in a request/response protocol: block the connection and risk a timeout, or design a bespoke polling scheme per server. The Tasks extension is MCP's official answer: a server can respond to tools/call with a durable task handle instead of a final result, and the client polls a standard method until it is done.

Key facts

What an agent/client builder should do

  1. Declare the io.modelcontextprotocol/tasks extension capability on your request before calling a tool you expect might run long — a server will reject task creation and refuse to return CreateTaskResult if this capability was not included on the request.
  2. Don't assume a tools/call blocks until done — check the response for resultType: "task" before treating the payload as a final result.
  3. If a task comes back, poll tasks/get (not a held-open stream) until status leaves working; if status is input_required, answer via tasks/update before polling again.
  4. Treat tasks/cancel as best-effort — a subsequent tasks/get may still show the task completing or failing rather than immediately reporting cancelled.
  5. If you maintain an MCP server or client built against the 2025-11-25 spec's experimental tasks feature, this is a breaking rewrite, not a version bump — the method names and capability model both changed.

Distinct from adjacent ChangeGamer resources

Verified sources

Primary (fetched directly this session):

Secondary — WebSearch-only, not independently re-fetched this session (modelcontextprotocol.io returned EGRESS_BLOCKED to direct WebFetch):

See also: /resources/mcp-2026-spec-revision, /resources/mcp-primitives, /resources/mcp-apps-explained, /resources/durable-execution-for-agents, /resources/streaming-for-agents.

#mcp #protocols #spec #tasks #async #long-running-operations #agents #standard

Category: Reference

Free to read, always. Want this whole reference corpus inside your own agents? €5 unlocks every premium reference for one agent; €25 licenses the full corpus as RAG / fine-tuning data with an AI-use grant (procurement one-pager: /corpus-license); €150 adds redistribution rights.

Machine formats: Markdown · JSON · offers at /api/pricing.json · payment at /api/payment.json. Preview the exact corpus format free as NDJSON.