| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b2fa5916-539c-2dca-67aa-24d54e5be479 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C498:BE985:16E2BE4:1E84BFB:6A5AC6E3 |
| html-safe-nonce | a2e98dc8fc1c503a85b7b19db89a275e87d48a6cc461725b11847f8670c85bb1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDk4OkJFOTg1OjE2RTJCRTQ6MUU4NEJGQjo2QTVBQzZFMyIsInZpc2l0b3JfaWQiOiI2OTM4NzkxMDQxNjg1OTY0NTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f8f61786baed681a3830ef481d04eeafbd50645d11a4abfd86e9e81fdd57fc2 |
| hovercard-subject-tag | pull_request:2418077837 |
| 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/372/files |
| twitter:image | https://avatars.githubusercontent.com/u/25641935?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25641935?s=400&v=4 |
| og:image:alt | This change should fix most cases of #359, with issues spawning stdio MCP servers on Windows.
Motivation and Context
There is a somewhat longstanding issue with stdio_cleint that it doesn't wor... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f422022de939199d6afcbaac024b42b6232a3498a95f198e17717afb8b46fb15 |
| 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 | 2fa01ceb3b3a801409f050561abfb062094702d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F372%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 |
| 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%2F372%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/372/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/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.6k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
258
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
301
| 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 |
| dsp-ant | https://github.com/dsp-ant |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| saqadri:main | https://github.com/saqadri/stdio-fixes/tree/main |
|
Conversation
17
| https://github.com/modelcontextprotocol/python-sdk/pull/372 |
|
Commits
9
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits |
|
Checks
0
| https://github.com/modelcontextprotocol/python-sdk/pull/372/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
|
Fixes to stdio_client to support Windows more robustly
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#top |
|
Show all changes
9 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
|
a78d7fc
Fixes to stdio_client to support Windows more robustly
saqadri Mar 26, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/a78d7fce4f7b1fbc2baf1e896cfbd7756c190709 |
|
3b974aa
subprocess.PIPE -> sys.stderr for errlog
saqadri Mar 26, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/3b974aa09282ae0143bd183a26fa6083caf1057f |
|
c289efa
Minor update to docstring
saqadri Mar 26, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/c289efaba8b9d5d2c5746d767a844dac8fa481eb |
|
725dc61
PR fixes
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/725dc61f5087e6608797c5f04d7eb0267a5cd58d |
|
627704a
Address PR comments
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/627704ab85b8d0d6285945a807d4d47796ba05cb |
|
8918b67
Merge branch 'modelcontextprotocol:main' into main
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/8918b67925b66ff0ab4288fde72bd8372e6fb2c6 |
|
c712f04
Undo uv.lock update
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/c712f04bbfd066e1342fc5d4fe4b6859dd823423 |
|
03b5266
Move process termination to win32.py as well
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/03b526616549241684e5e1d6ae90d3aad0677278 |
|
9720d99
Add missing await
saqadri Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/372/commits/9720d992eec8934787ee27cc672e73c666c4410d |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
|
__init__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
win32.py
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-d6802c1313a5ee456ee2a62c90f316b1bb635cde28e8999f23410c78a36663bb |
|
uv.lock
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11 |
| src/mcp/client/stdio.py → src/mcp/client/stdio/__init__.py | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
View file
| https://github.com/saqadri/stdio-fixes/blob/9720d992eec8934787ee27cc672e73c666c4410d/src/mcp/client/stdio/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/372/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-2d78210c1f729556ae6d443eb0e255394d786171d32842ff2f8dea90d096da39 |
| cristipufu | https://github.com/cristipufu |
| Apr 21, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#r2052771162 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/modelcontextprotocol/servers/blob/main/src/everything/index.ts#L13 | https://github.com/modelcontextprotocol/servers/blob/main/src/everything/index.ts#L13 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| cristipufu | https://github.com/cristipufu |
| Apr 21, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#r2052787271 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @dsp-ant | https://github.com/dsp-ant |
| #555 | https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| BenMawnMahlauNBTC | https://github.com/BenMawnMahlauNBTC |
| Apr 24, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#r2058444693 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/files |
| src/mcp/client/stdio/win32.py | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-d6802c1313a5ee456ee2a62c90f316b1bb635cde28e8999f23410c78a36663bb |
|
View file
| https://github.com/saqadri/stdio-fixes/blob/9720d992eec8934787ee27cc672e73c666c4410d/src/mcp/client/stdio/win32.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/372/{{ revealButtonHref }} |
| uv.lock | https://github.com/modelcontextprotocol/python-sdk/pull/372/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11 |
|
View file
| https://github.com/saqadri/stdio-fixes/blob/9720d992eec8934787ee27cc672e73c666c4410d/uv.lock |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/372/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 |