René's URL Explorer Experiment


Title: Add the client-side subscriptions/listen driver by maxisbey · Pull Request #3047 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add the client-side subscriptions/listen driver by maxisbey · Pull Request #3047 · modelcontextprotocol/python-sdk

X Title: Add the client-side subscriptions/listen driver by maxisbey · Pull Request #3047 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add the client-side subscriptions/listen driver by maxisbey · Pull Request #3047 · modelcontextprotocol/python-sdk

Open Graph Description: Stacked on #3046 (the request-id and cancellation plumbing) — review this one for the driver only; the base branch carries the transport work. The client half of subscriptions/listen (2026-07-28, S...

X Description: Stacked on #3046 (the request-id and cancellation plumbing) — review this one for the driver only; the base branch carries the transport work. The client half of subscriptions/listen (2026-07-28, S...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3047

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:8cb081e5-5cab-2b8d-e3fb-ee6de84e494d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8054:2C4572:3297E4:42F2E5:6A5BC8A1
html-safe-nonce9ebfbe9ec30ab707f46a527205e14918733111f225494df0acaca79229a306dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDU0OjJDNDU3MjozMjk3RTQ6NDJGMkU1OjZBNUJDOEExIiwidmlzaXRvcl9pZCI6IjU1MDY0NzUzMzQ1ODQ0ODYwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace6d288164041590ed3c728f041ddf278e32f2aff439fc6380b70342d7ccbb206
hovercard-subject-tagpull_request:3972898099
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
twitter:imagehttps://opengraph.githubassets.com/b742a0481edd151b648fc8b3d5e47aec3aab62ef31d6173a63a09f4b4256fd76/modelcontextprotocol/python-sdk/pull/3047
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b742a0481edd151b648fc8b3d5e47aec3aab62ef31d6173a63a09f4b4256fd76/modelcontextprotocol/python-sdk/pull/3047
og:image:altStacked on #3046 (the request-id and cancellation plumbing) — review this one for the driver only; the base branch carries the transport work. The client half of subscriptions/listen (2026-07-28, S...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3047%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3047%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 306 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
listen-client-driverhttps://github.com/modelcontextprotocol/python-sdk/tree/listen-client-driver
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/3047
Commits18 (18)https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/3047/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/files
Add the client-side subscriptions/listen driverhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
listen-client-driverhttps://github.com/modelcontextprotocol/python-sdk/tree/listen-client-driver
Add the client-side subscriptions/listen driverhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b39c4bf8858ae42d600ec4b828b974bc40de5516
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
b39c4bfhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b39c4bf8858ae42d600ec4b828b974bc40de5516
https://github.com/modelcontextprotocol/python-sdk/tree/b39c4bf8858ae42d600ec4b828b974bc40de5516
Keep the docs watch-loop snippet ASCIIhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/f69098c263642f2e93de82dc4bf52030d1f26c77
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
f69098chttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/f69098c263642f2e93de82dc4bf52030d1f26c77
https://github.com/modelcontextprotocol/python-sdk/tree/f69098c263642f2e93de82dc4bf52030d1f26c77
Harden the listen driver against receive-order races and hostile peershttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/6c36cbd8355a96ee026f841ce04ae8f2888e17cf
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
6c36cbdhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/6c36cbd8355a96ee026f841ce04ae8f2888e17cf
https://github.com/modelcontextprotocol/python-sdk/tree/6c36cbd8355a96ee026f841ce04ae8f2888e17cf
Trim comments and docstrings in the listen driver changeshttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/ec13b6b01c8d18ac4bfcc401ef9ba1c450e62044
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
ec13b6bhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/ec13b6b01c8d18ac4bfcc401ef9ba1c450e62044
https://github.com/modelcontextprotocol/python-sdk/tree/ec13b6b01c8d18ac4bfcc401ef9ba1c450e62044
Point moved docs pages at the client driver sectionhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/755013118f64f97c76e49352145865a3908fe399
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
7550131https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/755013118f64f97c76e49352145865a3908fe399
https://github.com/modelcontextprotocol/python-sdk/tree/755013118f64f97c76e49352145865a3908fe399
Move the docs watch-loop example into docs_src and prove ithttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/c10f25fe45c168e03f922e674cdf8613dc654e3a
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
c10f25fhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/c10f25fe45c168e03f922e674cdf8613dc654e3a
https://github.com/modelcontextprotocol/python-sdk/tree/c10f25fe45c168e03f922e674cdf8613dc654e3a
Deep-link the migration guide and spell out the watcher test choreographyhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/6770ffa250fd55b9442230ff42d726732f7301c0
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
6770ffahttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/6770ffa250fd55b9442230ff42d726732f7301c0
https://github.com/modelcontextprotocol/python-sdk/tree/6770ffa250fd55b9442230ff42d726732f7301c0
Prove the caller-supplied listen id end to end and undefer its requirementhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/cf2a7d3d8a455d834c937ae69ebf56486f0fd84f
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
cf2a7d3https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/cf2a7d3d8a455d834c937ae69ebf56486f0fd84f
https://github.com/modelcontextprotocol/python-sdk/tree/cf2a7d3d8a455d834c937ae69ebf56486f0fd84f
Prove concurrent listen streams demux their own ackshttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/9ef0ed78b79eabd6f19a289af140527bdb60a261
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
9ef0ed7https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/9ef0ed78b79eabd6f19a289af140527bdb60a261
https://github.com/modelcontextprotocol/python-sdk/tree/9ef0ed78b79eabd6f19a289af140527bdb60a261
Rewrite the subscriptions docs around a worked examplehttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/46ba07180e9b8624d7eef07af5b9f484f49aaabc
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
46ba071https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/46ba07180e9b8624d7eef07af5b9f484f49aaabc
https://github.com/modelcontextprotocol/python-sdk/tree/46ba07180e9b8624d7eef07af5b9f484f49aaabc
Repoint subscription doc links at the renamed headingshttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/2ce1e475e14fa4c8b7e4081ed2194439ddd7139f
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
2ce1e47https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/2ce1e475e14fa4c8b7e4081ed2194439ddd7139f
https://github.com/modelcontextprotocol/python-sdk/tree/2ce1e475e14fa4c8b7e4081ed2194439ddd7139f
Connect the subscription examples over HTTPhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/5e941c6301c84f7bfcef17b5bcd24cdb2bd11654
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
5e941c6https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/5e941c6301c84f7bfcef17b5bcd24cdb2bd11654
https://github.com/modelcontextprotocol/python-sdk/tree/5e941c6301c84f7bfcef17b5bcd24cdb2bd11654
State precisely what a subscription filter can and cannot leakhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b9284a5d315044ddc85bb6c4b3da52fd1c285e01
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
b9284a5https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b9284a5d315044ddc85bb6c4b3da52fd1c285e01
https://github.com/modelcontextprotocol/python-sdk/tree/b9284a5d315044ddc85bb6c4b3da52fd1c285e01
Correct the stop-watching wire claim and the copied-filename import notehttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/34215a928a9ee7cfdbdf24fd67932ecf13c9cd4b
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
34215a9https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/34215a928a9ee7cfdbdf24fd67932ecf13c9cd4b
https://github.com/modelcontextprotocol/python-sdk/tree/34215a928a9ee7cfdbdf24fd67932ecf13c9cd4b
Fix two waiter-resolution gaps in the streamable HTTP clienthttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b642ac41897159f17f05e9ba3881e6ea1e51fe75
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
b642ac4https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/b642ac41897159f17f05e9ba3881e6ea1e51fe75
https://github.com/modelcontextprotocol/python-sdk/tree/b642ac41897159f17f05e9ba3881e6ea1e51fe75
Shadow the per-module runner lease in the docs subscriptions testshttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/f6b52951c1ae5da5fb90e8245ff0ff53a89961b3
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
f6b5295https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/f6b52951c1ae5da5fb90e8245ff0ff53a89961b3
https://github.com/modelcontextprotocol/python-sdk/tree/f6b52951c1ae5da5fb90e8245ff0ff53a89961b3
Sever a superseded POST instead of guarding one resolution pathhttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/07b5c9a3fe481fa364c8bf140fc7274b2c56c3e9
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
07b5c9ahttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/07b5c9a3fe481fa364c8bf140fc7274b2c56c3e9
https://github.com/modelcontextprotocol/python-sdk/tree/07b5c9a3fe481fa364c8bf140fc7274b2c56c3e9
Split the client side of subscriptions onto its own pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/56e2a2627a129efde42c8fec46de3f5bd4636ba4
https://github.com/maxisbey
maxisbeyhttps://github.com/modelcontextprotocol/python-sdk/commits?author=maxisbey
56e2a26https://github.com/modelcontextprotocol/python-sdk/pull/3047/commits/56e2a2627a129efde42c8fec46de3f5bd4636ba4
https://github.com/modelcontextprotocol/python-sdk/tree/56e2a2627a129efde42c8fec46de3f5bd4636ba4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.