Title: fix(server): exit cleanly on KeyboardInterrupt in MCPServer.run by devansh-dek · Pull Request #3027 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix(server): exit cleanly on KeyboardInterrupt in MCPServer.run by devansh-dek · Pull Request #3027 · modelcontextprotocol/python-sdk
X Title: fix(server): exit cleanly on KeyboardInterrupt in MCPServer.run by devansh-dek · Pull Request #3027 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix(server): exit cleanly on KeyboardInterrupt in MCPServer.run by devansh-dek · Pull Request #3027 · modelcontextprotocol/python-sdk
Open Graph Description: Summary Catch KeyboardInterrupt at the MCPServer.run() sync boundary so Ctrl-C during stdio server execution exits cleanly instead of printing a noisy anyio/asyncio cancellation traceback. Adds un...
X Description: Summary Catch KeyboardInterrupt at the MCPServer.run() sync boundary so Ctrl-C during stdio server execution exits cleanly instead of printing a noisy anyio/asyncio cancellation traceback. Adds un...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3027
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:c61fdc4c-13be-c164-06e8-65851762f7e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C17C:6650E:10EA4CB:18333A3:6A5A161F |
| html-safe-nonce | 6cf07bca36c7e7765aadab006acfb5dc95a6ab968a8573fd74ad09cd04338b4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTdDOjY2NTBFOjEwRUE0Q0I6MTgzMzNBMzo2QTVBMTYxRiIsInZpc2l0b3JfaWQiOiI4NzczNzYzNjc3OTk4OTQ1ODIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5fd3116c6a39a07bff062a5f4df4d14123cedb57b29cb5a0074912431496c08f |
| hovercard-subject-tag | pull_request:3960458461 |
| 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/3027/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a4214da78267c0f7801de3c5a732aae1b22021041cf89205f2d213903d617d27/modelcontextprotocol/python-sdk/pull/3027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4214da78267c0f7801de3c5a732aae1b22021041cf89205f2d213903d617d27/modelcontextprotocol/python-sdk/pull/3027 |
| og:image:alt | Summary Catch KeyboardInterrupt at the MCPServer.run() sync boundary so Ctrl-C during stdio server execution exits cleanly instead of printing a noisy anyio/asyncio cancellation traceback. Adds un... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devansh-dek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| 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 | 501ec24a694e4933bb3d70e768b1461c0def57a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width