René's URL Explorer Experiment


Title: Drive resolver elicitation over the 2026-07-28 input_required flow by Kludex · Pull Request #2986 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Drive resolver elicitation over the 2026-07-28 input_required flow by Kludex · Pull Request #2986 · modelcontextprotocol/python-sdk

X Title: Drive resolver elicitation over the 2026-07-28 input_required flow by Kludex · Pull Request #2986 · modelcontextprotocol/python-sdk

Description: Summary #2969 added the Resolve/Elicit resolver dependency-injection API for @mcp.tool() functions, eliciting via a synchronous ctx.elicit() request mid-call - the 2025 model, which doesn't exist at 2026-07-28 (sampling/roots/elicitation are only embedded in InputRequiredResult there). This PR makes the resolver Elicit[T] path negotiate the transport by protocol version, so the same author-facing code works on both: >= 2026-07-28 - the framework returns an InputRequiredResult carrying the batched questions and resumes when the client retries call_tool(..., input_responses=..., request_state=...). Independent resolvers are asked together in one round; a resolver that depends on another's answer is asked in a later round. <= 2025-11-25 - it keeps the synchronous elicitation/create request mid-call (no regression for current clients). Author-facing code is unchanged - resolvers still return T / Elicit[T]; the framework drives the multi-round loop. And since Client.call_tool auto-drives InputRequiredResult retries through the client's normal callbacks (SEP-2322, #2998), a client with an elicitation_callback handles resolver questions transparently on either protocol version - several tests here prove that loop end-to-end. async def confirm_delete(path: str) -> Confirm | Elicit[Confirm]: if not list_files(path): return Confirm(ok=True) # empty folder: no question, no round-trip return Elicit(f"{path} has files. Delete?", Confirm) @mcp.tool() async def delete_folder(path: str, confirm: Annotated[ElicitationResult[Confirm], Resolve(confirm_delete)]) -> str: match confirm: case AcceptedElicitation(data=Confirm(ok=True)): ... # delete case DeclinedElicitation(): ... # user declined the prompt case CancelledElicitation(): ... # user cancelled How it works resolve_arguments becomes a resumable DAG walk: it reads ctx.input_responses / ctx.request_state, runs each resolver, and collects any Elicit it can't yet answer into a pending map. If anything is pending, Tool.run returns the InputRequiredResult instead of running the body. Only elicited answers persist in request_state across rounds, keyed by a worker-stable module:qualname wire key, so each question is asked exactly once per logical call and two consumers of one resolver share one question. A resolver that resolves without eliciting is pure and may re-run on each round; an eliciting resolver runs again to consume its answer. Persisted entries store the exact content the client sent (which already passed validation) - encode and restore are the identity on the client's bytes, so no alias or serialization configuration can break the round-trip. Restored entries are re-validated into the resolver's Elicit[T] model; request_state is client-supplied, so an entry that fails validation is treated as no-progress and the question is re-asked (the same stance the state decoder takes for a malformed envelope). A fresh answer whose content doesn't match the requested schema is an explicit tool error - on both transports (the legacy path previously let the raw pydantic ValidationError text reach the client; that change is noted in the migration guide). A return annotation with more than one distinct Elicit arm (-> Elicit[A] | Elicit[B]) raises InvalidSignature at registration, like cycles and unclassifiable parameters: the restore path validates against one statically-known schema, so the ambiguous shape either never converges or silently injects a wrong-typed model when the shapes overlap. The embedded elicitation is gated on the client's declared capability, per the spec's MUST: a client that didn't declare (form) elicitation support gets a -32021 missing-required-client-capability error with the requiredCapabilities payload, instead of questions it can't render. New render_elicitation_schema() helper in elicitation.py (shared by elicit_with_validation and the input_requests rendering). The legacy path also now reports accept-with-no-content explicitly instead of an "unexpected action" error. Docs & examples The Dependencies tutorial's "Ask when you must" section explains the version-negotiated transport, scopes the run-once guarantee to what is actually true (each question is asked once; an eliciting resolver runs again to consume its answer; a non-eliciting resolver may re-run when a call resumes), and documents the determinism constraint (a question must derive from tool args and earlier answers - per-round generated values like a default_factory id don't bind across rounds). Multi-round-trip requests no longer claims @mcp.tool() has no high-level path to InputRequiredResult - resolver DI is that path now. examples/stories/refund_desk flips from era = "legacy" to era = "dual" - the manifest comment said to do exactly that once this capability landed - so the story runs the full matrix on both protocol generations with identical author code. Out of scope (follow-ups) request_state is client-trusted here: forged entries can't smuggle unvalidated or wrongly-typed values into tool parameters (restore validation, above), but a client can still fabricate a valid-shaped outcome (e.g. a confirmation it never showed the user) - the same thing a lying client can do by answering the live question, on any transport. What sealing adds is integrity against third-party tampering and replay/cross-request binding; HMAC-sealing request_state with a per-server key is a separate PR (the typescript-sdk staged it the same way). Tests tests/server/mcpserver/test_resolve.py: the MRTR loop is tested both manually (per-round wire shapes via client.session.call_tool(..., allow_input_required=True): first-round question shape, independent questions batched into one round, factory closures with distinct wire keys, non-elicitation response) and end-to-end through the client auto-driver (accept/decline/cancel outcomes, dependent chains asked across rounds with each question answered exactly once, deep chains, restored typed models, accept-with-no-content). Hardening tests: forged request_state (non-dict and schema-failing data) re-asks instead of erroring or injecting, declines persist across rounds, unknown wire keys are ignored, aliased and divergent-alias models round-trip, schema-mismatched fresh answers produce the explicit error on both transports, an 11-deep chain trips the client's input_required_max_rounds, multi-arm Elicit annotations are rejected at registration, and the -32021 capability gate. The synchronous legacy path keeps its own legs, and the docs/story suites run both transports. 100% branch coverage. AI Disclaimer

Open Graph Description: Summary #2969 added the Resolve/Elicit resolver dependency-injection API for @mcp.tool() functions, eliciting via a synchronous ctx.elicit() request mid-call - the 2025 model, which doesn't exi...

X Description: Summary #2969 added the Resolve/Elicit resolver dependency-injection API for @mcp.tool() functions, eliciting via a synchronous ctx.elicit() request mid-call - the 2025 model, which doesn&#39;t...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3b1bed8d-db37-0323-6dca-e9ac4201d1bc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC76A:171905:45D796:5D04E9:6A5B2CA4
html-safe-nonce2f6382513c749b5f748b19a3ae03793945e48a395f10bab4b01622f23123f2a2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzZBOjE3MTkwNTo0NUQ3OTY6NUQwNEU5OjZBNUIyQ0E0IiwidmlzaXRvcl9pZCI6IjMyMzQ5NTIzNDM4ODExOTg3NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac96ae2c4439b65070afee1e5ca7be1e99797d203f2656d7e2956c0db2adebc257
hovercard-subject-tagpull_request:3941267621
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2986/files
twitter:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
og:image:altSummary #2969 added the Resolve/Elicit resolver dependency-injection API for @mcp.tool() functions, eliciting via a synchronous ctx.elicit() request mid-call - the 2025 model, which doesn't exi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2986%2Ffiles
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%2F2986%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
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 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
resolver-input-requiredhttps://github.com/modelcontextprotocol/python-sdk/tree/resolver-input-required
Conversation 32 https://github.com/modelcontextprotocol/python-sdk/pull/2986
Commits 10 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits
Checks 35 https://github.com/modelcontextprotocol/python-sdk/pull/2986/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Drive resolver elicitation over the 2026-07-28 input_required flow https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#top
Show all changes 10 commits https://github.com/modelcontextprotocol/python-sdk/pull/2986/files
555c640 Drive resolver elicitation over the 2026-07-28 input_required flow Kludex Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/555c640dd6bbeb87c23f868ed219f8942d0610f3
4cebc58 Remove casts from the input_required resolver path Kludex Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/4cebc5804199772b440f756d62df104759c39ba9
31ccb80 Fix resolver MRTR edge cases from review Kludex Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/31ccb807278ed8a319a3fbddbb4768f9459f3090
fad97fd Fix two MRTR state bugs found by Codex review Kludex Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/fad97fdf79d82c7d2c54a8a1f3abb7361a5a8993
b6d6e07 Worker-stable wire keys; restore typed model for unannotated elicitin… Kludex Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/b6d6e07b515a569194ceedbf0b90fdff87d45e94
49e3b5f Harden the resolver input_required path; adapt its tests to the clien… maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/49e3b5f5003c7ad99c152b95da6a1bdb61544feb
1821703 Run refund_desk on the dual era maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/18217039c6ba99905d0459efabbc767536d9f7ab
85756a7 Reconcile docs with the negotiated elicitation transport maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/85756a79e01259f33b42d43f0b1abcfdddb2944a
ef53c4d Persist elicited answers as raw wire content; reject ambiguous Elicit… maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/ef53c4d320e7eedaf637dc7ed6c4dc2998bb8422
1a15cb6 Scope the resolver run-once guarantee to questions, not resolver bodies maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2986/commits/1a15cb6eb009af441da88e64d9d0544b950432d2
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
multi-round-trip.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
dependencies.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-301122785b17090d2e32557bb4ba696d2c76840bedf2579fb085ba86b2800ed1
elicitation.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-2068b11b69cd428a977a3c38fa01e668b0970900bf62f0bfa712c6011cc02fd3
README.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-cc297376751f78195533b5c7dec5e723df7aabe013e5abb4f23519d4b3996d2f
manifest.toml https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
README.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-acb1cb1a1806735db8eed206d3c486f4f5888117866367424632190dfdae21a4
README.md https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-462512547eb82613de1b8446bd86a21c9c84fd0c32c42d68ac83e15e83527e83
client.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-d0764b08d7fc92b0edcd7a6adbd5276365fbdc32c645987711b13f1d71bcc585
elicitation.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
context.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
resolve.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
base.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-b53a543261a9bc27476087bcb5fcf6e0d7e9d1b5b3df09e312f22b22ccffe761
test_dependencies.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-2c2e3ed20772cc0d8f2fb27b65184295a972f8330af8bff0faa7a831d0ef8880
test_elicitation.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-e0859047f8d747d60945aeff827a19c0db579dec605268a411e776ca257de141
test_resolve.py https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-5cf4640d448facc1292697df946c57e708a468be27bbac6cc04fd44584a97a21
docs/advanced/multi-round-trip.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/docs/advanced/multi-round-trip.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
docs/tutorial/dependencies.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-301122785b17090d2e32557bb4ba696d2c76840bedf2579fb085ba86b2800ed1
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/docs/tutorial/dependencies.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-301122785b17090d2e32557bb4ba696d2c76840bedf2579fb085ba86b2800ed1
https://github.com/modelcontextprotocol/python-sdk/pull/2986/checks?check_run_id=84064873675
claudehttps://github.com/apps/claude
Jun 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#r3492243760
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2https://github.com/modelcontextprotocol/python-sdk/issues/2
1a15cb6https://github.com/modelcontextprotocol/python-sdk/commit/1a15cb6eb009af441da88e64d9d0544b950432d2
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-301122785b17090d2e32557bb4ba696d2c76840bedf2579fb085ba86b2800ed1
docs/tutorial/elicitation.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-2068b11b69cd428a977a3c38fa01e668b0970900bf62f0bfa712c6011cc02fd3
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/docs/tutorial/elicitation.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-2068b11b69cd428a977a3c38fa01e668b0970900bf62f0bfa712c6011cc02fd3
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-2068b11b69cd428a977a3c38fa01e668b0970900bf62f0bfa712c6011cc02fd3
examples/stories/legacy_elicitation/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-cc297376751f78195533b5c7dec5e723df7aabe013e5abb4f23519d4b3996d2f
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/examples/stories/legacy_elicitation/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-cc297376751f78195533b5c7dec5e723df7aabe013e5abb4f23519d4b3996d2f
examples/stories/manifest.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/examples/stories/manifest.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
examples/stories/mrtr/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-acb1cb1a1806735db8eed206d3c486f4f5888117866367424632190dfdae21a4
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/examples/stories/mrtr/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-acb1cb1a1806735db8eed206d3c486f4f5888117866367424632190dfdae21a4
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-acb1cb1a1806735db8eed206d3c486f4f5888117866367424632190dfdae21a4
examples/stories/refund_desk/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-462512547eb82613de1b8446bd86a21c9c84fd0c32c42d68ac83e15e83527e83
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/examples/stories/refund_desk/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-462512547eb82613de1b8446bd86a21c9c84fd0c32c42d68ac83e15e83527e83
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-462512547eb82613de1b8446bd86a21c9c84fd0c32c42d68ac83e15e83527e83
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-462512547eb82613de1b8446bd86a21c9c84fd0c32c42d68ac83e15e83527e83
examples/stories/refund_desk/client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-d0764b08d7fc92b0edcd7a6adbd5276365fbdc32c645987711b13f1d71bcc585
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/examples/stories/refund_desk/client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-d0764b08d7fc92b0edcd7a6adbd5276365fbdc32c645987711b13f1d71bcc585
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-d0764b08d7fc92b0edcd7a6adbd5276365fbdc32c645987711b13f1d71bcc585
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-d0764b08d7fc92b0edcd7a6adbd5276365fbdc32c645987711b13f1d71bcc585
src/mcp/server/elicitation.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/src/mcp/server/elicitation.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
src/mcp/server/mcpserver/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
View file https://github.com/modelcontextprotocol/python-sdk/blob/1a15cb6eb009af441da88e64d9d0544b950432d2/src/mcp/server/mcpserver/context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2986/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/2986/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2986/files
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.