Learning resourcesReviewed · Model Context Protocol

MCP Tasks overview

The Model Context Protocol (MCP) Tasks overview is a guide for developers adding long-running work to MCP integrations, but both client and server must explicitly support the extension. It explains durable task identifiers, polling, requests for input and cooperative cancellation.

Researched 13 Nov 2026

In short.

The Model Context Protocol (MCP) Tasks overview guides developers building MCP clients and servers that handle long jobs, but adoption depends on explicit support on both sides. It explains how a server returns a durable task handle, how clients retrieve status and results, and how work can pause for input. Its implementation outline is useful for planning an integration; client compatibility, costs and runtime reliability remain unknown, and no implementation was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete selected page at [https://modelcontextprotocol.io/extensions/tasks/overview.md], including its implementation examples and client-support notice. Linked repository contents, the client matrix, documentation index, core specification and extension-negotiation pages are excluded. Runtime behavior, compatibility, persistence, notification delivery and cancellation were not tested. Costs and reuse permissions remain unknown.

The overview

identity

This documentation page introduces Tasks, a Model Context Protocol (MCP) extension for operations that take longer than a normal request can conveniently remain open. The source is [https://modelcontextprotocol.io/extensions/tasks/overview.md].

It combines a lifecycle explanation, a request sequence diagram, capability examples and implementation steps. It identifies [https://github.com/modelcontextprotocol/ext-tasks] as the location of the full specification and documentation.

assessment

The overview is useful when an MCP operation runs for minutes or hours, waits for approval, or wraps an external API that already returns job identifiers. It gives client and server developers a concrete outline of their responsibilities.

It supports an initial integration decision, while leaving detailed protocol requirements and actual host compatibility to other documentation. No performance measurements or interoperability results are supplied.

users

The intended readers are developers building MCP clients, servers and connections to CI pipelines, batch processors, model training jobs or cloud deployment systems. The page also addresses workflows that pause for human confirmation and clients with intermittent connections.

Client developers handle task responses, saved identifiers and input requests. Server developers create durable task state and implement methods for retrieving, updating and cancelling tasks. The examples assume familiarity with JSON-RPC and client/server communication.

capabilities

A server can return a task handle while work continues. Clients can check progress, retrieve the final result and resume polling after reconnecting with the same stored taskId.

Tasks expose working, input_required, completed, failed and cancelled states, with optional status messages. Clients can answer outstanding input requests through tasks/update and request cancellation through tasks/cancel.

Servers can optionally send full task states through notifications/tasks when clients subscribe using subscriptions/listen.

Using it

requirements

Both sides must opt in. The client declares io.modelcontextprotocol/tasks in the extensions map of io.modelcontextprotocol/clientCapabilities within each request's _meta. The server advertises the extension in capabilities returned by server/discover.

A server must check the client's declaration before returning a task. Clients must accept either the ordinary response or a CreateTaskResult identified by resultType: "task".

Servers must create tasks durably before responding, and clients must store task identifiers durably to resume polling after a restart. Supported SDKs, dependency versions and named compatible clients are not established by this page.

mechanism

The server decides whether a supported request should become a task. Its CreateTaskResult supplies a taskId, initial status, ttlMs and pollIntervalMs. The client then calls tasks/get with that identifier, respecting the suggested polling interval.

When input is needed, tasks/get includes an inputRequests map. The client supplies corresponding inputResponses through tasks/update. On completion, result contains the original operation's output; on failure, error contains the JSON-RPC error.

Completed, failed and cancelled are terminal states and cannot subsequently change. Cancellation acknowledges an intention to stop, but the server is not required to stop the underlying work.

setup

For a client implementation, add the extension declaration to relevant requests, distinguish ordinary results from task handles, persist taskId and implement the polling loop. Handle input_required by presenting the outstanding requests to the user or model and submitting their responses.

For a server implementation, advertise support, verify each requesting client's capabilities and durably create task state before returning the handle. Implement tasks/get, tasks/update and tasks/cancel. The page says updates for unknown or already-satisfied input keys should be ignored.

These are implementation instructions. The page supplies no installation command, complete runnable application or specific SDK configuration.

example

In an illustrative, untested CI scenario, a client requests a build through tools/call and declares Tasks support. The server creates durable task state and returns a taskId while the build continues.

The client saves the identifier and polls tasks/get. If approval becomes necessary, it presents the inputRequests entry and submits the response through tasks/update. After a client reconnect, polling can continue with the saved identifier. A completed response contains the build operation's final result.

Assessment & evidence

limitations

Host support varies, and task responses require explicit client and server support. Cancellation is cooperative: an acknowledged cancellation request can still be followed by another terminal outcome.

Polling is the default. Replacing it with notifications requires server notification support and a client subscription.

The task handle includes ttlMs, but the overview does not explain expiration behavior or retention guarantees. It also does not establish authorization rules, duplicate execution prevention or recovery of interrupted underlying jobs. Durable task identifiers should not be read as evidence of exactly-once execution.

reasoning

The documented design separates the lifetime of an operation from the lifetime of its original connection. Persisted task identifiers let a client retrieve status later, while input requests allow the operation to pause for interaction.

An engineering inference is that this exchanges a long-held connection for additional state management: clients retain identifiers, and servers retain task state and results. The page supplies no measured comparison of the resulting overhead or reliability.

alternatives

The page directly compares Tasks with keeping the original connection open until work finishes. It identifies connection occupancy, timeouts, reconnects and requests for input as reasons to use Tasks.

For operations that finish quickly, retaining a synchronous response may be simpler; this is an engineering inference, not a measured finding. Within Tasks, optional notifications provide an alternative to repeated polling. No named competing libraries or services are compared.

evidence

The available evidence is the complete overview at [https://modelcontextprotocol.io/extensions/tasks/overview.md], captured on 13 November 2026 at 03:26:58.652 UTC. It supports the described protocol flow through explanatory text, capability examples and a sequence diagram.

The linked specification, client matrix and other documentation are references only; their contents are outside the supplied evidence. No implementation was executed, and no benchmark, compatibility test or runtime result is available.

Access & freshness

costs

The page provides no prices, subscription requirements, usage charges or execution-cost estimates. Costs are unknown.

It does not establish whether a particular MCP client, server deployment or external job provider charges for the intended workflow.

rights

The overview states no license or redistribution terms for its documentation or the linked repository. Permission to copy, modify or redistribute those materials is unknown from this page.

The repository link alone does not establish reuse rights or licensing obligations for an implementation.

freshness

The capture date establishes when this copy was obtained. The page gives no publication date, last-update date or extension release number, so it does not establish compatibility with a particular implementation version.

Its server/discover reference points to a draft specification address. The overview supplies no release-stability guarantee, and current client support remains unknown.

actions

Before adopting Tasks, confirm support in the intended client and server. The page directs readers to [https://modelcontextprotocol.io/extensions/client-matrix.md] for client support and [https://github.com/modelcontextprotocol/ext-tasks] for the full specification.

Use the full specification to resolve expiration, error handling and implementation requirements. In the chosen implementation, verify reconnect behavior, saved identifiers, requests for input, terminal errors and cancellation outcomes before relying on them. Establish costs and reuse terms separately; this overview does not supply them.

Evidence for this report

selected-page.txtselected · checked 2026-11-13