| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7451c381-4805-27fb-49d9-852bf2014d91 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5EC:12CC5:229891F:2F978E8:6A63142A |
| html-safe-nonce | 00556c11771165400e46b5c89a75da7174f513a33e9111a2725c176965f1279e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUVDOjEyQ0M1OjIyOTg5MUY6MkY5NzhFODo2QTYzMTQyQSIsInZpc2l0b3JfaWQiOiI2MTE0NTMwMDkzOTUxMDMwMzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ddc07b668a18e0db1d5bad28eb19ca68875e2c5e9c78693497b5a5dab18edfae |
| hovercard-subject-tag | pull_request:2783256377 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/1321/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/05b71d293a089eb8e715573802eb6bcfb53430c87ebe1a89be2f5a95ec39a0a0/modelcontextprotocol/python-sdk/pull/1321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05b71d293a089eb8e715573802eb6bcfb53430c87ebe1a89be2f5a95ec39a0a0/modelcontextprotocol/python-sdk/pull/1321 |
| og:image:alt | Propagates transport disconnects (e.g. server killed mid tool call) as CONNECTION_CLOSED errors instead of hanging indefinitely. Adds regression test.
Motivation and Context
A call_tool over the St... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EiffL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1321#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1321 |
| 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%2F1321 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
|
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
270
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
317
| 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 |
| EiffL | https://github.com/EiffL |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| EiffL:main | https://github.com/EiffL/python-sdk/tree/main |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| Commits5 (5) | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/1321/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/1321/files |
| Handle Abrupt Server Disconnect in Middle of Tool Call | https://github.com/modelcontextprotocol/python-sdk/pull/1321#top |
| EiffL | https://github.com/EiffL |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| EiffL:main | https://github.com/EiffL/python-sdk/tree/main |
|
| https://github.com/EiffL |
| EiffL | https://github.com/EiffL |
| Aug 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#issue-3364996824 |
| MCP Documentation | https://modelcontextprotocol.io |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| EiffL | https://github.com/EiffL |
| August 29, 2025 01:23 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#commits-pushed-671d077 |
|
| https://github.com/EiffL |
| fix: handle transport exceptions and ensure proper cleanup of in-flig… | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/671d07724042218700bca2fdcc504e4898ea7dd1 |
| 671d077 | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/671d07724042218700bca2fdcc504e4898ea7dd1 |
|
| https://github.com/EiffL |
| Merge pull request | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/de6dd615a592e725b19f34d25c5a57c102682c7b |
| #1 | https://github.com/EiffL/python-sdk/pull/1 |
| from EiffL/streamable_http_disconnect | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/de6dd615a592e725b19f34d25c5a57c102682c7b |
| de6dd61 | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/de6dd615a592e725b19f34d25c5a57c102682c7b |
| https://github.com/EiffL |
| EiffL | https://github.com/EiffL |
| felixweinberger | https://github.com/felixweinberger |
| August 28, 2025 23:53 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#event-19401440868 |
| EiffL | https://github.com/EiffL |
| August 29, 2025 02:03 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#commits-pushed-c5bce60 |
|
| https://github.com/EiffL |
| Applying formatting | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/c5bce606e3373f8b5856573cab45dfe3b2d24a63 |
| c5bce60 | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/c5bce606e3373f8b5856573cab45dfe3b2d24a63 |
|
| https://github.com/EiffL |
| Merge branch 'main' into main | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/3c1d164adb0aefedfee87ecfa83442b2a8112dd8 |
| 3c1d164 | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/3c1d164adb0aefedfee87ecfa83442b2a8112dd8 |
|
| https://github.com/EiffL |
| Merge branch 'main' into main | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/2e6bc0e99a17c719902b9e6f2adc2d541893405b |
| 2e6bc0e | https://github.com/modelcontextprotocol/python-sdk/pull/1321/commits/2e6bc0e99a17c719902b9e6f2adc2d541893405b |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
Sep 23, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1321#pullrequestreview-3259091026 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/1321/files/2e6bc0e99a17c719902b9e6f2adc2d541893405b |
| src/mcp/client/streamable_http.py | https://github.com/modelcontextprotocol/python-sdk/pull/1321/files/2e6bc0e99a17c719902b9e6f2adc2d541893405b#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e |
| felixweinberger | https://github.com/felixweinberger |
| Sep 23, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#discussion_r2373130811 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| src/mcp/shared/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/1321/files/2e6bc0e99a17c719902b9e6f2adc2d541893405b#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc |
| felixweinberger | https://github.com/felixweinberger |
| Sep 23, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#discussion_r2373132369 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
needs more work
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22 |
|
needs more eyes
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20eyes%22 |
|
needs maintainer
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20maintainer%22 |
| Sep 23, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#event-19872727085 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| Sep 30, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#event-20005744961 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
needs maintainer
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20maintainer%22 |
| Sep 30, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#event-20013978307 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| Oct 13, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#issuecomment-3398009909 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| @EiffL | https://github.com/EiffL |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| Oct 13, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1321#event-20250219339 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1321 |
|
| https://github.com/felixweinberger |
|
felixweinberger
| https://github.com/felixweinberger |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1321/files/2e6bc0e99a17c719902b9e6f2adc2d541893405b |
|
| https://github.com/felixweinberger |
|
felixweinberger
| https://github.com/felixweinberger |
|
needs more work
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1321 |
|
| https://github.com/EiffL |
|
| https://github.com/felixweinberger |
|
| 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 |