René's URL Explorer Experiment


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

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

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

Description: Closes #2805. Implements SEP-2577 for the 2026-07-28 spec. Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every type stays fully functional for sessions negotiating 2025-11-25 and earlier. 4 capability fields (ClientCapabilities.roots, .sampling, .tasks.requests.sampling, ServerCapabilities.logging) marked with Annotated[T, deprecated(...)] - warns on attribute access (not on construction/validation) and sets the JSON-schema deprecated flag. 17 type classes (the Roots/Sampling/Logging request/result/notification/param types) marked with a class-level @deprecated. SamplingMessageContentBlock and LoggingLevel are type aliases, so they carry docstring notes only. The SEP's *ResultResponse wrappers have no counterpart in this SDK. Keeping the build green A scoped filterwarnings entry in pyproject.toml silences the advisory runtime DeprecationWarning, since the SDK still builds these types internally to serve older sessions. The SDK's own references carry # pyright: ignore[reportDeprecated]. Rather than decorate user-facing docs with suppressions, the sampling-specific example snippet and its README section are dropped, and the incidental sampling callback is trimmed from the general stdio client example. Conformance SEP-2577 is advisory only with no observable wire behavior, so there is nothing for the conformance suite to assert - this is the expected "no matching test" case rather than a gap. AI Disclaimer This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

Open Graph Description: Closes #2805. Implements SEP-2577 for the 2026-07-28 spec. Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every type stays fully function...

X Description: Closes #2805. Implements SEP-2577 for the 2026-07-28 spec. Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every type stays fully function...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c1a86f04-8fd4-f429-5ab1-f8cf8aa4ab48
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93E8:F8C9C:10B5DA:17E8A9:6A59D175
html-safe-nonce927fbafc003c67fc68e163b47a1b8d927f743a130cee3bce837067ad54e1f943
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0U4OkY4QzlDOjEwQjVEQToxN0U4QTk6NkE1OUQxNzUiLCJ2aXNpdG9yX2lkIjoiMzMzMTUyODY3Nzg1MTI1NTE1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac12a3d91ceca9e17478ada53fba7d75365f0afda9b226feaeb0afaa8556e85f76
hovercard-subject-tagpull_request:3904069309
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/2922/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:altCloses #2805. Implements SEP-2577 for the 2026-07-28 spec. Summary The deprecation is advisory only - no wire-level changes, capability negotiation is unchanged, and every type stays fully function...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
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
releasebfacf98c3b7ad151665d6ddd216469389872b251
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2922%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%2F2922%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/2922/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/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 255 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
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
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
deprecate-roots-sampling-logging-sep-2577https://github.com/modelcontextprotocol/python-sdk/tree/deprecate-roots-sampling-logging-sep-2577
Conversation 4 https://github.com/modelcontextprotocol/python-sdk/pull/2922
Commits 1 https://github.com/modelcontextprotocol/python-sdk/pull/2922/commits
Checks 34 https://github.com/modelcontextprotocol/python-sdk/pull/2922/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Deprecate roots, sampling, and logging per SEP-2577 https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#top
Show all changes 1 commit https://github.com/modelcontextprotocol/python-sdk/pull/2922/files
08afbf5 Deprecate roots, sampling, and logging per SEP-2577 Kludex Jun 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2922/commits/08afbf587116d52218798b1d69bb15b0f772a016
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
README.v2.md https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
stdio_client.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-80e22c31535d5b73813e1fc99d0e379ef7629c923133d659c30c2f267e87e29e
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-7ba69ab49e24048be9cec660f89c5bfa9f2bd520203062b2f5ee7909647a34d0
sampling.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
connection.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
validation.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-714ef52aedaa95c74f63b6e583fda076fd14ae060477542d61198a0235288a85
peer.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-7516fc8e5003b3509266f53789ae4f7873bf19b8ecda78e5ce81ecac9401bf74
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-9f1fb2e597d3bbb6f7b01cff7178a42325dec6460c16dfa74838da9a766efcf2
_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-727bcd5cda4a440f63005368c3cbc5f6308f40630901166fd456039c52d3363e
methods.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-04eef27cdc21df5bbee180c68d2375c7c354489f9331c70b41c5bbb9ea1ddd49
test_client.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-f91d7d1bfecb41d80a4cc73133b82560b7284a2af2d6630c49b983ca9366ea13
test_list_roots_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-90b39d804728390ef9eab471f7f9877b35f83c44d63b99a1ea9653f6d5e11ee9
test_logging_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-e2c00711f742606cdec4058b3f6121def7c09f5d3e74d16e2a6ba26bba1c91f5
test_notification_response.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-8c7bb1142c1c9cb43b4d2e7bf265054daca89ba175deec8b690f00464c00c182
test_sampling_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-2644de1d5107de80cb62cb010cb87b5858288fdd961806d4abdbc822f1d30540
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-623490a9c2dd576cc59e89f8d51f64acfffdeaad940e0bd4a0a51a50bc30d92d
test_session_concurrency.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-dcd16b274ced024cd0d253cd86a1a4c8042327b1b0f150227e73811bdc22c844
test_cancellation.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-bbb272049658e36f86bd66e16deef2e8ac8f7f90bb4bd89aa0f025bf1db48fee
test_flows.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-c8703562e141bdb981bfa8f5a0e3dd92a9a881b7f60d5bde5c269e53e5f74331
test_initialize.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-019874eb5b0b14b2e3447be2be76b480e12f77f71af8e1be534bec187e0e0852
test_logging.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-3192d40691eceb9afd35995b61b0eecab1ac2deab780167455817137665073dd
test_roots.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-4144b5ee9d2cd8d3ce9ca82fabcf7788b5c2bed02b835807f861f88a833abd9f
test_sampling.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-757030244444450a1c8f60bd70b1a2634aef9a4d37b46e362b86791c4def0428
test_timeouts.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-72f06b25a7e212f804121ef810f403578c4acd67b76b86ccda04618012a9930d
test_wire.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-163576971f36a4e8babc1808a586ab93dc81945e27aad2f238bd5b77fa441ac5
test_context.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-b5f7f25d66f0bed98387a6b630791fe45686eca3ae623b16d89da8a4d01b471e
test_tools.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-599e5205a6a4a66559a3269a8bf513559691096890d5a84eaa977c46315cefd3
_stdio_server.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-5a1e6fc4a93d8fdccc3f13bb1528e2e2b0104ea702d0ad45b11e57d731fae3b7
test_flows.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-49574413d58082b5b0d094a266103f9e61f3dac0f7bf3bdfacd1b2ad5a07a4c7
test_hosting_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-25c736951e89c76e3f06e5f6b36924f2fecb911b5bd98e4c74bf8249e8480fac
test_hosting_resume.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-85f9daa9bed5aaa4f0692a68b218329bd1d04c2bc0d72d270799730e3e7dfa22
test_stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-e87dd7470dc7d367b9901aacfcc577a54864d05e8e50b4b9a25c6d1bfc543fb5
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-e1892a1b798bbf5427ad12171841966db1086dcbbbd3f6c12b4bcd76405530c7
test_integration.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-06853ee92cf7e60bc876d235eb6b3a0ec88c2719e5af44e0a46fb6b71c9ab3e2
test_connection.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-c85f47c7fa25e0dccd832e8de25b14888b28b4c4d65ca623c7fbffa5ed112d68
test_runner.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-51ad0fc280fc0fb1ed6039b7c5a26a6fafba8d8ffc8533cfa89cb9df18ea3f10
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf
test_stateless_mode.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-9a5f67580e8993a1074a9b3a4ce460932af7f64bfac3c0ed94b56c842ef99101
test_validation.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-16566f05565314a7cce4b37e797a23f27f9db8c6026767f9b95d0e658de26588
test_peer.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-4a0f459cebe082a1548305dfc7e0392930c36ef29665ca62e9ba87051931d22b
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
test_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-bd467a363c9f155a2e6a7716aeca0c351089135a53d09a66138cea4f16506ebd
test_methods.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-784326fe173098cf01a6bf0e23d0d873d706a3e7183ca4cc7044bf7d1f25fc2d
test_wire_frames.py https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-0228e2dde74590f01ce982796a371fc607b30a7ea5bf6f01bccf06c93d70cbdc
README.v2.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/README.v2.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/checks?check_run_id=82492544048
claudehttps://github.com/apps/claude
Jun 20, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#r3446802128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
examples/servers/everything-server/mcp_everything_server/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/examples/servers/everything-server/mcp_everything_server/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
Kludexhttps://github.com/Kludex
Jun 20, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#r3446751446
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
examples/snippets/clients/stdio_client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-80e22c31535d5b73813e1fc99d0e379ef7629c923133d659c30c2f267e87e29e
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/examples/snippets/clients/stdio_client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-80e22c31535d5b73813e1fc99d0e379ef7629c923133d659c30c2f267e87e29e
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-80e22c31535d5b73813e1fc99d0e379ef7629c923133d659c30c2f267e87e29e
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-80e22c31535d5b73813e1fc99d0e379ef7629c923133d659c30c2f267e87e29e
examples/snippets/servers/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-7ba69ab49e24048be9cec660f89c5bfa9f2bd520203062b2f5ee7909647a34d0
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/examples/snippets/servers/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-7ba69ab49e24048be9cec660f89c5bfa9f2bd520203062b2f5ee7909647a34d0
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-7ba69ab49e24048be9cec660f89c5bfa9f2bd520203062b2f5ee7909647a34d0
examples/snippets/servers/sampling.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1
View file https://github.com/modelcontextprotocol/python-sdk/blob/0fa03ec69fe58174c8b258713014f248382f3f51/examples/snippets/servers/sampling.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/mcp/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/src/mcp/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126
src/mcp/client/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
View file https://github.com/modelcontextprotocol/python-sdk/blob/08afbf587116d52218798b1d69bb15b0f772a016/src/mcp/client/session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2922/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2922/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2922/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.