Title: SSE Hangs After Disconnect · Issue #1437 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: SSE Hangs After Disconnect · Issue #1437 · modelcontextprotocol/python-sdk
X Title: SSE Hangs After Disconnect · Issue #1437 · modelcontextprotocol/python-sdk
Description: When a client connects to an MCP server using SSE transport and disconnects before the server sends any events: Server sends http.response.start (HTTP 200 + headers) Client disconnects before any SSE events are generated Server never sen...
Open Graph Description: When a client connects to an MCP server using SSE transport and disconnects before the server sends any events: Server sends http.response.start (HTTP 200 + headers) Client disconnects before any S...
X Description: When a client connects to an MCP server using SSE transport and disconnects before the server sends any events: Server sends http.response.start (HTTP 200 + headers) Client disconnects before any S...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/1437
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SSE Hangs After Disconnect","articleBody":"When a client connects to an MCP server using SSE transport and disconnects before the server sends any events:\n\n1. Server sends `http.response.start` (HTTP 200 + headers)\n2. Client disconnects before any SSE events are generated\n3. Server never sends `http.response.body` message\n\n[Location](https://github.com/modelcontextprotocol/python-sdk/blob/61399b386c19af9b9c9277727990a6b3c6a95d83/src/mcp/server/streamable_http.py#L450)\n\n--- \n\nI'm limited with how much additional information I can provide. I'm working with my enterprise Open Source team to figure out the proper way to navigate this.","author":{"url":"https://github.com/cameronsjo","@type":"Person","name":"cameronsjo"},"datePublished":"2025-10-06T19:51:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1437/python-sdk/issues/1437"}
| 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:2dc4b679-743d-c512-e63c-78a97d0817bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5CE:3FF3CA:1D0841E:27CFCEE:6A608D16 |
| html-safe-nonce | 3dfcad1798c9a5b907ef1a4d7bff9205d3da462d6bfc78a16dece0779f95f82a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUNFOjNGRjNDQToxRDA4NDFFOjI3Q0ZDRUU6NkE2MDhEMTYiLCJ2aXNpdG9yX2lkIjoiODAzMzY5ODM5NTgwMTU1NDE5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3c67713aa9ae2204d86287c4f302f722a5e9c72267590ae2849f5e96a50ab31 |
| hovercard-subject-tag | issue:3488836677 |
| 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/1437/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0684a919058220ff9c7b5f5d22447ea89229ea176f68a06f8e8dd90479641345/modelcontextprotocol/python-sdk/issues/1437 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0684a919058220ff9c7b5f5d22447ea89229ea176f68a06f8e8dd90479641345/modelcontextprotocol/python-sdk/issues/1437 |
| og:image:alt | When a client connects to an MCP server using SSE transport and disconnects before the server sends any events: Server sends http.response.start (HTTP 200 + headers) Client disconnects before any S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cameronsjo |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0632c7929f76e8db538ffed06ab2fc4c524a012b0888e95d96928690fcc604d |
| 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 | 4f9009410bd92637ba907f71dc7f7af3f0df45aa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width