René's URL Explorer Experiment


Title: Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322) by maxisbey · Pull Request #2998 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322) by maxisbey · Pull Request #2998 · modelcontextprotocol/python-sdk

X Title: Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322) by maxisbey · Pull Request #2998 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322) by maxisbey · Pull Request #2998 · modelcontextprotocol/python-sdk

Open Graph Description: Client.call_tool / get_prompt / read_resource now resolve InputRequiredResult automatically: each entry in input_requests is dispatched to the same sampling_callback / elicitation_callback / list_r...

X Description: Client.call_tool / get_prompt / read_resource now resolve InputRequiredResult automatically: each entry in input_requests is dispatched to the same sampling_callback / elicitation_callback / list_r...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2998

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a541116f-e461-601a-1ee6-dbfaeb72a426
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4F0:27CF3D:3EC563:5462ED:6A5A70E8
html-safe-nonce4c961a4760f72af449db275c474308fb0fce02a2242b79d412dfa7177bfa6fa8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEYwOjI3Q0YzRDozRUM1NjM6NTQ2MkVEOjZBNUE3MEU4IiwidmlzaXRvcl9pZCI6Ijg4MTQzODY3NjYwNTM2NjUwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5318429bd39e5fecad573def738d300445826181c7f7a70b77474bfaaae57625
hovercard-subject-tagpull_request:3942802776
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2998/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/152e62048f7bc1c607db6c7c9525a5566caab32b34c455eb4298d31398abcbb9/modelcontextprotocol/python-sdk/pull/2998
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/152e62048f7bc1c607db6c7c9525a5566caab32b34c455eb4298d31398abcbb9/modelcontextprotocol/python-sdk/pull/2998
og:image:altClient.call_tool / get_prompt / read_resource now resolve InputRequiredResult automatically: each entry in input_requests is dispatched to the same sampling_callback / elicitation_callback / list_r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0437efb828a4041956ce45d1f7fe69fff38926c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2998#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2998
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2998
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 256 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
client-mrtrhttps://github.com/modelcontextprotocol/python-sdk/tree/client-mrtr
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/2998/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2998/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files
Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322)https://github.com/modelcontextprotocol/python-sdk/pull/2998#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
client-mrtrhttps://github.com/modelcontextprotocol/python-sdk/tree/client-mrtr
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#issue-4752652467
#2898https://github.com/modelcontextprotocol/python-sdk/issues/2898
#2974https://github.com/modelcontextprotocol/python-sdk/pull/2974
MCP Documentationhttps://modelcontextprotocol.io
#2898https://github.com/modelcontextprotocol/python-sdk/issues/2898
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 26, 2026 14:37https://github.com/modelcontextprotocol/python-sdk/pull/2998#event-27250633633
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2998#pullrequestreview-4580357787
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2998/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/modelcontextprotocol/python-sdk/pull/2998#pullrequestreview-4580357787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2998/ai_pr_review_1782484659393_5c7b073c-0614-4d4a-b8f7-cfaa67558163?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2998/ai_pr_review_1782484659393_5c7b073c-0614-4d4a-b8f7-cfaa67558163?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2998
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
examples/stories/mrtr/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files#diff-abb5f95dda1a20a1101c09ec9713e44cc560f760dc83e68fe7c05f225d757ab8
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#discussion_r3482156158
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://www.cubic.dev/action/fix/violation/b15f054c-9831-49b2-a335-6ca8545043c9
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
examples/stories/mrtr/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files#diff-abb5f95dda1a20a1101c09ec9713e44cc560f760dc83e68fe7c05f225d757ab8
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#discussion_r3482156162
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://www.cubic.dev/action/fix/violation/44d86545-4727-4d18-ace9-64d6564cb107
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
examples/stories/manifest.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2998#pullrequestreview-4580371949
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2998/files
tests/client/test_session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files#diff-623490a9c2dd576cc59e89f8d51f64acfffdeaad940e0bd4a0a51a50bc30d92d
claudehttps://github.com/apps/claude
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#discussion_r3482169385
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
#2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
#2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
#2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
lowlevel Server: widen on_* return types for InputRequiredResult; add subscriptions/listen slot #2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
maxisbeyhttps://github.com/maxisbey
June 26, 2026 15:02https://github.com/modelcontextprotocol/python-sdk/pull/2998#commits-pushed-82c3ad6
https://github.com/maxisbey
Client auto-resolves InputRequiredResult via existing callbacks (SEP-…https://github.com/modelcontextprotocol/python-sdk/pull/2998/commits/82c3ad6c1ac2a5c5bff2ed9cf8837171b21f337a
82c3ad6https://github.com/modelcontextprotocol/python-sdk/pull/2998/commits/82c3ad6c1ac2a5c5bff2ed9cf8837171b21f337a
https://github.com/maxisbey
docs: cross-link callbacks/elicitation/deprecated to MRTR; add when-t…https://github.com/modelcontextprotocol/python-sdk/pull/2998/commits/48053e6b7be434b7e68b09781d0a47763f550116
48053e6https://github.com/modelcontextprotocol/python-sdk/pull/2998/commits/48053e6b7be434b7e68b09781d0a47763f550116
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/7dbd4885c37e34d3fe4a0f9099ba7b62df6a0ed1..48053e6b7be434b7e68b09781d0a47763f550116
7dbd488https://github.com/modelcontextprotocol/python-sdk/commit/7dbd4885c37e34d3fe4a0f9099ba7b62df6a0ed1
48053e6https://github.com/modelcontextprotocol/python-sdk/commit/48053e6b7be434b7e68b09781d0a47763f550116
Compare https://github.com/modelcontextprotocol/python-sdk/compare/7dbd4885c37e34d3fe4a0f9099ba7b62df6a0ed1..48053e6b7be434b7e68b09781d0a47763f550116
June 26, 2026 15:03https://github.com/modelcontextprotocol/python-sdk/pull/2998#event-27251630924
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2998#pullrequestreview-4580557895
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2998/files/48053e6b7be434b7e68b09781d0a47763f550116
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2998/files/48053e6b7be434b7e68b09781d0a47763f550116#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
claudehttps://github.com/apps/claude
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#discussion_r3482330610
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 26, 2026 15:34https://github.com/modelcontextprotocol/python-sdk/pull/2998#event-27252796179
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2998#pullrequestreview-4580700314
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2998/files/48053e6b7be434b7e68b09781d0a47763f550116
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
08b6230https://github.com/modelcontextprotocol/python-sdk/commit/08b62308d4e653d54efc8ccd3b291d39dc4f0363
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2998#event-27252831085
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 26, 2026 15:35https://github.com/modelcontextprotocol/python-sdk/pull/2998#event-27252831821
Add docs, tested examples, and a story for SEP-990 identity assertion #3004 https://github.com/modelcontextprotocol/python-sdk/pull/3004
New Client (all-versions, low-level + high-level) #2894 https://github.com/modelcontextprotocol/python-sdk/issues/2894
Implement SEP-2260: Require Server requests to be associated with a Client request #2796 https://github.com/modelcontextprotocol/python-sdk/issues/2796
Drive resolver elicitation over the 2026-07-28 input_required flow #2986 https://github.com/modelcontextprotocol/python-sdk/pull/2986
Pass InputRequiredResult through the MCPServer prompt and resource pipelines #3020 https://github.com/modelcontextprotocol/python-sdk/pull/3020
Implement SEP-2322: Multi Round-Trip Requests #2797 https://github.com/modelcontextprotocol/python-sdk/issues/2797
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2998
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/modelcontextprotocol/python-sdk/pull/2998/files/b4cb9cad9d1a8158bcc3095afdc51ab2634544cf
https://github.com/apps/claude
claude[bot] https://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2998/files/48053e6b7be434b7e68b09781d0a47763f550116
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/2998/files/48053e6b7be434b7e68b09781d0a47763f550116
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2998
https://github.com/maxisbey
https://github.com/Kludex
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.