Title: fix: exit cleanly on stdio KeyboardInterrupt by he-yufeng · Pull Request #2671 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: exit cleanly on stdio KeyboardInterrupt by he-yufeng · Pull Request #2671 · modelcontextprotocol/python-sdk
X Title: fix: exit cleanly on stdio KeyboardInterrupt by he-yufeng · Pull Request #2671 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix: exit cleanly on stdio KeyboardInterrupt by he-yufeng · Pull Request #2671 · modelcontextprotocol/python-sdk
Open Graph Description: Fixes #2663. Handles Ctrl-C for FastMCP stdio runs at the stdio transport boundary so shutdown does not print a traceback. HTTP transports keep their existing behavior. Validation: uv run pytest te...
X Description: Fixes #2663. Handles Ctrl-C for FastMCP stdio runs at the stdio transport boundary so shutdown does not print a traceback. HTTP transports keep their existing behavior. Validation: uv run pytest te...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2671
X: @github
Domain: github.com
| 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:5ccdee9d-926d-d25f-a213-31d8d3115804 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB1E:1CA2B7:9A595:CC01B:6A5AC365 |
| html-safe-nonce | 6e50846963e804fedb34a0592cc1f96bc888d4006c00755ea0cda32ed9087168 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjFFOjFDQTJCNzo5QTU5NTpDQzAxQjo2QTVBQzM2NSIsInZpc2l0b3JfaWQiOiI0Mjk1MTU2NDY5NjE4ODg1NDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 22cb724f5e0930f65232ecd60a3e443a141dbc8030b9eca73ea2cda582e111a1 |
| hovercard-subject-tag | pull_request:3735958894 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2671/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3a3fb2b9b3bb9ff6658df4738fec45173b6297b04eb6681b3d5d6c3855a7513a/modelcontextprotocol/python-sdk/pull/2671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a3fb2b9b3bb9ff6658df4738fec45173b6297b04eb6681b3d5d6c3855a7513a/modelcontextprotocol/python-sdk/pull/2671 |
| og:image:alt | Fixes #2663. Handles Ctrl-C for FastMCP stdio runs at the stdio transport boundary so shutdown does not print a traceback. HTTP transports keep their existing behavior. Validation: uv run pytest te... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | he-yufeng |
| hostname | github.com |
| expected-hostname | github.com |
| None | f422022de939199d6afcbaac024b42b6232a3498a95f198e17717afb8b46fb15 |
| 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 | 2fa01ceb3b3a801409f050561abfb062094702d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width