Title: Chatbot example: clean up servers in correct order by clareliguori · Pull Request #353 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Chatbot example: clean up servers in correct order by clareliguori · Pull Request #353 · modelcontextprotocol/python-sdk
X Title: Chatbot example: clean up servers in correct order by clareliguori · Pull Request #353 · modelcontextprotocol/python-sdk
Description: The servers's async context must be exited in the reverse order it was entered, unrolling the context stack. Motivation and Context Fixes #252 How Has This Been Tested? $ python main.py You: quit 2025-03-23 08:46:26,961 - INFO - Exiting... $ echo $? 0 Breaking Changes No Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context
Open Graph Description: The servers's async context must be exited in the reverse order it was entered, unrolling the context stack. Motivation and Context Fixes #252 How Has This Been Tested? $ python main.py You: q...
X Description: The servers's async context must be exited in the reverse order it was entered, unrolling the context stack. Motivation and Context Fixes #252 How Has This Been Tested? $ python main.py Yo...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/353
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9cd8c793-b3cc-317d-2892-10bb3ed82bb5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CCB0:2C1EC0:E06225:14153A7:6A5A07D1 |
| html-safe-nonce | 18cb85e2491c011e3de2fb2089568facc16b650524d8eaf47c1c8329a683cbcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0IwOjJDMUVDMDpFMDYyMjU6MTQxNTNBNzo2QTVBMDdEMSIsInZpc2l0b3JfaWQiOiI3NTI1MTk2ODM4MDA3ODY3MzQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a7d2e2621b2dc021cebba7abd4fd05c759e9c4d61e70f465cfc50af787fdef68 |
| hovercard-subject-tag | pull_request:2412162659 |
| 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/modelcontextprotocol/python-sdk/pull/353/files |
| twitter:image | https://avatars.githubusercontent.com/u/484245?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/484245?s=400&v=4 |
| og:image:alt | The servers's async context must be exited in the reverse order it was entered, unrolling the context stack. Motivation and Context Fixes #252 How Has This Been Tested? $ python main.py You: q... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 491710c7a8eecca9d0a06bd157646f2685d8c87b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width