Skip to content

5. Asynchronous operations

In MCP, an asynchronous CRUD operation is an MCP task: the CRUD term “operation” corresponds to the MCP term “task”.

Asynchronous operations extension MCP Tasks
Operation ID taskId
pending working
succeeded completed, with a result whose isError is false
failed (a CRUD error) completed, with a result whose isError is true (section 4)
retention (ASYNC_RETENTION) ttlMs
suggested polling interval pollIntervalMs

MCP_ASYNC_TASKS MUST

A Client that prefers or requires asynchronous processing (Async ASYNC_CLIENT_PREFER and ASYNC_CLIENT_REQUIRE) MUST declare the MCP Tasks extension in its request capabilities, and MUST declare which one it means in the dev.lingodata/crud.async key of the request _meta, with the value prefer or require.

MCP_ASYNC_NEGOTIATION MUST

When the Client requires asynchronous processing and the Server cannot provide it, the Server MUST fail with a tool execution error with the NEGOTIATION code. When the Server can only run the operation asynchronously and the Client did not declare the MCP Tasks extension, the Server MUST return the MCP MissingRequiredClientCapability error (-32021), as defined by MCP Tasks.

MCP_ASYNC_CREATE_TASK MUST

When the Server runs an operation asynchronously, it MUST respond to tools/call with a CreateTaskResult (resultType: "task"), whose taskId is the Operation ID, a UUIDv7 in uuid-hex format (Async ASYNC_OPERATION_ID).

MCP_ASYNC_RESULT MUST

When the operation has completed, tasks/get MUST return the task with status: "completed" and, in result, the tool result that the synchronous call would have returned, including its _meta and, for CRUD errors, isError: true (Async ASYNC_POLL_SUCCESS and ASYNC_POLL_FAILURE).

MCP_ASYNC_PROGRESS MAY

Servers MAY report progress (Async ASYNC_PROGRESS) with MCP progress notifications, when the request carries a progressToken, and in the statusMessage of the task.

Source: lingodata/crud@bc225ba · specs/mcp/sections/05-async.md · mcp 0.2.0 (draft) · MCP revision 2026-07-28

LingoData specifications, reference implementations and this site are licensed under the Apache License 2.0. Copyright 2026 Gustavo Gondim.