MCP lesson 06 · Handle round trips and Tasks
2026-07-28 core · deterministic JSON-RPC fixtures
Atlas Release Evidence Server. Read-only evidence, deterministic scoring, and an explicit evaluation Task across replicas and protocol eras.
01 · Smallest useful mechanism
Modern multi-round-trip requests return input_required and the client retries the original request with inputResponses. The official Tasks extension adds task handles and lifecycle operations after extension negotiation.
Both flows keep continuation explicit, typed, correlated, and subject to current authority.
02 · Experiment
Deterministic protocol fixture
This workbench uses inspectable JSON-RPC fixtures and injected failures. It does not make live calls or execute external effects.
Protocol workbench · atlas-tasks-v1
Injected failure
The client disconnects after starting work and later requests cancellation.
The trace has not run.
Commit to an implementation, then inject the failure and inspect the actual state transitions.
03 · Implementation brief
Your learning artifact
Stored only in this browser. No account required; course reset does not delete it.
04 · Check your understanding
Primary sources · verified 2026-08-02
Treating every pause as a Task creates infrastructure overhead; treating durable work as an in-memory clarification loses recovery, cancellation, and observability.
Common mistake: Tasks are still part of the modern core protocol. Tasks moved into the official io.modelcontextprotocol/tasks extension and must be negotiated by both parties.
Transfer exercise: Use MRTR to choose an evaluation profile, then run the selected evaluation as a Task that survives client disconnect.
Next: Explicit continuations are only useful if identity, authorization, hostile content, compatibility, and contract tests hold around every call.