René's URL Explorer Experiment


Title: Add story-style examples suite (27 stories + harness + CI) by maxisbey · Pull Request #2957 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add story-style examples suite (27 stories + harness + CI) by maxisbey · Pull Request #2957 · modelcontextprotocol/python-sdk

X Title: Add story-style examples suite (27 stories + harness + CI) by maxisbey · Pull Request #2957 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add story-style examples suite (27 stories + harness + CI) by maxisbey · Pull Request #2957 · modelcontextprotocol/python-sdk

Open Graph Description: Adds a story-style examples suite: one self-contained folder per protocol feature, each with server.py (MCPServer), server_lowlevel.py (lowlevel Server), client.py, and README.md. Mirrors the types...

X Description: Adds a story-style examples suite: one self-contained folder per protocol feature, each with server.py (MCPServer), server_lowlevel.py (lowlevel Server), client.py, and README.md. Mirrors the types...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fdbf6fa6-b129-17d9-2063-4177a062477b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD4E:10E732:C29EE1:1021D26:6A5B0A7A
html-safe-nonce0755bb3dbd06c8253a70cddb04901885af29892cc5d5a5157d2c4c24bf32fbc8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDRFOjEwRTczMjpDMjlFRTE6MTAyMUQyNjo2QTVCMEE3QSIsInZpc2l0b3JfaWQiOiIzNzcxMDEwMzA0NDcxNDAzMTMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3a4e64328840022a5049449874354cd664f59c3788dbebc44ca66ecc23862163
hovercard-subject-tagpull_request:3923154184
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2957/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/baee3d375504d7733256f8fce83919d7e747b91e2a88d17b77faf025f6eab168/modelcontextprotocol/python-sdk/pull/2957
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/baee3d375504d7733256f8fce83919d7e747b91e2a88d17b77faf025f6eab168/modelcontextprotocol/python-sdk/pull/2957
og:image:altAdds a story-style examples suite: one self-contained folder per protocol feature, each with server.py (MCPServer), server_lowlevel.py (lowlevel Server), client.py, and README.md. Mirrors the types...
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/2957#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2957
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%2F2957
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2957
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2957
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2957
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
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 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
examples-story-suitehttps://github.com/modelcontextprotocol/python-sdk/tree/examples-story-suite
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2957
Commits17 (17)https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files
Add story-style examples suite (27 stories + harness + CI)https://github.com/modelcontextprotocol/python-sdk/pull/2957#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
examples-story-suitehttps://github.com/modelcontextprotocol/python-sdk/tree/examples-story-suite
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 23, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#issue-4729596047
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
MCP Documentationhttps://modelcontextprotocol.io
lowlevel Server: widen on_* return types for InputRequiredResult; add subscriptions/listen slot #2967https://github.com/modelcontextprotocol/python-sdk/pull/2967
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4560825013
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files
examples/stories/client_session/client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-4089dde7751264c82b6f008ac4fdb5e5482af5f9cdf861c249d6bff2d6166489
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/custom_version/client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-47782a24fa76b08931e77f14f62ca9353ee5e57b135881019c01bded1e3268de
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/custom_version/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-089615d9cfeca3fe041fe36c188f5ca43a92783eef0d958ea043c18aef04b769
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/custom_version/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-0b65c24e7bba92cc279dd11c193e78f4f88e09209a2bdccadc3fbcbd34e6f63b
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/custom_version/server_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-126436bbd4973f6a7925920cc9ff281854ec1c6be39a95287da3cc5782a0d072
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/dual_era/client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-9a6233cce5fb7d163ac8be385543e00e7ea6533982fa2b9f9f2bba30c8f4c321
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/dual_era/server_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-7f702cc8aad0fb19dbee007650cd6de7a521507b2316b8b5c254c8fa795736cc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/elicitation/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-587e3b402163522b66e76da42364c78c1683b4645ec6558bb57511c4e54541ad
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
June 25, 2026 14:09https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27204203627
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/c7573955c81fa95eccad5748bdf416421130307d..cb295add7fe657d5defc39fc4d030f4d6fc5b942
c757395https://github.com/modelcontextprotocol/python-sdk/commit/c7573955c81fa95eccad5748bdf416421130307d
cb295adhttps://github.com/modelcontextprotocol/python-sdk/commit/cb295add7fe657d5defc39fc4d030f4d6fc5b942
Compare https://github.com/modelcontextprotocol/python-sdk/compare/c7573955c81fa95eccad5748bdf416421130307d..cb295add7fe657d5defc39fc4d030f4d6fc5b942
June 25, 2026 14:59https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27206526394
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 25, 2026 15:27https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27207768563
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4572498799
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4572498799
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
fix them all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2957/ai_pr_review_1782401238738_0e53ce11-3f7a-41e0-b2d0-a62a12737db6?entrySource=github_ui_to_cubic_ui
Learn morehttps://docs.cubic.dev/ai-review/ultrareview?utm_source=github
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2957/ai_pr_review_1782401238738_0e53ce11-3f7a-41e0-b2d0-a62a12737db6?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2957
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/legacy_elicitation/server_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-047b005b17f5c3be944140287559161d9d6c6636d6b2a425f0f3d4833aa334d4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/legacy_elicitation/server_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-047b005b17f5c3be944140287559161d9d6c6636d6b2a425f0f3d4833aa334d4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/legacy_routing/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-85459bd003f6a6f660944e15c9149b860a26eae4cb42c0aa63e209dc627cd297
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/bearer_auth/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/middleware/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-e7f0746d982b6ed2c1b763b299344ca2af57175c200326c57ea2cedfd8c1c30c
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/manifest.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-3465e861f1dadb6428365d1d397e322cf53ad60e35501e6aef36abb00106b189
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/legacy_routing/server_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-237aa03456e915bd3d15c11bc63fd657e4b6d3edf0d2e6ddb04bf7579b5583e8
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/legacy_elicitation/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-cc297376751f78195533b5c7dec5e723df7aabe013e5abb4f23519d4b3996d2f
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/_shared/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-28de0dde44b6a7cca0576c3805d011507393936ad6473d352ae6d4346d550d3e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/dual_era/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-61c6b9f57e8d905cc0037c993b078965b81d548712dc0c09bbf7eba83c6daaeb
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4572595843
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files
examples/pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-ec621ce961014259169f920ac6f3efa7535952a8b324b14893b0261a1c631369
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/stateless_legacy/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-718f0b9af11329291f03e69c8f7d54068e4eaeb79f6e11d2da01910f23e870a1
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/cb295add7fe657d5defc39fc4d030f4d6fc5b942..6dd50e7c47682ea5af3cb7676715cd213d83a817
cb295adhttps://github.com/modelcontextprotocol/python-sdk/commit/cb295add7fe657d5defc39fc4d030f4d6fc5b942
6dd50e7https://github.com/modelcontextprotocol/python-sdk/commit/6dd50e7c47682ea5af3cb7676715cd213d83a817
Compare https://github.com/modelcontextprotocol/python-sdk/compare/cb295add7fe657d5defc39fc4d030f4d6fc5b942..6dd50e7c47682ea5af3cb7676715cd213d83a817
June 25, 2026 15:48https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27208711464
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4573086613
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4573086613
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2957/ai_pr_review_1782405684687_657bcfc2-d4f0-4449-b1fc-c2fb79f5db94?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2957/ai_pr_review_1782405684687_657bcfc2-d4f0-4449-b1fc-c2fb79f5db94?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2957
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/stateless_legacy/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-718f0b9af11329291f03e69c8f7d54068e4eaeb79f6e11d2da01910f23e870a1
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/reconnect/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files#diff-739215670cc33ab966601c881073a3fa4f8a0899df966b8faf0a3d04190d5c0d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/066df09305966261c1508b37e8ef3f3f353109de..e362d8ff8e2106fe23905cadcdd35b7826a17f26
066df09https://github.com/modelcontextprotocol/python-sdk/commit/066df09305966261c1508b37e8ef3f3f353109de
e362d8fhttps://github.com/modelcontextprotocol/python-sdk/commit/e362d8ff8e2106fe23905cadcdd35b7826a17f26
Compare https://github.com/modelcontextprotocol/python-sdk/compare/066df09305966261c1508b37e8ef3f3f353109de..e362d8ff8e2106fe23905cadcdd35b7826a17f26
June 25, 2026 18:37https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27215235242
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27238442926
maxisbeyhttps://github.com/maxisbey
June 26, 2026 09:24https://github.com/modelcontextprotocol/python-sdk/pull/2957#commits-pushed-b7cb400
https://github.com/maxisbey
Add story-style examples suite (29 stories + harness + CI)https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/b7cb400f4b417fffcba6c25fff37ed6b035d8eb9
b7cb400https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/b7cb400f4b417fffcba6c25fff37ed6b035d8eb9
https://github.com/maxisbey
Remove examples superseded by stories/; update dangling referenceshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/488e343c2560866a009fff114b7a92b4fefaa905
488e343https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/488e343c2560866a009fff114b7a92b4fefaa905
https://github.com/maxisbey
Remove no-cover pragmas for paths now exercised by story exampleshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/70c9233e4ab80c4be33fc3ef14691547552b4859
70c9233https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/70c9233e4ab80c4be33fc3ef14691547552b4859
https://github.com/maxisbey
Drop internal tracking codes from conftest docstringshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/1a839277ecad5e45174e02ca176393d42cc64fe3
1a83927https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/1a839277ecad5e45174e02ca176393d42cc64fe3
https://github.com/maxisbey
Restore old example directories; fix typing.TypedDict on Python < 3.12https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/bf8a62bee5c77ee0dd3ef9bb9bb9dc34b1d12edf
bf8a62bhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/bf8a62bee5c77ee0dd3ef9bb9bb9dc34b1d12edf
https://github.com/maxisbey
Restore original references to old example dirs (revert remainder)https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/123b265506826f4a8d52bc1ca4054ae3c58d1dfb
123b265https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/123b265506826f4a8d52bc1ca4054ae3c58d1dfb
https://github.com/maxisbey
Add lax no cover to both arms of tomllib version-gatehttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/4ef42e989c1a80f8da1d10a66e7d423a55c03023
4ef42e9https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/4ef42e989c1a80f8da1d10a66e7d423a55c03023
https://github.com/maxisbey
Show Client construction in every story; cut/rename stories per reviewhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/2c85d921cc8409ee7df25550efb953cf3e5becb0
2c85d92https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/2c85d921cc8409ee7df25550efb953cf3e5becb0
https://github.com/maxisbey
Add a story shape-check; document the canonical example shapehttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/8abdafc596def072d15bc6d7f4502d81868a3513
8abdafchttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/8abdafc596def072d15bc6d7f4502d81868a3513
https://github.com/maxisbey
Adapt the story suite to the merged 2026 client surfacehttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/dd28eb4f9aeae69b4317adcf66d988cafed1cfe8
dd28eb4https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/dd28eb4f9aeae69b4317adcf66d988cafed1cfe8
https://github.com/maxisbey
Address example-suite review findingshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/c6d7bb61af5815ad0784d3151e459b6b8c989e8b
c6d7bb6https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/c6d7bb61af5815ad0784d3151e459b6b8c989e8b
https://github.com/maxisbey
READMEs: capture the server PID instead of relying on job controlhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/842d61910b524c50fbdae45fbe28d787cf3a2b38
842d619https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/842d61910b524c50fbdae45fbe28d787cf3a2b38
https://github.com/maxisbey
Let client.py self-host its server for HTTP runshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/c223fecda0a7f1b6c68daa3810c67fb1f1da849b
c223fechttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/c223fecda0a7f1b6c68daa3810c67fb1f1da849b
https://github.com/maxisbey
Adapt story suite to the mcp-types package split after rebasehttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/27438a5502d95fe79cd55760fc38a7271ed0946f
27438a5https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/27438a5502d95fe79cd55760fc38a7271ed0946f
https://github.com/maxisbey
Address story-suite review findingshttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/b7081bf5f037d4f8b2e31ed2c7d20f401ccbd51b
b7081bfhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/b7081bf5f037d4f8b2e31ed2c7d20f401ccbd51b
https://github.com/maxisbey
Adapt the legacy_routing story to the Mcp-Method header rung in class…https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/fa9c543b6655d2be1b634000aedb80584b077f7f
fa9c543https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/fa9c543b6655d2be1b634000aedb80584b077f7f
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/71bd40c72f0a65d5b97dbc6463eae69b3e04f6a9..fa9c543b6655d2be1b634000aedb80584b077f7f
71bd40chttps://github.com/modelcontextprotocol/python-sdk/commit/71bd40c72f0a65d5b97dbc6463eae69b3e04f6a9
fa9c543https://github.com/modelcontextprotocol/python-sdk/commit/fa9c543b6655d2be1b634000aedb80584b077f7f
Compare https://github.com/modelcontextprotocol/python-sdk/compare/71bd40c72f0a65d5b97dbc6463eae69b3e04f6a9..fa9c543b6655d2be1b634000aedb80584b077f7f
June 26, 2026 09:30https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27239808558
https://github.com/maxisbey
legacy_routing README: name the Mcp-Method header runghttps://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/23b42a39352b5f2563efde331bb77b2f9b4364b3
23b42a3https://github.com/modelcontextprotocol/python-sdk/pull/2957/commits/23b42a39352b5f2563efde331bb77b2f9b4364b3
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4578556258
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
4caa41fhttps://github.com/modelcontextprotocol/python-sdk/commit/4caa41f6d5c68bbbc141ed65157189e4262c3c3b
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27240964881
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 26, 2026 10:02https://github.com/modelcontextprotocol/python-sdk/pull/2957#event-27240966492
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#pullrequestreview-4578638905
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3
examples/stories/legacy_routing/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3#diff-85459bd003f6a6f660944e15c9149b860a26eae4cb42c0aa63e209dc627cd297
claudehttps://github.com/apps/claude
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#discussion_r3480686124
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/serve_one/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3#diff-bee09f401f15bb72133b51d2098467351a18a1d9c54ffa0e1e9d1f9060e15bb9
claudehttps://github.com/apps/claude
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#discussion_r3480686125
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
examples/stories/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3#diff-eb36043b2439f0ee2fad3fb0df9ad6d6530e25acf10bba9b1df83c1278d16e02
claudehttps://github.com/apps/claude
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2957#discussion_r3480686130
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sse_pollinghttps://github.com/modelcontextprotocol/python-sdk/pull/sse_polling/
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2957#ref-issue-4682677282
Test foundations (safety nets) #2905 https://github.com/modelcontextprotocol/python-sdk/issues/2905
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2957
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/modelcontextprotocol/python-sdk/pull/2957/files/707cbaada6a3169bddda15e23d68c8788225cdb7
https://github.com/apps/claude
claude[bot] https://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/2957/files/23b42a39352b5f2563efde331bb77b2f9b4364b3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2957
https://github.com/maxisbey
https://github.com/Kludex
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.