MCP Task Trace

MCP Tasks reference

A useful fixture covers the entire state machine.

Copy a working, input_required, resumed and completed MCP Task lifecycle for testing.

Lifecycle detail

Validate state and sequence.

The homepage sample begins with durable creation, pauses for an elicitation request, resumes working and completes with a tool result. Each line repeats complete task metadata so it can represent a tasks/get response or status notification snapshot.

Change IDs and timestamps, keep input request keys unique for the task lifetime, and validate the full trace before exercising real polling.

Continue debugging

MCP Task Trace is independent and is not affiliated with the Model Context Protocol project.