René's URL Explorer Experiment


Title: Deprecate roots, sampling, and logging methods per SEP-2577 by Kludex · Pull Request #2926 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Deprecate roots, sampling, and logging methods per SEP-2577 by Kludex · Pull Request #2926 · modelcontextprotocol/python-sdk

X Title: Deprecate roots, sampling, and logging methods per SEP-2577 by Kludex · Pull Request #2926 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Deprecate roots, sampling, and logging methods per SEP-2577 by Kludex · Pull Request #2926 · modelcontextprotocol/python-sdk

Open Graph Description: Implements SEP-2577 for the 2026-07-28 spec (tracked in #2805). Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every method keeps working...

X Description: Implements SEP-2577 for the 2026-07-28 spec (tracked in #2805). Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every method keeps working...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:41183202-cefd-8f96-7e68-930a916e64d7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB62A:3A24D:14520E2:1B3A3FC:6A595AA2
html-safe-noncebe820e0100f7a7ea469e480638afd8b1697c8b33a9c2e63b9c490aeb11200091
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjJBOjNBMjREOjE0NTIwRTI6MUIzQTNGQzo2QTU5NUFBMiIsInZpc2l0b3JfaWQiOiIyNjg1NzQzNDg0MzY2NTg4NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac169229968eb18af7b372ed96f0bcf7a85e5dfc26f35bd953661c51d4109d9bd1
hovercard-subject-tagpull_request:3904157053
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
twitter:imagehttps://opengraph.githubassets.com/3b82c6796e47a239be0721fb7020ea49217e6680b38e478cbfb23b89faa86a67/modelcontextprotocol/python-sdk/pull/2926
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3b82c6796e47a239be0721fb7020ea49217e6680b38e478cbfb23b89faa86a67/modelcontextprotocol/python-sdk/pull/2926
og:image:altImplements SEP-2577 for the 2026-07-28 spec (tracked in #2805). Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every method keeps working...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKludex
hostnamegithub.com
expected-hostnamegithub.com
Nonea540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5
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
releasef4669eb12cd81bf213b8907a42667725d1583c79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2926%2Fcommits
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%2F2926%2Fcommits
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%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
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 255 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
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
deprecate-roots-sampling-logging-methodshttps://github.com/modelcontextprotocol/python-sdk/tree/deprecate-roots-sampling-logging-methods
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2926
Commits7 (7)https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2926/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/files
Deprecate roots, sampling, and logging methods per SEP-2577https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits#top
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
deprecate-roots-sampling-logging-methodshttps://github.com/modelcontextprotocol/python-sdk/tree/deprecate-roots-sampling-logging-methods
Deprecate roots, sampling, and logging methods per SEP-2577https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/86bd4f34088154056e2b240fb02368a47e4f111f
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
86bd4f3https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/86bd4f34088154056e2b240fb02368a47e4f111f
https://github.com/modelcontextprotocol/python-sdk/tree/86bd4f34088154056e2b240fb02368a47e4f111f
Emit deprecation warnings as a visible MCPDeprecationWarninghttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a5c1522cac46a7e3a1d1c753e751a8395aa8768c
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
a5c1522https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a5c1522cac46a7e3a1d1c753e751a8395aa8768c
https://github.com/modelcontextprotocol/python-sdk/tree/a5c1522cac46a7e3a1d1c753e751a8395aa8768c
Deprecate only `Context.log` for logging, with a capability-level messagehttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a465678c42d79a920692c46d99789540e1c3e60c
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
a465678https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a465678c42d79a920692c46d99789540e1c3e60c
https://github.com/modelcontextprotocol/python-sdk/tree/a465678c42d79a920692c46d99789540e1c3e60c
Restructure list_roots deprecation test to cover its branches on 3.14https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/8cfdd44010e1ff1c888f52cb64b5f55dab8ff2ae
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
8cfdd44https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/8cfdd44010e1ff1c888f52cb64b5f55dab8ff2ae
https://github.com/modelcontextprotocol/python-sdk/tree/8cfdd44010e1ff1c888f52cb64b5f55dab8ff2ae
Deprecate Connection.log for consistency with the logging capabilityhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/7ee2e0d362b650092ecc6b8f425e54e2f94cfbdd
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
7ee2e0dhttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/7ee2e0d362b650092ecc6b8f425e54e2f94cfbdd
https://github.com/modelcontextprotocol/python-sdk/tree/7ee2e0d362b650092ecc6b8f425e54e2f94cfbdd
List the lowlevel Context.log in the SEP-2577 deprecation notehttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/24cb7b086e282b13f7cf07e2da547aae9d189f45
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
24cb7b0https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/24cb7b086e282b13f7cf07e2da547aae9d189f45
https://github.com/modelcontextprotocol/python-sdk/tree/24cb7b086e282b13f7cf07e2da547aae9d189f45
Use capability-level deprecation messages for roots and samplinghttps://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/b3041311d6c810bbf51cb0c5a4e76a49c3628576
https://github.com/Kludex
Kludexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Kludex
b304131https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/b3041311d6c810bbf51cb0c5a4e76a49c3628576
https://github.com/modelcontextprotocol/python-sdk/tree/b3041311d6c810bbf51cb0c5a4e76a49c3628576
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.