| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ff0ae53a-0227-642e-2132-901d7647eb06 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CA30:119CBA:941D8:D0A1D:6A5A3FE9 |
| html-safe-nonce | 56ee0bee137aa6f423045b5f21466d590cb3f239e7b5cb1fcb93e066fac191af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTMwOjExOUNCQTo5NDFEODpEMEExRDo2QTVBM0ZFOSIsInZpc2l0b3JfaWQiOiI4OTcwNDM5NzIxMjM5MzQ2OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 78408c3cbae733819cdf95ea09e194ecdf0d564ae4d0ea96610c0b2f1628252c |
| hovercard-subject-tag | pull_request:3904157053 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| twitter:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19c67ad7579d2401ff06e88a32ef45460fbb40fab3191c7f7582d5e166f326fc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e618485bff22dab2ef1ffb4e34e4e6626688df69 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2926%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%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 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
|
Notifications
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Fork
3.7k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Star
23.6k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
256
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
303
| https://github.com/modelcontextprotocol/python-sdk/pulls |
|
Actions
| https://github.com/modelcontextprotocol/python-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/python-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/python-sdk/models |
|
Security and quality
6
| https://github.com/modelcontextprotocol/python-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/python-sdk/pulse |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
| https://github.com/modelcontextprotocol/python-sdk/pulls |
|
Actions
| https://github.com/modelcontextprotocol/python-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/python-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/python-sdk/models |
|
Security and quality
| https://github.com/modelcontextprotocol/python-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/python-sdk/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose |
| Kludex | https://github.com/Kludex |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| deprecate-roots-sampling-logging-methods | https://github.com/modelcontextprotocol/python-sdk/tree/deprecate-roots-sampling-logging-methods |
|
Conversation
7
| https://github.com/modelcontextprotocol/python-sdk/pull/2926 |
|
Commits
7
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits |
|
Checks
31
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
Deprecate roots, sampling, and logging methods per SEP-2577
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#top |
|
Show all changes
7 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
86bd4f3
Deprecate roots, sampling, and logging methods per SEP-2577
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/86bd4f34088154056e2b240fb02368a47e4f111f |
|
a5c1522
Emit deprecation warnings as a visible MCPDeprecationWarning
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a5c1522cac46a7e3a1d1c753e751a8395aa8768c |
|
a465678
Deprecate only `Context.log` for logging, with a capability-level mes…
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/a465678c42d79a920692c46d99789540e1c3e60c |
|
8cfdd44
Restructure list_roots deprecation test to cover its branches on 3.14
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/8cfdd44010e1ff1c888f52cb64b5f55dab8ff2ae |
|
7ee2e0d
Deprecate Connection.log for consistency with the logging capability
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/7ee2e0d362b650092ecc6b8f425e54e2f94cfbdd |
|
24cb7b0
List the lowlevel Context.log in the SEP-2577 deprecation note
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/24cb7b086e282b13f7cf07e2da547aae9d189f45 |
|
b304131
Use capability-level deprecation messages for roots and sampling
Kludex Jun 20, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/commits/b3041311d6c810bbf51cb0c5a4e76a49c3628576 |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
README.v2.md
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
migration.md
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
notifications.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7b8a9d648eed9730b0b284fcba707b80c8ec2ea037916ab87c321f3da7241c2f |
|
sampling.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1 |
|
tool_progress.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7cce40f3920cdfb5e8f829b6250bdc16ca7abb636e60615e834becbd63cd845b |
|
pyproject.toml
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
__init__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
|
client.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
connection.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
|
context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
exceptions.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a |
|
peer.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7516fc8e5003b3509266f53789ae4f7873bf19b8ecda78e5ce81ecac9401bf74 |
|
test_client.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-f91d7d1bfecb41d80a4cc73133b82560b7284a2af2d6630c49b983ca9366ea13 |
|
test_list_roots_callback.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-90b39d804728390ef9eab471f7f9877b35f83c44d63b99a1ea9653f6d5e11ee9 |
|
test_logging_callback.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-e2c00711f742606cdec4058b3f6121def7c09f5d3e74d16e2a6ba26bba1c91f5 |
|
test_sampling_callback.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-2644de1d5107de80cb62cb010cb87b5858288fdd961806d4abdbc822f1d30540 |
|
test_session_concurrency.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-dcd16b274ced024cd0d253cd86a1a4c8042327b1b0f150227e73811bdc22c844 |
|
test_flows.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-c8703562e141bdb981bfa8f5a0e3dd92a9a881b7f60d5bde5c269e53e5f74331 |
|
test_logging.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-3192d40691eceb9afd35995b61b0eecab1ac2deab780167455817137665073dd |
|
test_roots.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-4144b5ee9d2cd8d3ce9ca82fabcf7788b5c2bed02b835807f861f88a833abd9f |
|
test_sampling.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-757030244444450a1c8f60bd70b1a2634aef9a4d37b46e362b86791c4def0428 |
|
test_wire.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-163576971f36a4e8babc1808a586ab93dc81945e27aad2f238bd5b77fa441ac5 |
|
test_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-b5f7f25d66f0bed98387a6b630791fe45686eca3ae623b16d89da8a4d01b471e |
|
test_tools.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-599e5205a6a4a66559a3269a8bf513559691096890d5a84eaa977c46315cefd3 |
|
_stdio_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-5a1e6fc4a93d8fdccc3f13bb1528e2e2b0104ea702d0ad45b11e57d731fae3b7 |
|
test_flows.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-49574413d58082b5b0d094a266103f9e61f3dac0f7bf3bdfacd1b2ad5a07a4c7 |
|
test_hosting_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-25c736951e89c76e3f06e5f6b36924f2fecb911b5bd98e4c74bf8249e8480fac |
|
test_hosting_resume.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-85f9daa9bed5aaa4f0692a68b218329bd1d04c2bc0d72d270799730e3e7dfa22 |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-e1892a1b798bbf5427ad12171841966db1086dcbbbd3f6c12b4bcd76405530c7 |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-c191383f010475fc22bf69d35f14f16d7e45098b05a1a0f03ad66d6c151d1f34 |
|
test_cancel_handling.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-c1f187f0c3cd17c4a86593f3fd13298817256f3be47c48065168959055ad0753 |
|
test_connection.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-c85f47c7fa25e0dccd832e8de25b14888b28b4c4d65ca623c7fbffa5ed112d68 |
|
test_server_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-4903326ba7c3c7efdab16734810bfeae0b485942b7155c82e6ca8df7a8d5d11a |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf |
|
test_stateless_mode.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-9a5f67580e8993a1074a9b3a4ce460932af7f64bfac3c0ed94b56c842ef99101 |
|
test_peer.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-4a0f459cebe082a1548305dfc7e0392930c36ef29665ca62e9ba87051931d22b |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5 |
| README.v2.md | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/README.v2.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
| claude | https://github.com/apps/claude |
| Jun 20, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#r3446922567 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
| docs/migration.md | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/docs/migration.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
| examples/servers/everything-server/mcp_everything_server/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/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/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
| ...les/servers/simple-streamablehttp-stateless/mcp_simple_streamablehttp_stateless/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/servers/simple-streamablehttp-stateless/mcp_simple_streamablehttp_stateless/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
| examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
| examples/servers/sse-polling-demo/mcp_sse_polling_demo/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/servers/sse-polling-demo/mcp_sse_polling_demo/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
| examples/snippets/servers/notifications.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7b8a9d648eed9730b0b284fcba707b80c8ec2ea037916ab87c321f3da7241c2f |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/snippets/servers/notifications.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7b8a9d648eed9730b0b284fcba707b80c8ec2ea037916ab87c321f3da7241c2f |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7b8a9d648eed9730b0b284fcba707b80c8ec2ea037916ab87c321f3da7241c2f |
| examples/snippets/servers/sampling.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/snippets/servers/sampling.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-0ed01975ac1ead5aed841d4582928859cbd8b70ba8a1f1ac12923982be52f4e1 |
| examples/snippets/servers/tool_progress.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7cce40f3920cdfb5e8f829b6250bdc16ca7abb636e60615e834becbd63cd845b |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/examples/snippets/servers/tool_progress.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7cce40f3920cdfb5e8f829b6250bdc16ca7abb636e60615e834becbd63cd845b |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-7cce40f3920cdfb5e8f829b6250bdc16ca7abb636e60615e834becbd63cd845b |
| pyproject.toml | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| src/mcp/__init__.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/src/mcp/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-208c9cff9cd42bad47f1042db6861d931673ca78db6de12bd4d8f65885f8f126 |
| src/mcp/client/client.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/src/mcp/client/client.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3 |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/src/mcp/client/session.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| src/mcp/server/connection.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/src/mcp/server/connection.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1 |
| src/mcp/server/context.py | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/b3041311d6c810bbf51cb0c5a4e76a49c3628576/src/mcp/server/context.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2926/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2926/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |