| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:991ae536-e599-18ca-04b8-ec033861a7f6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CCD6:1E2ADA:A26128:E01E71:6A6198BA |
| html-safe-nonce | c2591da1fbf1a79e6db4fc273b3767307bc47bbaefeaec9c1faec8401f7ce704 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Q2OjFFMkFEQTpBMjYxMjg6RTAxRTcxOjZBNjE5OEJBIiwidmlzaXRvcl9pZCI6IjQ5NzgyMTA0ODQ3NzkwNjM0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7fcb233eef523e10c5ca750e46f2cef5378758cf8af5db3f2667f34fa3927f48 |
| hovercard-subject-tag | pull_request:3403036968 |
| 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/2298/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 | Summary
MCP server handlers currently lose the sender's contextvars.Context. When a client sets context variables (e.g. OpenTelemetry trace/span IDs) before sending a request, the server handle... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| 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 | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2298%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%2F2298%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/2298/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/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 |
| try-no-context-field | https://github.com/modelcontextprotocol/python-sdk/tree/try-no-context-field |
|
Conversation
12
| https://github.com/modelcontextprotocol/python-sdk/pull/2298 |
|
Commits
16
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits |
|
Checks
29
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
|
Propagate contextvars.Context through anyio streams without modifying SessionMessage
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#top |
|
Show all changes
16 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
|
6fef500
Propagate contextvars.Context through anyio streams without modifying…
Kludex Mar 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/6fef500116b353a8c00a26bbbe24bca378bb6a8c |
|
2513380
Add pragma: no cover to Protocol stubs and unused clone() methods
Kludex Mar 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b |
|
1b34f2e
Use pragma: no branch for Protocol stubs to satisfy strict-no-cover
Kludex Mar 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1b34f2eb21c5382f83b712dce2952fcc15dff6c0 |
|
32565b3
Address review feedback: ExceptionGroup bug, reverse dependency, type…
Kludex Mar 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/32565b3ebe3b0aba566a7150f637b0b3f86af7ac |
|
b321dd2
Restore correct context propagation for async handlers
Kludex Mar 16, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/b321dd206bb318e4ccec416fd26f07d773b76efb |
|
ef7e4b4
Remove unnecessary pragmas and fix generic type propagation
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ef7e4b4fa1b3a0a199153c4d9273accf9f739624 |
|
ab4f1c5
Move sender context lookup into _handle_session_message
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ab4f1c54fd68465a0e74f6a105bbcbba073ab703 |
|
dc8d842
Merge remote-tracking branch 'origin/main' into try-no-context-field
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dc8d842d1b0f0b65822eb8791b2d9b9cbda01c25 |
|
1517b79
Add pragma: no branch to Protocol stubs
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1517b79bc9ae96d36ed6fbf7852741a8f639dd29 |
|
379fe57
Use exclude_also instead of exclude_lines for coverage config
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/379fe57261edddf26e37abe4fb27745d3c435cf6 |
|
8dd89fd
Use exclude_also instead of exclude_lines for coverage config
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/8dd89fd19a0d6056e2160f4e43356b6fe76ebc51 |
|
aec97fb
Merge branch 'try-no-context-field' of github.com:modelcontextprotoco…
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/aec97fb81e591c23e84f734f10b2627cd9a3169f |
|
df6df0e
Remove pragma: no branch from Protocol stubs
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/df6df0ec0525023acc5b77d6325f97f87e23513f |
|
da049fb
Add test for contextvars propagation from client to server handler
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/da049fb42ffea534464a3c7861cb53b6661c6f1f |
|
dee1291
Rewrite context propagation test to actually verify the feature
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dee12910b9e0c061501d52a232d1d35925b947a9 |
|
6956854
Add assertion message to context propagation test
Kludex Mar 31, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/69568544a00a10347bd22a51ff91abb436434a6c |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
|
main.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
|
pyproject.toml
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
__main__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-acedd8b44e9fb1a288cc95191fc773e99af0b75edaa11c78295dad3147cb7eea |
|
_transport.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b8058afecd14e079d4edd2712bcc367970848ef2ee3bfd7cbef14909f9664ded |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
sse.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
sse.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
stdio.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e |
|
streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3 |
|
websocket.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31 |
|
_context_streams.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-ed21a3b904d363c8e8804cc7f36cf7150c855ff3b8f43cbe7b10e4966eeb4d4a |
|
_stream_protocols.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-0c19ade09bbbc8931adba3c30e6646dfb6962b7a808dbcbfeb84adc44e529ec8 |
|
memory.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-fda62e83f7fbe11b6291a8eb980526a6465853fcc15dba2269425cd3de0801dc |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc |
|
conftest.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-d66be9fe425fabad4b8eeaa4dd90b911ac45443d2575d828a29fc74be7ea2f34 |
|
test_client.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-f91d7d1bfecb41d80a4cc73133b82560b7284a2af2d6630c49b983ca9366ea13 |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5 |
| examples/clients/simple-auth-client/mcp_simple_auth_client/main.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-967e8584a0021a6f5b81aa9ef3f1e549efd761fe3fb4733e5212ce027e0bcfce |
| pyproject.toml | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| src/mcp/client/__main__.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-acedd8b44e9fb1a288cc95191fc773e99af0b75edaa11c78295dad3147cb7eea |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/client/__main__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-acedd8b44e9fb1a288cc95191fc773e99af0b75edaa11c78295dad3147cb7eea |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-acedd8b44e9fb1a288cc95191fc773e99af0b75edaa11c78295dad3147cb7eea |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-acedd8b44e9fb1a288cc95191fc773e99af0b75edaa11c78295dad3147cb7eea |
| src/mcp/client/_transport.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b8058afecd14e079d4edd2712bcc367970848ef2ee3bfd7cbef14909f9664ded |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/client/_transport.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b8058afecd14e079d4edd2712bcc367970848ef2ee3bfd7cbef14909f9664ded |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b8058afecd14e079d4edd2712bcc367970848ef2ee3bfd7cbef14909f9664ded |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/client/session.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| src/mcp/client/sse.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/client/sse.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336 |
| src/mcp/client/streamable_http.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/client/streamable_http.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
| src/mcp/server/lowlevel/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/server/lowlevel/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
| src/mcp/server/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/server/session.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
| src/mcp/server/sse.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/server/sse.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c |
| src/mcp/server/stdio.py | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/69568544a00a10347bd22a51ff91abb436434a6c/src/mcp/server/stdio.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2298/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2298/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 |