René's URL Explorer Experiment


Title: Add idle session cleanup to prevent unbounded session accumulation by ddworken · Pull Request #1343 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add idle session cleanup to prevent unbounded session accumulation by ddworken · Pull Request #1343 · modelcontextprotocol/python-sdk

X Title: Add idle session cleanup to prevent unbounded session accumulation by ddworken · Pull Request #1343 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add idle session cleanup to prevent unbounded session accumulation by ddworken · Pull Request #1343 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Added automatic cleanup of idle sessions when session count exceeds threshold Sessions inactive longer than idle timeout are terminated to free resources Prevents memory exhaustion from cl...

X Description: Summary Added automatic cleanup of idle sessions when session count exceeds threshold Sessions inactive longer than idle timeout are terminated to free resources Prevents memory exhaustion from cl...

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

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:c8a42afc-2b11-dd74-6992-c121e9de4be5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC46:2DEFFD:232D99:2FD28A:6A5A6BF4
html-safe-noncecfc4ec060eaab920803fde6425cd74b50d8c16ddffead889e26576e7334a7da9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzQ2OjJERUZGRDoyMzJEOTk6MkZEMjhBOjZBNUE2QkY0IiwidmlzaXRvcl9pZCI6IjI5MDA1MDIyMzk4MTQyNDk0NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac85551ae3052d00ba72a9ddf09dc6d30df73b04a0b43e0476139fac5b99f13fa7
hovercard-subject-tagpull_request:2801066639
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/1343/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d41fbf9f2bef58767a7d2eeceb3403c0c9f47c8097907b1ff5b6493c005f54a2/modelcontextprotocol/python-sdk/pull/1343
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d41fbf9f2bef58767a7d2eeceb3403c0c9f47c8097907b1ff5b6493c005f54a2/modelcontextprotocol/python-sdk/pull/1343
og:image:altSummary Added automatic cleanup of idle sessions when session count exceeds threshold Sessions inactive longer than idle timeout are terminated to free resources Prevents memory exhaustion from cl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameddworken
hostnamegithub.com
expected-hostnamegithub.com
None922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106
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
release03575fc589c0e2692de839d7ca2b3aa5b5179f52
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/1343#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1343
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%2F1343
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/1343
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1343
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1343
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
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 256 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 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
ddworkenhttps://github.com/ddworken
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
ddworken:dworken/session-timeouthttps://github.com/ddworken/python-sdk/tree/dworken/session-timeout
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1343
Commits5 (5)https://github.com/modelcontextprotocol/python-sdk/pull/1343/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1343/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1343/files
Add idle session cleanup to prevent unbounded session accumulationhttps://github.com/modelcontextprotocol/python-sdk/pull/1343#top
ddworkenhttps://github.com/ddworken
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
ddworken:dworken/session-timeouthttps://github.com/ddworken/python-sdk/tree/dworken/session-timeout
https://github.com/ddworken
ddworkenhttps://github.com/ddworken
Sep 4, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#issue-3385757923
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
ddworkenhttps://github.com/ddworken
September 4, 2025 16:01https://github.com/modelcontextprotocol/python-sdk/pull/1343#commits-pushed-d86072e
https://github.com/ddworken
Add idle session cleanup to prevent unbounded session accumulationhttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/d86072e91adbf1caab04524630f63b505aa3f56f
d86072ehttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/d86072e91adbf1caab04524630f63b505aa3f56f
https://github.com/ddworken
Fix formatting: remove trailing whitespacehttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/1bea7c0aad0eb6ddfeafa77f8e46e0958a5e1223
1bea7c0https://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/1bea7c0aad0eb6ddfeafa77f8e46e0958a5e1223
https://github.com/ddworken
Fix type errors and formatting in testshttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/22d1367e70ef68f93d9c787a80e0ab4152841edf
22d1367https://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/22d1367e70ef68f93d9c787a80e0ab4152841edf
https://github.com/ddworken
emptyhttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/56781df907844aeaecbad0d9dd4b1243e824b400
56781dfhttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/56781df907844aeaecbad0d9dd4b1243e824b400
https://github.com/ddworken
emptyhttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/d2ef92ca62071a7985a37e9b9699d01c9f06401e
d2ef92chttps://github.com/modelcontextprotocol/python-sdk/pull/1343/commits/d2ef92ca62071a7985a37e9b9699d01c9f06401e
https://github.com/ddworken
ddworkenhttps://github.com/ddworken
September 4, 2025 23:35https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-19518703781
https://github.com/ddworken
ddworkenhttps://github.com/ddworken
ochafikhttps://github.com/ochafik
September 4, 2025 23:35https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-19518703958
https://github.com/ochafik
ochafikhttps://github.com/ochafik
breaking change https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22breaking%20change%22
Sep 9, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-19576515678
https://github.com/ochafik
ochafikhttps://github.com/ochafik
Sep 12, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1343#pullrequestreview-3217039163
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1343/files/d2ef92ca62071a7985a37e9b9699d01c9f06401e
ochafikhttps://github.com/ochafik
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/modelcontextprotocol/python-sdk/pull/1343#pullrequestreview-3217039163
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ddworkenhttps://github.com/ddworken
spec change proposalshttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/982
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/ochafik
ochafikhttps://github.com/ochafik
Sep 15, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#issuecomment-3292097892
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
needs more eyes https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20eyes%22
Sep 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-19850416644
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1343#ref-pullrequest-3236551189
Add idle timeout termination for StreamableHTTPServerTransport #1159 https://github.com/modelcontextprotocol/python-sdk/pull/1159
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#issuecomment-3321451151
#1159https://github.com/modelcontextprotocol/python-sdk/pull/1159
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
needs maintainer https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20maintainer%22
Sep 30, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-20006909594
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 30, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-20006910410
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
needs more eyes https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20eyes%22
Sep 30, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-20006911675
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Oct 10, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-20203215902
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Dec 19, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#issuecomment-3675184682
#1159https://github.com/modelcontextprotocol/python-sdk/pull/1159
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Dec 19, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1343#event-21671413265
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%2F1343
https://github.com/ochafik
ochafik https://github.com/ochafik
https://github.com/modelcontextprotocol/python-sdk/pull/1343/files/d2ef92ca62071a7985a37e9b9699d01c9f06401e
breaking change https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22breaking%20change%22
needs maintainer https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20maintainer%22
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1343
https://github.com/ddworken
https://github.com/ochafik
https://github.com/felixweinberger
https://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.