Title: subscriptions/listen · Issue #2901 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: subscriptions/listen · Issue #2901 · modelcontextprotocol/python-sdk
X Title: subscriptions/listen · Issue #2901 · modelcontextprotocol/python-sdk
Description: The opt-in long-lived notification stream: server accepts a filter, acks first, routes only opted-in types, tags with subscriptionId; client demux helper for #2894 to wire in. What's in it Server: accept subscriptions/listen with a filte...
Open Graph Description: The opt-in long-lived notification stream: server accepts a filter, acks first, routes only opted-in types, tags with subscriptionId; client demux helper for #2894 to wire in. What's in it Server: ...
X Description: The opt-in long-lived notification stream: server accepts a filter, acks first, routes only opted-in types, tags with subscriptionId; client demux helper for #2894 to wire in. What's in it Serv...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/2901
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"subscriptions/listen","articleBody":"The opt-in long-lived notification stream: server accepts a filter, acks first, routes only opted-in types, tags with `subscriptionId`; client demux helper for #2894 to wire in.\n\n## What's in it\n\n- Server: accept `subscriptions/listen` with a filter, send the ack first, route only opted-in notification types, tag each with `subscriptionId`.\n- A way for the existing notification publishers (list_changed, resources/updated) to feed the listen stream.\n- Client demux helper (open/maintain stream, demux by id, re-subscribe after a stdio reconnect) — wired in by #2894.\n\n## Conformance\n\n- The `sep-2575-server-*` subscription checks inside `server-stateless` run (not skip) and pass\n- Together with _Backwards compatibility \u0026 version negotiation_, _New HTTP serving path (modern + dual-era)_, _Capabilities API + server/discover handler_, _Context object (layered, per-request)_: `server-stateless`\n\n## Dependencies\n\n- Depends on: #2893\n\n## References\n\n- [Subscriptions](https://modelcontextprotocol.io/specification/draft/basic/patterns/subscriptions)\n- [SEP-2575](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2575)\n","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2026-06-17T11:12:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2901/python-sdk/issues/2901"}
| 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:558a4552-34bb-959e-a31f-ba4ef09d45cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBAA:3DCF75:3DB49D:59485C:6A58895B |
| html-safe-nonce | 5cd13de0855d3932e01f7f80f1881918e4fb4d8140fe8e554401683c818408cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkFBOjNEQ0Y3NTozREI0OUQ6NTk0ODVDOjZBNTg4OTVCIiwidmlzaXRvcl9pZCI6IjUwNDIwODE4MzY3OTA0ODMyOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ab65a2502252817c8a0bce02738f9ea178f1a38d014281dfb75765649749a252 |
| hovercard-subject-tag | issue:4682676024 |
| 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/2901/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1267578c31afb29a52f75ad6af1378526cc61de30d8773b43ca89a9ca141aae5/modelcontextprotocol/python-sdk/issues/2901 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1267578c31afb29a52f75ad6af1378526cc61de30d8773b43ca89a9ca141aae5/modelcontextprotocol/python-sdk/issues/2901 |
| og:image:alt | The opt-in long-lived notification stream: server accepts a filter, acks first, routes only opted-in types, tags with subscriptionId; client demux helper for #2894 to wire in. What's in it Server: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width