René's URL Explorer Experiment


Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

X Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

Open Graph Description: Ensure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...

X Description: Ensure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0a3db9ef-9342-de5e-b377-3f214fc9705f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB1A:1B6A60:19EC0E:234074:6A5A6A1B
html-safe-noncec0144652dc840190e95e9a69b87eccf91d0329e38ebd5f246114446183810924
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjFBOjFCNkE2MDoxOUVDMEU6MjM0MDc0OjZBNUE2QTFCIiwidmlzaXRvcl9pZCI6Ijg0NzM4NzU0NjM1MjU3ODgxODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf88a4590102627976255e2b0c0ee64837250c9984a7c7495e10bce4826e57725
hovercard-subject-tagpull_request:2429952503
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/401/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/471bd891262140d12bc2d39bede6ce4e247a3dc285ff70c2a846085c560e94e7/modelcontextprotocol/python-sdk/pull/401
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/471bd891262140d12bc2d39bede6ce4e247a3dc285ff70c2a846085c560e94e7/modelcontextprotocol/python-sdk/pull/401
og:image:altEnsure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTimChild
hostnamegithub.com
expected-hostnamegithub.com
None922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03575fc589c0e2692de839d7ca2b3aa5b5179f52
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/401#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F401
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
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%2F401
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
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
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.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 256 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
TimChild:prevent-stdio-hanghttps://github.com/TimChild/python-sdk/tree/prevent-stdio-hang
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/401
Commits9 (9)https://github.com/modelcontextprotocol/python-sdk/pull/401/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/401/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/401/files
Prevent stdio connection hang for missing server path.https://github.com/modelcontextprotocol/python-sdk/pull/401#top
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
TimChild:prevent-stdio-hanghttps://github.com/TimChild/python-sdk/tree/prevent-stdio-hang
https://github.com/TimChild
TimChildhttps://github.com/TimChild
Mar 31, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#issue-2961618284
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
TimChildhttps://github.com/TimChild
April 7, 2025 11:01https://github.com/modelcontextprotocol/python-sdk/pull/401#commits-pushed-bd097bf
https://github.com/TimChild
add test that checks if stdio connection hangs with bad connection pa…https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/bd097bfce5e4d651dd3a43071b8249527b414c14
bd097bfhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/bd097bfce5e4d651dd3a43071b8249527b414c14
https://github.com/TimChild
fix process hanging on bad stdio connection paramshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/8558120eac0ed2eaf16aa71e49b4344bbb152a2e
8558120https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/8558120eac0ed2eaf16aa71e49b4344bbb152a2e
https://github.com/TimChild
make sure test only runs if uv availablehttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/be41b81c52dda1cdaed6ea34874b09b527dbf387
be41b81https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/be41b81c52dda1cdaed6ea34874b09b527dbf387
https://github.com/TimChild
fix detection of failed processhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/90f224d6e19521e08246c3362bfa4a1bc7b0f080
90f224dhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/90f224d6e19521e08246c3362bfa4a1bc7b0f080
https://github.com/TimChild
TimChildhttps://github.com/TimChild
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/6a85c7fb416e6a4f345b9398d85948d052578414..90f224d6e19521e08246c3362bfa4a1bc7b0f080
6a85c7fhttps://github.com/modelcontextprotocol/python-sdk/commit/6a85c7fb416e6a4f345b9398d85948d052578414
90f224dhttps://github.com/modelcontextprotocol/python-sdk/commit/90f224d6e19521e08246c3362bfa4a1bc7b0f080
Compare https://github.com/modelcontextprotocol/python-sdk/compare/6a85c7fb416e6a4f345b9398d85948d052578414..90f224d6e19521e08246c3362bfa4a1bc7b0f080
April 7, 2025 18:59https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17158911144
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
r-05-25https://github.com/modelcontextprotocol/python-sdk/milestone/7
Apr 29, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17462570923
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
May 27, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/401#pullrequestreview-2872844419
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/401/files/90f224d6e19521e08246c3362bfa4a1bc7b0f080
ihrprhttps://github.com/ihrpr
https://github.com/modelcontextprotocol/python-sdk/pull/401#pullrequestreview-2872844419
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
https://github.com/TimChild
TimChildhttps://github.com/TimChild
May 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#issuecomment-2916885225
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
May 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#issuecomment-2917456757
@TimChildhttps://github.com/TimChild
#333https://github.com/modelcontextprotocol/python-sdk/pull/333
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
r-05-25https://github.com/modelcontextprotocol/python-sdk/milestone/7
stdio shutdownhttps://github.com/modelcontextprotocol/python-sdk/milestone/11
May 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17857267451
ihrprhttps://github.com/ihrpr
May 28, 2025 21:15https://github.com/modelcontextprotocol/python-sdk/pull/401#commits-pushed-998631e
https://github.com/ihrpr
Merge branch 'main' into prevent-stdio-hanghttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/998631e31f8d3ebef7c9a683e244be730c0a5095
998631ehttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/998631e31f8d3ebef7c9a683e244be730c0a5095
https://github.com/ihrpr
change testshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/acce290cb4a64a47b608e9fd6835a246d775ce2a
acce290https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/acce290cb4a64a47b608e9fd6835a246d775ce2a
https://github.com/ihrpr
close unclosed streams that were masked by not cought exceptionshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/1fb54485ecaafe7bb0864df31ae3ee4b54e6ef6a
1fb5448https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/1fb54485ecaafe7bb0864df31ae3ee4b54e6ef6a
https://github.com/ihrpr
catch OSError as it's casing unclosed resourceshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/ba385fa7f75c212d94148905738c7fa0dc1cdbc7
ba385fahttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/ba385fa7f75c212d94148905738c7fa0dc1cdbc7
https://github.com/ihrpr
win errorhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/a94b5490b0272899145d731422c12873e6fbb3d0
a94b549https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/a94b5490b0272899145d731422c12873e6fbb3d0
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
May 28, 2025 21:31https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17858363587
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
May 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/401#pullrequestreview-2876494015
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/401/files/a94b5490b0272899145d731422c12873e6fbb3d0
bhosmer-anthttps://github.com/bhosmer-ant
https://github.com/modelcontextprotocol/python-sdk/pull/401#pullrequestreview-2876494015
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
ihrprhttps://github.com/ihrpr
stale reviewhttps://github.com/modelcontextprotocol/python-sdk/pull/401#pullrequestreview-2872844419
May 28, 2025 21:32https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17858370266
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
f5dd324https://github.com/modelcontextprotocol/python-sdk/commit/f5dd32435435ee17ce08b498c9ef913d0a3aa1ce
May 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/401#event-17858603833
https://github.com/KlementMultiverse
KlementMultiversehttps://github.com/KlementMultiverse
Mar 6, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/401#ref-issue-4034030974
streamable_http_client hangs indefinitely when server sends POST-only endpoints without SSE fallback #2232 https://github.com/modelcontextprotocol/python-sdk/issues/2232
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/401#ref-pullrequest-4581189820
Fix stdio client shutdown bugs and rebuild the stdio test suite #2773 https://github.com/modelcontextprotocol/python-sdk/pull/2773
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F401
https://github.com/bhosmer-ant
bhosmer-ant https://github.com/bhosmer-ant
https://github.com/modelcontextprotocol/python-sdk/pull/401/files/a94b5490b0272899145d731422c12873e6fbb3d0
https://github.com/ihrpr
ihrpr https://github.com/ihrpr
https://github.com/modelcontextprotocol/python-sdk/pull/401/files/90f224d6e19521e08246c3362bfa4a1bc7b0f080
stdio shutdown + win related issues https://github.com/modelcontextprotocol/python-sdk/milestone/11
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401
https://github.com/TimChild
https://github.com/ihrpr
https://github.com/bhosmer-ant
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.