Title: Implement asynchronous task execution with result retrieval after connection loss · Issue #769 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Implement asynchronous task execution with result retrieval after connection loss · Issue #769 · modelcontextprotocol/python-sdk
X Title: Implement asynchronous task execution with result retrieval after connection loss · Issue #769 · modelcontextprotocol/python-sdk
Description: Currently, the MCP SDK doesn't provide a built-in mechanism for asynchronous task execution where the client can retrieve results after a connection loss. This feature would be valuable for long-running tasks or scenarios where network s...
Open Graph Description: Currently, the MCP SDK doesn't provide a built-in mechanism for asynchronous task execution where the client can retrieve results after a connection loss. This feature would be valuable for long-ru...
X Description: Currently, the MCP SDK doesn't provide a built-in mechanism for asynchronous task execution where the client can retrieve results after a connection loss. This feature would be valuable for lon...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/769
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement asynchronous task execution with result retrieval after connection loss","articleBody":"Currently, the MCP SDK doesn't provide a built-in mechanism for asynchronous task execution where the client can retrieve results after a connection loss. This feature would be valuable for long-running tasks or scenarios where network stability is a concern.\n\nFeature request:\nImplement a way for MCP Client to submit an asynchronous task to MCP Server, disconnect, and later retrieve the task execution results.\n\nProposed workflow:\n1. MCP Client submits a task to MCP Server\n2. MCP Server returns a unique task ID\n3. MCP Client can disconnect\n4. MCP Server continues processing the task\n5. MCP Client can reconnect later and query the task status/results using the task ID\n\nPossible implementation ideas:\n- Add a new API endpoint for submitting async tasks\n- Implement a task queue on the server side\n- Add a method to query task status and retrieve results\n- Consider using a persistent storage solution for task results\n\nThis feature would enhance MCP's capabilities for handling long-running tasks and improve resilience in unstable network conditions.\n\nAny thoughts or suggestions on how to best implement this feature would be appreciated.","author":{"url":"https://github.com/istarwyh","@type":"Person","name":"istarwyh"},"datePublished":"2025-05-21T11:36:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/769/python-sdk/issues/769"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9269c4a-6e6d-1878-47a1-702e17f35dc4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DED4:2009F3:13ECB8A:1A36F74:6A5C5828 |
| html-safe-nonce | 6cb6838d3ff6ead07f0b755116719ff33f0ea4b5fe07dd1f3dd01e083810cd75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUQ0OjIwMDlGMzoxM0VDQjhBOjFBMzZGNzQ6NkE1QzU4MjgiLCJ2aXNpdG9yX2lkIjoiMjg1MDI1MjU0ODM4MDMxNzczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f49307484313ddb9225f75ae18c581dcaeac667cd42cc71b95e1276886e4c327 |
| hovercard-subject-tag | issue:3079921178 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/modelcontextprotocol/python-sdk/769/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b058630f334ef1e8344145d0d486e89365ed40a664d0b9264d340c442406d5b8/modelcontextprotocol/python-sdk/issues/769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b058630f334ef1e8344145d0d486e89365ed40a664d0b9264d340c442406d5b8/modelcontextprotocol/python-sdk/issues/769 |
| og:image:alt | Currently, the MCP SDK doesn't provide a built-in mechanism for asynchronous task execution where the client can retrieve results after a connection loss. This feature would be valuable for long-ru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | istarwyh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width