René's URL Explorer Experiment


Title: [v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3426 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3426 · modelcontextprotocol/python-sdk

X Title: [v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3426 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3426 · modelcontextprotocol/python-sdk

Open Graph Description: v1.x backport of #3395. Stateful Streamable HTTP sessions get a lifecycle the server owns on 1.x too: a session is forgotten and its transport terminated as soon as it ends, sessions with nothing i...

X Description: v1.x backport of #3395. Stateful Streamable HTTP sessions get a lifecycle the server owns on 1.x too: a session is forgotten and its transport terminated as soon as it ends, sessions with nothing i...

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

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:fd4d6c67-ebdc-286c-735a-b98598434e5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FEC:391D27:170DF2:1FA132:6B00ABB9
html-safe-nonce3c6769624a46802de46f8471e3f3458b1f772fc3e8e45bc7ec6d71df142d2428
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkVDOjM5MUQyNzoxNzBERjI6MUZBMTMyOjZCMDBBQkI5IiwidmlzaXRvcl9pZCI6IjE0ODc0MDA0NjgzNTQyMTQ4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7aaa7d71040d0febf082b4680b5f16c6d66de2c1d9bb4e59c6c24ab228b7e0eb
hovercard-subject-tagpull_request:4414657307
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/3426/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e225ed017810403a84550d84ca380b36561106614796adf5324e74bf47488e85/modelcontextprotocol/python-sdk/pull/3426
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e225ed017810403a84550d84ca380b36561106614796adf5324e74bf47488e85/modelcontextprotocol/python-sdk/pull/3426
og:image:altv1.x backport of #3395. Stateful Streamable HTTP sessions get a lifecycle the server owns on 1.x too: a session is forgotten and its transport terminated as soon as it ends, sessions with nothing i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
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
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3426
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3426
Sign uphttps://redirect.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://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
modelcontextprotocolhttps://redirect.github.com/modelcontextprotocol
python-sdkhttps://redirect.github.com/modelcontextprotocol/python-sdk
Codehttps://redirect.github.com/modelcontextprotocol/python-sdk
Issues308 (308)https://redirect.github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://redirect.github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://redirect.github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://redirect.github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://redirect.github.com/modelcontextprotocol/python-sdk/security
Insightshttps://redirect.github.com/modelcontextprotocol/python-sdk/insights
https://redirect.github.com/modelcontextprotocol/python-sdk
maxisbeyhttps://redirect.github.com/maxisbey
v1.xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1.x
session-retention-defaults-v1xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/session-retention-defaults-v1x
Conversationhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
Commits2 (2)https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/commits
Checkshttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/checks
Files changedhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files
[v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessionshttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#top
maxisbeyhttps://redirect.github.com/maxisbey
v1.xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1.x
session-retention-defaults-v1xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/session-retention-defaults-v1x
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
Sep 1, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#issue-5314864172
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
MCP Documentationhttps://modelcontextprotocol.io
@raphaelOhanahttps://github.com/raphaelOhana
#3059https://github.com/modelcontextprotocol/python-sdk/pull/3059
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/maxisbey
[v1.x] Expire idle Streamable HTTP sessions by default and cap concur…https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/commits/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46
2f502bchttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/commits/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
#3395https://github.com/modelcontextprotocol/python-sdk/pull/3395
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
September 1, 2026 17:31https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#event-30362994529
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Sep 1, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#issuecomment-5497860232
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://pr-3426.mcp-python-docs.pages.devhttps://pr-3426.mcp-python-docs.pages.dev
https://4d27ef5f.mcp-python-docs.pages.devhttps://4d27ef5f.mcp-python-docs.pages.dev
@maxisbeyhttps://github.com/maxisbey
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/apps/claude
claudehttps://redirect.github.com/apps/claude
Sep 1, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5081171674
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46
claudehttps://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5081171674
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/maxisbey
Reset sse-starlette's cached exit event around every testhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/commits/d4693026a97d01655a91989f93834f875e072db7
d469302https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/commits/d4693026a97d01655a91989f93834f875e072db7
https://redirect.github.com/apps/cubic-dev-ai
cubic-dev-aihttps://redirect.github.com/apps/cubic-dev-ai
Sep 1, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5081294283
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46
cubic-dev-aihttps://redirect.github.com/apps/cubic-dev-ai
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5081294283
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3426/ai_pr_review_1788283888980_e98275a4-e25d-47f0-9c8b-72d886b67538?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3426
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
src/mcp/server/streamable_http_manager.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/apps/claude
claudehttps://redirect.github.com/apps/claude
Sep 2, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5087497952
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/d4693026a97d01655a91989f93834f875e072db7
claudehttps://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#pullrequestreview-5087497952
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
92120b4https://redirect.github.com/modelcontextprotocol/python-sdk/commit/92120b4b0f50385af096592d7cee932fc1d994e7
Sep 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3426#event-30424801680
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
September 2, 2026 15:06https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#event-30424805159
fix: prevent session + task leak on GET/DELETE without session-id #3059 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3059
Streamable HTTP session lifecycle can retain unreachable sessions and serialize session creation behind slow requests #3605 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3605
user538295https://redirect.github.com/user538295
Oct 10, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426#ref-commit-f499d21
https://redirect.github.com/user538295
fix(deps): require mcp>=1.30.0 so /mcp closes each SSE streamhttps://redirect.github.com/user538295/archon-search/commit/f499d2109d30d02599cbf5657df15e5b2be741e2
f499d21https://redirect.github.com/user538295/archon-search/commit/f499d2109d30d02599cbf5657df15e5b2be741e2
modelcontextprotocol/python-sdk#3426https://github.com/modelcontextprotocol/python-sdk/pull/3426
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3426
https://redirect.github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://redirect.github.com/apps/cubic-dev-ai
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/2f502bccf98c10c5ce80b78c8d4d4a10728bbf46
https://redirect.github.com/apps/claude
claude[bot] https://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426/files/d4693026a97d01655a91989f93834f875e072db7
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426
https://redirect.github.com/maxisbey
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.