René's URL Explorer Experiment


Title: fix: collapse single-exception ExceptionGroups from task groups by Varun6578 · Pull Request #2245 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: collapse single-exception ExceptionGroups from task groups by Varun6578 · Pull Request #2245 · modelcontextprotocol/python-sdk

X Title: fix: collapse single-exception ExceptionGroups from task groups by Varun6578 · Pull Request #2245 · modelcontextprotocol/python-sdk

Description: Summary Fixes #2114 — ExceptionGroup wrapping obscures real errors from task groups. When an anyio task group contains tasks and one fails, the exception is always wrapped in an ExceptionGroup — even if there is only a single real exception. This makes it impossible for callers to catch specific error types with except ConnectionError:. Changes New module src/mcp/shared/_task_group.py: collapse_exception_group() — recursively unwraps single-exception BaseExceptionGroups _CollapsingTaskGroup — drop-in wrapper around anyio's TaskGroup that collapses on __aexit__ create_mcp_task_group() — factory function replacing anyio.create_task_group() All 16 anyio.create_task_group() call sites updated across: Client transports: sse.py, stdio.py, websocket.py, streamable_http.py, _memory.py Server transports: sse.py, stdio.py, websocket.py, streamable_http.py Shared: session.py, session_group.py Server internals: lowlevel/server.py, streamable_http_manager.py, task_support.py, task_result_handler.py 12 new tests covering collapse logic, integration with task groups, edge cases Ruff config: added builtins for BaseExceptionGroup/ExceptionGroup (Python 3.10 compat) Behavior Scenario Before After Single task fails ExceptionGroup([ConnectionError]) ConnectionError raised directly Single task fails + siblings cancelled ExceptionGroup([ConnectionError]) ConnectionError raised directly Multiple tasks fail ExceptionGroup([A, B]) ExceptionGroup([A, B]) (unchanged) No failures Clean exit Clean exit (unchanged) The collapsed exception preserves the ExceptionGroup as __cause__ for debugging.

Open Graph Description: Summary Fixes #2114 — ExceptionGroup wrapping obscures real errors from task groups. When an anyio task group contains tasks and one fails, the exception is always wrapped in an ExceptionGroup — ev...

X Description: Summary Fixes #2114 — ExceptionGroup wrapping obscures real errors from task groups. When an anyio task group contains tasks and one fails, the exception is always wrapped in an ExceptionGroup — ev...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a7618cae-1609-da2c-4ed5-9e4755c9de33
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97A8:3D312F:7F36B1:A591B6:6A6000AC
html-safe-nonce39fdc0bedcc740ea67a9635e9f48dffc76f26d14083accf578b4d30faee79a8e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E4OjNEMzEyRjo3RjM2QjE6QTU5MUI2OjZBNjAwMEFDIiwidmlzaXRvcl9pZCI6IjM3NDUxNDU0ODMxMzQyMzg4OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6cec89cdcfcdd632c361addca38ed4eedd7eb1d68887ffef7ca525c987f9d8e1
hovercard-subject-tagpull_request:3367246229
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2245/files
twitter:imagehttps://avatars.githubusercontent.com/u/34965159?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/34965159?s=400&v=4
og:image:altSummary Fixes #2114 — ExceptionGroup wrapping obscures real errors from task groups. When an anyio task group contains tasks and one fails, the exception is always wrapped in an ExceptionGroup — ev...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5789899e92b20db289de946d86eb20bf5c9626276695d68f58a8c47cdda699b7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ddc048ddf80664b9b33547b619db10313c482f1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2245%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2245%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 265 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 312 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
Varun6578https://github.com/Varun6578
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
Varun6578:fix/collapse-exception-grouphttps://github.com/Varun6578/python-sdk/tree/fix/collapse-exception-group
Conversation 0 https://github.com/modelcontextprotocol/python-sdk/pull/2245
Commits 5 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits
Checks 26 https://github.com/modelcontextprotocol/python-sdk/pull/2245/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
fix: collapse single-exception ExceptionGroups from task groups https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#top
Show all changes 5 commits https://github.com/modelcontextprotocol/python-sdk/pull/2245/files
349661c fix: collapse single-exception ExceptionGroups from task groups Mar 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits/349661c14f0ea4a3b2995db77fa9c04e14e5ce83
4943417 fix: add Python 3.10 compat for BaseExceptionGroup import Mar 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits/4943417b65ea5fae8874e3d3d1d1a00221c116be
dc63022 fix: resolve pyright and coverage CI failures Mar 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits/dc630221b7c9661be0e419be4d61987a98ec1a47
d549d59 fix: use pragma lax no cover for version-conditional imports, add reg… Mar 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits/d549d59dad50ce01e11a0c7c71545fd66e752ad6
851f41a test: add start() not-entered guard to completeness test Mar 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2245/commits/851f41ad3a87cb86d423f721284d71b2790f617b
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
_memory.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
session_group.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
websocket.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
task_result_handler.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
task_support.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
websocket.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
_task_group.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-7107fcc4f91ec3f5c5c3caf374d7bdcb313b4ddb3730d626dfe94d32153a7102
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
test_task_group.py https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-035e6e511a0b7bfca21800bafa5955fcf43442cb1813b43c81342846ebdf1fd5
src/mcp/client/_memory.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/_memory.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
src/mcp/client/session_group.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/session_group.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-cbe797d477654047e3091f5e3c0a1046d9197e34ed55d884c7d957ef4e61d775
src/mcp/client/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
src/mcp/client/stdio.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
src/mcp/client/websocket.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/client/websocket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
src/mcp/server/experimental/task_result_handler.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/experimental/task_result_handler.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223
src/mcp/server/experimental/task_support.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/experimental/task_support.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-018421707704cc77377afd97eaa20ddf2f4f1611fb27eecb3e0bdab0de013dc6
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
src/mcp/server/stdio.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
src/mcp/server/streamable_http_manager.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/streamable_http_manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
src/mcp/server/websocket.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/server/websocket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
src/mcp/shared/_task_group.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-7107fcc4f91ec3f5c5c3caf374d7bdcb313b4ddb3730d626dfe94d32153a7102
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/shared/_task_group.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
View file https://github.com/modelcontextprotocol/python-sdk/blob/851f41ad3a87cb86d423f721284d71b2790f617b/src/mcp/shared/session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2245/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2245/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2245/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.