| 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:3ee9f453-195b-310d-93cf-1ca142e98f40 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A4C:17F011:78E04B:A17809:6A5A7D3F |
| html-safe-nonce | a5fa84044fba572b45fef5907566164bfdd1398d6a00a173c0d45e20f6731a63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTRDOjE3RjAxMTo3OEUwNEI6QTE3ODA5OjZBNUE3RDNGIiwidmlzaXRvcl9pZCI6IjEwNDA3NjYzMjEwMTYwNzc2MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 69f3f9972db3e6366eb1ec04303916247d8fcf70e6045d212cb9a50aefde3974 |
| hovercard-subject-tag | pull_request:2532883774 |
| 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/765/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/64c68308b11ee7436726672e6bc114843aea62b89eede82988732151bcea8cdc/modelcontextprotocol/python-sdk/pull/765 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64c68308b11ee7436726672e6bc114843aea62b89eede82988732151bcea8cdc/modelcontextprotocol/python-sdk/pull/765 |
| og:image:alt | Align the stdio shutdown sequence with the MCP spec: close the server’s input, wait for exit, send SIGTERM if needed, and SIGKILL as a last resort.
Motivation and Context
The MCP spec recommends a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davenpi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106 |
| 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 | 0437efb828a4041956ce45d1f7fe69fff38926c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/765#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F765 |
| 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%2F765 |
|
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/765 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
|
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
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 |
| davenpi | https://github.com/davenpi |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| davenpi:fix/stdio-shutdown-spec | https://github.com/davenpi/python-sdk/tree/fix/stdio-shutdown-spec |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| Commits1 (1) | https://github.com/modelcontextprotocol/python-sdk/pull/765/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/765/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/765/files |
| Align stdio shutdown sequence with spec | https://github.com/modelcontextprotocol/python-sdk/pull/765#top |
| davenpi | https://github.com/davenpi |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| davenpi:fix/stdio-shutdown-spec | https://github.com/davenpi/python-sdk/tree/fix/stdio-shutdown-spec |
|
| https://github.com/davenpi |
| davenpi | https://github.com/davenpi |
| May 21, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issue-3078526201 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| MCP spec | https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle#stdio |
| MCP Documentation | https://modelcontextprotocol.io |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/davenpi |
| davenpi | https://github.com/davenpi |
| May 22, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issuecomment-2900974117 |
| @ihrpr | https://github.com/ihrpr |
| shutdown procedure | https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle#stdio |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
|
| https://github.com/davenpi |
| fix: align stdio shutdown sequence with spec. | https://github.com/modelcontextprotocol/python-sdk/pull/765/commits/b997748e31c9222604613c54fbe99b832d928084 |
| b997748 | https://github.com/modelcontextprotocol/python-sdk/pull/765/commits/b997748e31c9222604613c54fbe99b832d928084 |
| https://github.com/davenpi |
| davenpi | https://github.com/davenpi |
| force-pushed | https://github.com/modelcontextprotocol/python-sdk/compare/35eaaaf40517884b5d4ddd53f2738a7f1ed092e3..b997748e31c9222604613c54fbe99b832d928084 |
| 35eaaaf | https://github.com/modelcontextprotocol/python-sdk/commit/35eaaaf40517884b5d4ddd53f2738a7f1ed092e3 |
| b997748 | https://github.com/modelcontextprotocol/python-sdk/commit/b997748e31c9222604613c54fbe99b832d928084 |
|
Compare
| https://github.com/modelcontextprotocol/python-sdk/compare/35eaaaf40517884b5d4ddd53f2738a7f1ed092e3..b997748e31c9222604613c54fbe99b832d928084 |
| May 22, 2025 12:00 | https://github.com/modelcontextprotocol/python-sdk/pull/765#event-17771102833 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| r-05-25 | https://github.com/modelcontextprotocol/python-sdk/milestone/7 |
| May 23, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#event-17791186695 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| May 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issuecomment-2915473042 |
| #555 | https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| r-05-25 | https://github.com/modelcontextprotocol/python-sdk/milestone/7 |
| stdio shutdown | https://github.com/modelcontextprotocol/python-sdk/milestone/11 |
| May 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#event-17849125795 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
|
May 28, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#pullrequestreview-2874862814 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/765/files/b997748e31c9222604613c54fbe99b832d928084 |
| ihrpr | https://github.com/ihrpr |
| https://github.com/modelcontextprotocol/python-sdk/pull/765#pullrequestreview-2874862814 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @davenpi | https://github.com/davenpi |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
|
Unify process termination on POSIX & Windows (+ tests)
#1044
| https://github.com/modelcontextprotocol/python-sdk/pull/1044 |
|
Fix stdio_client kill process after timeout
#555
| https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
Jun 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#pullrequestreview-2971775589 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/765/files/b997748e31c9222604613c54fbe99b832d928084 |
| felixweinberger | https://github.com/felixweinberger |
| https://github.com/modelcontextprotocol/python-sdk/pull/765#pullrequestreview-2971775589 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @davenpi | https://github.com/davenpi |
| @ihrpr | https://github.com/ihrpr |
| #555 | https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| #555 | https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| #1044 | https://github.com/modelcontextprotocol/python-sdk/pull/1044 |
| #765 | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| felixweinberger | https://github.com/felixweinberger |
|
Jul 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#ref-commit-84c4b0f |
|
| https://github.com/felixweinberger |
|
| https://github.com/davenpi |
| Implement MCP spec-compliant stdio shutdown sequence | https://github.com/modelcontextprotocol/python-sdk/commit/84c4b0f173371ee3f6e1fd9835bb67cdd26bfe7d |
| 84c4b0f | https://github.com/modelcontextprotocol/python-sdk/commit/84c4b0f173371ee3f6e1fd9835bb67cdd26bfe7d |
| #765 | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| Jul 1, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issuecomment-3025188752 |
| @davenpi | https://github.com/davenpi |
| #555 | https://github.com/modelcontextprotocol/python-sdk/pull/555 |
| #729 | https://github.com/modelcontextprotocol/python-sdk/pull/729 |
| #765 | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| #850 | https://github.com/modelcontextprotocol/python-sdk/pull/850 |
| #1044 | https://github.com/modelcontextprotocol/python-sdk/pull/1044 |
| #1044 | https://github.com/modelcontextprotocol/python-sdk/pull/1044 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
|
Subprocess kill win32
#729
| https://github.com/modelcontextprotocol/python-sdk/pull/729 |
|
Fix child process kill error with npx based servers
#850
| https://github.com/modelcontextprotocol/python-sdk/pull/850 |
| https://github.com/davenpi |
| davenpi | https://github.com/davenpi |
| Jul 1, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issuecomment-3025410473 |
| @felixweinberger | https://github.com/felixweinberger |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| felixweinberger | https://github.com/felixweinberger |
|
Jul 4, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#ref-commit-7af6896 |
|
| https://github.com/felixweinberger |
|
| https://github.com/davenpi |
| Implement MCP spec-compliant stdio shutdown sequence | https://github.com/modelcontextprotocol/python-sdk/commit/7af6896fd9ddee560968379d7568e8dca2616a62 |
| 7af6896 | https://github.com/modelcontextprotocol/python-sdk/commit/7af6896fd9ddee560968379d7568e8dca2616a62 |
| #765 | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
| July 6, 2025 15:20 | https://github.com/modelcontextprotocol/python-sdk/pull/765#event-18492261196 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
Jul 8, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#ref-pullrequest-3203324181 |
|
fweinberger/align shutdown with spec
#1091
| https://github.com/modelcontextprotocol/python-sdk/pull/1091 |
| felixweinberger | https://github.com/felixweinberger |
|
Jul 8, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/765#ref-commit-757d154 |
|
| https://github.com/felixweinberger |
|
| https://github.com/davenpi |
| Implement MCP spec-compliant stdio shutdown sequence | https://github.com/modelcontextprotocol/python-sdk/commit/757d1542b5a3fd546daa3a688d9b1b07c82ed278 |
| 757d154 | https://github.com/modelcontextprotocol/python-sdk/commit/757d1542b5a3fd546daa3a688d9b1b07c82ed278 |
| #765 | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| Jul 9, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#issuecomment-3051315806 |
| @davenpi | https://github.com/davenpi |
| #1091 | https://github.com/modelcontextprotocol/python-sdk/pull/1091 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
| https://github.com/ihrpr |
| ihrpr | https://github.com/ihrpr |
| Jul 9, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/765#event-18539173908 |
| 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%2F765 |
|
| https://github.com/ihrpr |
|
ihrpr
| https://github.com/ihrpr |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/765/files/b997748e31c9222604613c54fbe99b832d928084 |
|
| https://github.com/felixweinberger |
|
felixweinberger
| https://github.com/felixweinberger |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/765/files/b997748e31c9222604613c54fbe99b832d928084 |
|
stdio shutdown + win related issues
| https://github.com/modelcontextprotocol/python-sdk/milestone/11 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/765 |
|
| https://github.com/davenpi |
|
| https://github.com/ihrpr |
|
| 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 |