René's URL Explorer Experiment


Title: Add resolver dependency injection for MCPServer tools by Kludex · Pull Request #2969 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add resolver dependency injection for MCPServer tools by Kludex · Pull Request #2969 · modelcontextprotocol/python-sdk

X Title: Add resolver dependency injection for MCPServer tools by Kludex · Pull Request #2969 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add resolver dependency injection for MCPServer tools by Kludex · Pull Request #2969 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Adds server-side dependency injection for @mcp.tool() functions. A tool parameter annotated Annotated[T, Resolve(fn)] is filled by running the resolver fn before the tool body, instead of b...

X Description: Summary Adds server-side dependency injection for @mcp.tool() functions. A tool parameter annotated Annotated[T, Resolve(fn)] is filled by running the resolver fn before the tool body, instead of b...

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

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:63fe8869-2593-63e2-53fe-6f545ba5db9e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC01C:E0123:18A2FA6:20BA5B3:6A5AD3DB
html-safe-noncee0bbe78ee94d2e723ab3a1b2e7baafd2b481e646b10a5cb2b9257917a2b03b99
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDFDOkUwMTIzOjE4QTJGQTY6MjBCQTVCMzo2QTVBRDNEQiIsInZpc2l0b3JfaWQiOiI4NDYyMzM5OTgwMjMyNjc2MzE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1798121c3bdec74ab694bd55616872da7c0453af2d0d7e24f6b1242654c6d5c8
hovercard-subject-tagpull_request:3935675337
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/2969/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/957ce961af0f24fc42828fbe4947475eb14cac6291022b1b2db44bf66bd75794/modelcontextprotocol/python-sdk/pull/2969
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/957ce961af0f24fc42828fbe4947475eb14cac6291022b1b2db44bf66bd75794/modelcontextprotocol/python-sdk/pull/2969
og:image:altSummary Adds server-side dependency injection for @mcp.tool() functions. A tool parameter annotated Annotated[T, Resolve(fn)] is filled by running the resolver fn before the tool body, instead of b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKludex
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2969#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2969
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%2F2969
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/2969
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
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
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
resolver-dependency-injectionhttps://github.com/modelcontextprotocol/python-sdk/tree/resolver-dependency-injection
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Commits21 (21)https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2969/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files
Add resolver dependency injection for MCPServer toolshttps://github.com/modelcontextprotocol/python-sdk/pull/2969#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
resolver-dependency-injectionhttps://github.com/modelcontextprotocol/python-sdk/tree/resolver-dependency-injection
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#issue-4744369309
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
June 25, 2026 15:44https://github.com/modelcontextprotocol/python-sdk/pull/2969#commits-pushed-e58ff02
https://github.com/Kludex
Add resolver dependency injection for MCPServer toolshttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/e58ff0288a67f9cf9ae4822f82fcd30e55c00863
e58ff02https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/e58ff0288a67f9cf9ae4822f82fcd30e55c00863
https://github.com/Kludex
Cover Context.headers and resolver schema-only pathshttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/e1100939bb04ce52adf5ad3254d43498d33b22ef
e110093https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/e1100939bb04ce52adf5ad3254d43498d33b22ef
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572043889
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572043889
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
fix them all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782397718844_c85a0e3d-26b5-4d9b-b0ce-d40f836f58f1?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782397718844_c85a0e3d-26b5-4d9b-b0ce-d40f836f58f1?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/tools/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef#diff-b53a543261a9bc27476087bcb5fcf6e0d7e9d1b5b3df09e312f22b22ccffe761
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/tools/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef#diff-b53a543261a9bc27476087bcb5fcf6e0d7e9d1b5b3df09e312f22b22ccffe761
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475292080
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://www.cubic.dev/action/fix/violation/8f89977e-3711-46af-aaf4-77aac276fa9f
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475796904
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475798357
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/e1100939bb04ce52adf5ad3254d43498d33b22ef#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Resolve type hints for callable-object tools in resolver detectionhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/cafe8f325def42bb88dc2fb804c09a9174611a45
cafe8f3https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/cafe8f325def42bb88dc2fb804c09a9174611a45
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572199678
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/cafe8f325def42bb88dc2fb804c09a9174611a45
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572199678
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/2969/ai_pr_review_1782399386712_5feca952-69c8-4d24-ac68-05c9a010b4d1?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782399386712_5feca952-69c8-4d24-ac68-05c9a010b4d1?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/cafe8f325def42bb88dc2fb804c09a9174611a45#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/cafe8f325def42bb88dc2fb804c09a9174611a45#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
June 25, 2026 17:20https://github.com/modelcontextprotocol/python-sdk/pull/2969#commits-pushed-3f59ea3
https://github.com/Kludex
Merge remote-tracking branch 'origin/main' into worktree-synthetic-si…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/3f59ea35b4e6a0f16a7be597f732b5fe2b65e68d
3f59ea3https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/3f59ea35b4e6a0f16a7be597f732b5fe2b65e68d
https://github.com/Kludex
Pin elicitation resolver tests to legacy mode for 2026-07-28 defaulthttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/9e9282a126bc3567af0f9facbef66f6652062382
9e9282ahttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/9e9282a126bc3567af0f9facbef66f6652062382
https://github.com/Kludex
Address cubic review: by-name aliasing, return-annotation, callable-r…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/c3ea531bb76cf7fdbb4c688d74477316cf0fc409
c3ea531https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/c3ea531bb76cf7fdbb4c688d74477316cf0fc409
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572702637
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/c3ea531bb76cf7fdbb4c688d74477316cf0fc409
claudehttps://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572702637
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Fix resolver edge cases: non-BaseModel returns, optional Context, bou…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/aac86dc0c8847489fd6b622df2b1229446f3b9ab
aac86dchttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/aac86dc0c8847489fd6b622df2b1229446f3b9ab
#2969https://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572895618
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/aac86dc0c8847489fd6b622df2b1229446f3b9ab
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572895618
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cubic CLIhttps://docs.cubic.dev/ide/cli-review?utm_source=github&utm_content=general_review_body
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782404019383_38dc5ec0-e0a3-49ce-9c78-71573a5d6e91?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782404019383_38dc5ec0-e0a3-49ce-9c78-71573a5d6e91?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/aac86dc0c8847489fd6b622df2b1229446f3b9ab#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475947189
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://www.cubic.dev/action/fix/violation/4acb6d0e-c9f9-4ad7-90ed-37a68cfd8256
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475997007
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3475998531
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/aac86dc0c8847489fd6b622df2b1229446f3b9ab#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 25, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#issuecomment-4801838291
aac86dchttps://github.com/modelcontextprotocol/python-sdk/commit/aac86dc0c8847489fd6b622df2b1229446f3b9ab
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4572917933
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/aac86dc0c8847489fd6b622df2b1229446f3b9ab
src/mcp/server/mcpserver/tools/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/aac86dc0c8847489fd6b622df2b1229446f3b9ab#diff-b53a543261a9bc27476087bcb5fcf6e0d7e9d1b5b3df09e312f22b22ccffe761
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Validate resolver tool args once; key resolvers by method identityhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/37c038c6fcdef965450469b6617be66d78e67d19
37c038chttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/37c038c6fcdef965450469b6617be66d78e67d19
#2969https://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4573002954
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/37c038c6fcdef965450469b6617be66d78e67d19
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4573002954
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cubic CLIhttps://docs.cubic.dev/ide/cli-review?utm_source=github&utm_content=general_review_body
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782404990006_a9cdc1f1-f0d1-4821-8d3b-1587211f1537?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2969/ai_pr_review_1782404990006_a9cdc1f1-f0d1-4821-8d3b-1587211f1537?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/37c038c6fcdef965450469b6617be66d78e67d19#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/mcpserver/utilities/func_metadata.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/37c038c6fcdef965450469b6617be66d78e67d19#diff-5584d2273ac6a270822fe54fb95a27e03d6895afd1216e8bd71d1850e8f09676
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4573061220
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/37c038c6fcdef965450469b6617be66d78e67d19
claudehttps://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4573061220
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
37c038chttps://github.com/modelcontextprotocol/python-sdk/commit/37c038c6fcdef965450469b6617be66d78e67d19
37c038chttps://github.com/modelcontextprotocol/python-sdk/commit/37c038c6fcdef965450469b6617be66d78e67d19
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Memoize built-in bound-method resolvers; stop mutating pre_validatedhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/58238b137d785156d083f97ddf67bcccb1b4e373
58238b1https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/58238b137d785156d083f97ddf67bcccb1b4e373
#2969https://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4573275716
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/58238b137d785156d083f97ddf67bcccb1b4e373
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/58238b137d785156d083f97ddf67bcccb1b4e373#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
June 26, 2026 09:49https://github.com/modelcontextprotocol/python-sdk/pull/2969#commits-pushed-b7b8967
https://github.com/Kludex
Make ElicitationResult subscriptable so the documented Resolve union …https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b7b89678f3ef7bbd625c9705bbbe55c67e451d77
b7b8967https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b7b89678f3ef7bbd625c9705bbbe55c67e451d77
https://github.com/Kludex
Merge remote-tracking branch 'origin/main' into worktree-synthetic-si…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/163721fb581d9599aa8d0475d356544d553d447d
163721fhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/163721fb581d9599aa8d0475d356544d553d447d
https://github.com/Kludex
Update test_resolve imports to mcp_types after the mcp-types package …https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b0424daf83deb5b623d32da1c85d9268cf66041b
b0424dahttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b0424daf83deb5b623d32da1c85d9268cf66041b
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4577786322
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/b7b89678f3ef7bbd625c9705bbbe55c67e451d77
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/b7b89678f3ef7bbd625c9705bbbe55c67e451d77#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Switch resolver docs/example to a delete-folder confirmation flowhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/8f677c922a37ed03f8cd8b35a1d9dc41fe87bf9b
8f677c9https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/8f677c922a37ed03f8cd8b35a1d9dc41fe87bf9b
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4578072830
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/8f677c922a37ed03f8cd8b35a1d9dc41fe87bf9b
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/8f677c922a37ed03f8cd8b35a1d9dc41fe87bf9b#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#ref-pullrequest-4750879131
Drive resolver elicitation over the 2026-07-28 input_required flow #2986 https://github.com/modelcontextprotocol/python-sdk/pull/2986
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#issuecomment-4810443352
#2986https://github.com/modelcontextprotocol/python-sdk/pull/2986
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Kludexhttps://github.com/Kludex
June 26, 2026 17:04https://github.com/modelcontextprotocol/python-sdk/pull/2969#commits-pushed-d22ce97
https://github.com/Kludex
Merge remote-tracking branch 'origin/main' into resolver-dependency-i…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/d22ce97a9fce5a2056f91e491d914e02cb5f4b25
d22ce97https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/d22ce97a9fce5a2056f91e491d914e02cb5f4b25
https://github.com/Kludex
Reject union-wrapped Resolve; honor the bare ElicitationResult aliashttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/800d253a778b775b675e20463262eb87304fb8e0
800d253https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/800d253a778b775b675e20463262eb87304fb8e0
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4580588523
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/d22ce97a9fce5a2056f91e491d914e02cb5f4b25
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/d22ce97a9fce5a2056f91e491d914e02cb5f4b25#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
src/mcp/server/elicitation.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/d22ce97a9fce5a2056f91e491d914e02cb5f4b25#diff-c4db625b035748b41b473c918e7d296aa97e84921be651e4a165beaf95b83b29
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
Note the ElicitationResult isinstance behavior change in the migratio…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/6b1070222cfdc5801c024cfacd69d6374f070d4c
6b10702https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/6b1070222cfdc5801c024cfacd69d6374f070d4c
https://github.com/Kludex
Document resolver dependency injection in the elicitation tutorial; c…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/f2106f54c873cc4e079670c91e0bfc4d60b2c964
f2106f5https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/f2106f54c873cc4e079670c91e0bfc4d60b2c964
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4581116512
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/f2106f54c873cc4e079670c91e0bfc4d60b2c964
claudehttps://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4581116512
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2986https://github.com/modelcontextprotocol/python-sdk/pull/2986
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
maxisbeyhttps://github.com/maxisbey
June 29, 2026 10:03https://github.com/modelcontextprotocol/python-sdk/pull/2969#commits-pushed-2f8b657
https://github.com/maxisbey
Merge remote-tracking branch 'origin/main' into resolver-dependency-i…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/2f8b6576164e5b05b46fc7d3dff284f8c1c4f16f
2f8b657https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/2f8b6576164e5b05b46fc7d3dff284f8c1c4f16f
https://github.com/maxisbey
Return None from Context.headers when the request object has no headershttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b671eaa3027f04083160cd530afedb082d4f4f7a
b671eaahttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b671eaa3027f04083160cd530afedb082d4f4f7a
https://github.com/maxisbey
Add a Dependencies tutorial page for resolver injectionhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b2e0ba336b616e4c937a456dd748e7e875c03884
b2e0ba3https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/b2e0ba336b616e4c937a456dd748e7e875c03884
https://github.com/maxisbey
Add refund_desk story: resolver-injected parameters hidden from the s…https://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
1795a2dhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/commits/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4591032745
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/2f8b6576164e5b05b46fc7d3dff284f8c1c4f16f
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/2f8b6576164e5b05b46fc7d3dff284f8c1c4f16f#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
claudehttps://github.com/apps/claude
Jun 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3491037742
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
c3ea531https://github.com/modelcontextprotocol/python-sdk/commit/c3ea531bb76cf7fdbb4c688d74477316cf0fc409
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4591137525
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
f664db8https://github.com/modelcontextprotocol/python-sdk/commit/f664db89522c3bda7c6a2b997f1a99ecc7e2f71c
Jun 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#event-27325302215
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 29, 2026 10:51https://github.com/modelcontextprotocol/python-sdk/pull/2969#event-27325304073
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2969#pullrequestreview-4591198585
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
src/mcp/server/mcpserver/resolve.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2969/files/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf#diff-11e7b9b5b92bd12c2445dad78f3182ee7846a987d98a01a15aa454910cee97f3
claudehttps://github.com/apps/claude
Jun 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2969#discussion_r3491180112
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
Implement SEP-2322: Multi Round-Trip Requests #2797 https://github.com/modelcontextprotocol/python-sdk/issues/2797
Extend resolver DI to sampling and roots requests #3049 https://github.com/modelcontextprotocol/python-sdk/pull/3049
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%2F2969
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/2969/files/58238b137d785156d083f97ddf67bcccb1b4e373
https://github.com/apps/claude
claude[bot] https://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
https://github.com/maxisbey
maxisbey https://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/2969/files/1795a2da0dd5aa0aa0768cbb52a0da5b128bc2cf
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2969
https://github.com/Kludex
https://github.com/maxisbey
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.