---
title: "MCP Task Lifecycle State Machine Validator"
method: POST
path: "/v1/tools/validate_mcp_task_lifecycle"
tags: ["TODO_TAGS_REVIEW"]
---

# MCP Task Lifecycle State Machine Validator

`POST /v1/tools/validate_mcp_task_lifecycle`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/validate_mcp_task_lifecycle`
- Auth: none declared

Validate that a long-running MCP task state transitions are legal per the new MCP specification state machine: working to input_required or terminal states (completed, failed, cancelled); input_required back to working or terminal. Flags each illegal jump. Terminal stage of the agent-authorization-lifecycle chain. Exports lifecycle attestation with execution_hash. Zero network, zero PII.

**Tool URL:** https://ainumbers.co/chaingraph/art-152-mcp-task-lifecycle-validator.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `transitions` unknown

## Response `200`

Successful tool execution result

- object
  - `illegal_transitions` unknown[]
    - unknown
  - `lifecycle_valid` boolean
  - `transition_count` integer

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
