An MCP request resumes after user confirmation. How would you validate its requestState?

Instruction: Use MCP 2026-07-28 to separate client behavior, server validation, current authorization, and replay protection. Fictional application state is an opaque integrity-protected reference to tenant T, principal U, operation X, invoice A, argument digest H and expiry 12:00. The server stores the protected record. Evaluate: (1) a changed byte, (2) valid state presented by V, (3) original state at 12:01, (4) two concurrent U retries at 11:59, and (5) U's access revoked at 11:58. State what may commit; this is an application fixture, not a mandated MCP state schema.

Context: Resume a multi round-trip tool request safely when opaque continuation state returns through an untrusted client.

Updated

Prepare a stronger answer

For MCP’s July 28, 2026 multi round-trip pattern, the client should return requestState exactly as received; it is opaque and should not be edited by the model. The server must treat it as attacker-controlled input...

This member answer includes:

  • • A complete, copyable sample answer
  • • A practical walkthrough
  • • Common mistakes and how to avoid them
  • • Guidance for adapting the answer to your experience
  • • Answered interviewer follow-ups
Unlock the full answer and preparation guide

One payment for one year of full access. No automatic renewal.

See pricing and everything included

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions