Skip to content

MRTR (multi-round-trip requests) #2898

Description

@maxisbey

Tracks: #2797

Server returns input_required, accepts inputResponses + requestState on retry, validates them; the client-loop helper for the high-level Client to consume.

What's in it

  • Server: return input_required, accept inputResponses/requestState on retry, validate them.
  • requestState integrity — treat as untrusted input; verify integrity and reject on failure (spec MUST). Mechanism (HMAC, signature, etc.) is implementer's choice.
  • Client-loop helper (call → input_required → fulfil via callbacks → retry; bounded; opt-out) — wired in by New Client (all-versions, low-level + high-level) #2894.

Conformance

Dependencies

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-2026-07-28Concerns the SDK's implementation of the 2026-07-28 MCP spec revisionv2Affects the v2 line (2.x on main)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions