| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3549eb23-5bfc-bcf6-0f54-493b9d265acb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8916:22C843:164671:1DADEE:6A616964 |
| html-safe-nonce | afb9e05aaa7919d4732bd768d5b40946481fbbf9270d606b6561ffdd58c753ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTE2OjIyQzg0MzoxNjQ2NzE6MURBREVFOjZBNjE2OTY0IiwidmlzaXRvcl9pZCI6Ijg1NDY1MTk1MzQyMzE0OTQxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd12a967f88de5e8abf689cb547b0489ced8c9c9e881d02fa254d2aee817663b |
| hovercard-subject-tag | pull_request:3181538049 |
| 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/1897/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Add strict-no-cover from pydantic to the CI pipeline. This tool identifies # pragma: no cover comments on lines that are actually covered by tests, helping keep coverage pragmas accurate and preven... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a69385f7d268ece7ad25b131bbd70f457024811fc79afcae43785a6849b724e2 |
| 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 | 484cf265a1f970d5c7a5e7c37cb677d8010aa12f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1897%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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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%2F1897%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/1897/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/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.7k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
268
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
313
| 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 |
| add-strict-no-cover | https://github.com/modelcontextprotocol/python-sdk/tree/add-strict-no-cover |
|
Conversation
10
| https://github.com/modelcontextprotocol/python-sdk/pull/1897 |
|
Commits
9
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits |
|
Checks
30
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
|
ci: add strict-no-cover to detect unnecessary coverage pragmas
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#top |
|
Show all changes
9 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
|
0c84038
ci: add strict-no-cover to detect unnecessary coverage pragmas
maxisbey Jan 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/0c84038ba0c8edf755371b6221fb9603285d5a0b |
|
da79832
fix: clean up unnecessary coverage pragmas across codebase
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/da7983249bccdf231825b8ff42da64f74e469ced |
|
55cf282
fix: address review feedback on pragma placement
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/55cf2822c8762e17a74c093fa7ac3d0a612204c6 |
|
2a30761
test: use assertions instead of conditional guards in resumption test
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/2a307619c6d87e8f8ec670abaf30a5572fd528e5 |
|
a508913
fix: use lax no cover for GET stream exception handler
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/a5089138d59b9651807dffa3a36cba2188436c6b |
|
101fddd
fix: use lax no cover for resumption test inter-phase code
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/101fddd786d7320da027b1683c0a27a13671917c |
|
0fd3003
fix: restore uv.lock from main
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/0fd30034dfdac8a7609a7f3d2038c51a914b5478 |
|
ae6943c
fix: update uv.lock with strict-no-cover dependency
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/ae6943c175b2b5625c77121d5dad17c5e22cfcc7 |
|
c72ae6b
fix: add coverage pragmas for version-dependent resumption test lines
maxisbey Jan 23, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/commits/c72ae6bab51a51b4b59fc97050e140450eb2a33e |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
|
shared.yml
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee |
|
pyproject.toml
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
claude.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b9cc4f521f80017ffb9a4cbc1a52da9c9cba4fd372598f4575a4336e2b9a3cf4 |
|
cli.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-ed6a22760239e76508d462209c10b7f07612896965b7808478261a9c529b796e |
|
oauth2.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
session_group.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775 |
|
sse.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
stdio.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
token.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0bfdf5a468abdd078a0287db095a4ad5ebfcb04ea3e437026cdc8038c137ecab |
|
client_auth.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
|
task_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
|
types.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-139734dfbe9c4b682d3547dc3e8c79f0da4142f50598fdb5f147663cc2692a88 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-14a2991a8f2be5b9e60dab5fae92d2230dc23e57937ad5e5641b832d9c662738 |
|
base.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-69c6a7ada93ce277ad1ae8f79a6800160e437084559ca0a24255851cb061a3a1 |
|
context_injection.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-948485e674648fa42095014afde8e3ba7ce9cb5af00b2ae693187ce64024d5b9 |
|
logging.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-fe52195d326c54954d43babc82f79782b162fdef9a6f186325f85cfe2f1ad9b1 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3 |
|
transport_security.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-c17c97ac87513551ff71eab97a2b040af12707f3abd1970b3d01a999cce9dce2 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc |
|
test_client_credentials.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-c84aa56739a1205229f9ca6a502589d65984e9461e55324c600702a40f28986f |
|
conftest.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-d66be9fe425fabad4b8eeaa4dd90b911ac45443d2575d828a29fc74be7ea2f34 |
|
test_auth.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1 |
|
test_notification_response.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-8c7bb1142c1c9cb43b4d2e7bf265054daca89ba175deec8b690f00464c00c182 |
|
test_stdio.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352 |
|
test_memory.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-6ae3f0a1371508074d5761d7a67a876ffe72c027c2fd0c3352f009ad902da950 |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-82f7ca0df19c99b8e50045b475ead10a75d969ef61f2f4eba71a9b8ff3d360cc |
|
test_1027_win_unreachable_cleanup.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-58ee556cdf4f7669f21584c546737c09da73fcbb6b3b839a8db7212793152ff6 |
|
test_129_resource_templates.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9f5bf8bd9599ca9494ff9e524bb0a220910ecdbaa0e01eedff5ad6778a81c434 |
|
test_1363_race_condition_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e581901efafbad07422bf926218ce7bec6c7a40e6d726aa538b2818d903bf9f9 |
|
test_88_random_error.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-4e8132257776907428bdfd1d3671faed7b41a6347402e65f630f3a27a290edf5 |
|
test_malformed_input.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b649c0b5fba86f777a51ee53b6579c7a639f0484b3562efcafe81a3322a4219e |
|
test_auth_integration.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-6db9f61c163fde554e33209f7b184b6485d848942a133b8cf17024c70f216004 |
|
test_file_resources.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-13f2cc870dbbdedfefa3f6f777b15ef82076de0f55c1854b8d40178872ee9620 |
|
test_resource_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-8c6c5018603605fc22cccb9d2fd9301f99b9784eead7612a20610c117179a9f5 |
|
test_resource_template.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-43d119004d118d943703eba5dcdc0c38754808e1b1067b7757ca70def217fefe |
|
test_elicitation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-c69808371feab9c7d3a6b87bc307fa79254948bed48cf84e5dc90efee0156547 |
|
test_func_metadata.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-28100164bc341b35cebdebdebcd004bacade502fd869fc6f8cb546e3d1d0238d |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-2c82340ecf6b6a4c0adbc7f94f272d810dca759a8bba8c3066b4110afc2fd586 |
|
test_tool_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b5b4bbafe34c06e716812137f400c45d7e1a454cce6f39f69a71b3e9cb4c1975 |
|
test_completion_with_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-7b9f06a84b3dc75676e1efff318066a211e3e0210ba14abd37626d431c400d43 |
|
test_lowlevel_input_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b03a30ed62b1e26c982596a9a203e82a559718f58d4bf7c25cf959820508ae8b |
|
test_lowlevel_output_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0c1fbfc219f8d31c8fc337edc62d3c107192ff8ef97eddce15ec6c29e8a2f209 |
|
test_lowlevel_tool_annotations.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-d6a45a1ed1f4ebc14198da5fe66dab121d6fa342c6bda5a0d4d53b8696a84d75 |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf |
|
test_progress_notifications.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9df01c21bb5b7f1353ec56a7fa0efd594a04b3e109f49ca0a598fb9a6919a7eb |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2 |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5 |
|
test_ws.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-42c069f4857387aa663d81e4dc484bffa345f00b175503cfe090ca14d6dcdfd5 |
|
test_examples.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0741a50beca4b08d354933485499f735f9b5493841e8f3af0e89b16ae1e04af4 |
|
uv.lock
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11 |
| .github/workflows/shared.yml | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/.github/workflows/shared.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee |
| maxisbey | https://github.com/maxisbey |
| Jan 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#r2700821493 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @Kludex | https://github.com/Kludex |
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21070443439/job/60598385217 | https://github.com/modelcontextprotocol/python-sdk/actions/runs/21070443439/job/60598385217 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee |
| pyproject.toml | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| src/mcp/cli/claude.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b9cc4f521f80017ffb9a4cbc1a52da9c9cba4fd372598f4575a4336e2b9a3cf4 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/cli/claude.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b9cc4f521f80017ffb9a4cbc1a52da9c9cba4fd372598f4575a4336e2b9a3cf4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b9cc4f521f80017ffb9a4cbc1a52da9c9cba4fd372598f4575a4336e2b9a3cf4 |
| src/mcp/cli/cli.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-ed6a22760239e76508d462209c10b7f07612896965b7808478261a9c529b796e |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/cli/cli.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-ed6a22760239e76508d462209c10b7f07612896965b7808478261a9c529b796e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-ed6a22760239e76508d462209c10b7f07612896965b7808478261a9c529b796e |
| src/mcp/client/auth/oauth2.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/auth/oauth2.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98 |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/session.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| src/mcp/client/session_group.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/session_group.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775 |
| src/mcp/client/sse.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/sse.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
| src/mcp/client/stdio.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/stdio.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186 |
| src/mcp/client/streamable_http.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/client/streamable_http.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
| src/mcp/server/auth/handlers/token.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0bfdf5a468abdd078a0287db095a4ad5ebfcb04ea3e437026cdc8038c137ecab |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/auth/handlers/token.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0bfdf5a468abdd078a0287db095a4ad5ebfcb04ea3e437026cdc8038c137ecab |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-0bfdf5a468abdd078a0287db095a4ad5ebfcb04ea3e437026cdc8038c137ecab |
| src/mcp/server/auth/middleware/client_auth.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/auth/middleware/client_auth.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-24c1b3fd929c3f6acb7f5a09322c15122e44e894b595a6013b0ae6259ad27500 |
| src/mcp/server/experimental/task_context.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/experimental/task_context.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-914a336dca71f0f4694531a3527a094132ba109e51ffb4cd1d1faa58daa97fab |
| src/mcp/server/fastmcp/resources/types.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-139734dfbe9c4b682d3547dc3e8c79f0da4142f50598fdb5f147663cc2692a88 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/fastmcp/resources/types.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-139734dfbe9c4b682d3547dc3e8c79f0da4142f50598fdb5f147663cc2692a88 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-139734dfbe9c4b682d3547dc3e8c79f0da4142f50598fdb5f147663cc2692a88 |
| src/mcp/server/fastmcp/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-14a2991a8f2be5b9e60dab5fae92d2230dc23e57937ad5e5641b832d9c662738 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/fastmcp/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-14a2991a8f2be5b9e60dab5fae92d2230dc23e57937ad5e5641b832d9c662738 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-14a2991a8f2be5b9e60dab5fae92d2230dc23e57937ad5e5641b832d9c662738 |
| src/mcp/server/fastmcp/tools/base.py | https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-69c6a7ada93ce277ad1ae8f79a6800160e437084559ca0a24255851cb061a3a1 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/c72ae6bab51a51b4b59fc97050e140450eb2a33e/src/mcp/server/fastmcp/tools/base.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-69c6a7ada93ce277ad1ae8f79a6800160e437084559ca0a24255851cb061a3a1 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1897/files#diff-69c6a7ada93ce277ad1ae8f79a6800160e437084559ca0a24255851cb061a3a1 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1897/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 |