Title: MRTR (multi-round-trip requests) · Issue #2898 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: MRTR (multi-round-trip requests) · Issue #2898 · modelcontextprotocol/python-sdk
X Title: MRTR (multi-round-trip requests) · Issue #2898 · modelcontextprotocol/python-sdk
Description: 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/r...
Open Graph Description: 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...
X Description: 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: re...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/2898
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MRTR (multi-round-trip requests)","articleBody":"Tracks: #2797\n\nServer returns `input_required`, accepts `inputResponses` + `requestState` on retry, validates them; the client-loop helper for the high-level Client to consume.\n\n## What's in it\n\n- Server: return `input_required`, accept `inputResponses`/`requestState` on retry, validate them.\n- `requestState` integrity — treat as untrusted input; verify integrity and reject on failure (spec MUST). Mechanism (HMAC, signature, etc.) is implementer's choice.\n- Client-loop helper (call → input_required → fulfil via callbacks → retry; bounded; opt-out) — wired in by #2894.\n\n## Conformance\n\n- The 12 `input-required-result-*` server scenarios\n- `input-required-result-result-type`\n- Together with #2894: `sep-2322-client-request-state`\n\n## Dependencies\n\n- Depends on: #2892\n- Depends on: #2895\n\n## References\n\n- [MRTR pattern](https://modelcontextprotocol.io/specification/draft/basic/patterns/mrtr)\n- [SEP-2322](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2322)\n- [sep-2322.yaml](https://github.com/modelcontextprotocol/conformance/blob/main/src/seps/sep-2322.yaml)\n","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2026-06-17T11:12:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2898/python-sdk/issues/2898"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0b9be6e3-b448-7d69-6f53-9fc4c27ddd6b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84D6:7990:11A0CEB:1938AD0:6A589D92 |
| html-safe-nonce | 58671cdc68fd70059506075c98001a443f93ba95f984f3cf4e65bd246d183786 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEQ2Ojc5OTA6MTFBMENFQjoxOTM4QUQwOjZBNTg5RDkyIiwidmlzaXRvcl9pZCI6IjU1ODkwMTExMDI2MzYyMTk3OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f67a109981a466a282e85188f5e3e2279fbc8d2d1b9b6a2b65660ec132e56ee |
| hovercard-subject-tag | issue:4682674950 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/2898/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed78b40d2754fc5fa2f52f64ecf9e99760e236eded79a2f8e58fc56d4bb02dc5/modelcontextprotocol/python-sdk/issues/2898 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed78b40d2754fc5fa2f52f64ecf9e99760e236eded79a2f8e58fc56d4bb02dc5/modelcontextprotocol/python-sdk/issues/2898 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width