René's URL Explorer Experiment


Title: Enable session roaming across multiple server instances by davidroberts-merlyn · Pull Request #1519 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Enable session roaming across multiple server instances by davidroberts-merlyn · Pull Request #1519 · modelcontextprotocol/python-sdk

X Title: Enable session roaming across multiple server instances by davidroberts-merlyn · Pull Request #1519 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Enable session roaming across multiple server instances by davidroberts-merlyn · Pull Request #1519 · modelcontextprotocol/python-sdk

Open Graph Description: Motivation and Context Problem When deploying MCP servers across multiple instances (Kubernetes pods, Docker containers, worker processes), sessions are tied to the specific instance that created t...

X Description: Motivation and Context Problem When deploying MCP servers across multiple instances (Kubernetes pods, Docker containers, worker processes), sessions are tied to the specific instance that created t...

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

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:a487c68e-1481-6e6a-29be-63ef4d6dfa93
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE48:19C3B6:E2EF88:144E9E5:6A5A09C0
html-safe-noncef3dbce3043b5a8aa96c669fd518b910feb34f9bf34374a7692717d914a3e4093
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTQ4OjE5QzNCNjpFMkVGODg6MTQ0RTlFNTo2QTVBMDlDMCIsInZpc2l0b3JfaWQiOiIzOTE2MjI3NzM1Nzc0MTY5NTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1897cdd5fa3d50e4b92becaffdbd5a2c681e6cbf3a172552390f126745bba0e4
hovercard-subject-tagpull_request:2950652435
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/1519/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/713acbfa5b7d0791d5bc526a8a71262ac28752e8722ccc7ab3d1cabcae325fcb/modelcontextprotocol/python-sdk/pull/1519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/713acbfa5b7d0791d5bc526a8a71262ac28752e8722ccc7ab3d1cabcae325fcb/modelcontextprotocol/python-sdk/pull/1519
og:image:altMotivation and Context Problem When deploying MCP servers across multiple instances (Kubernetes pods, Docker containers, worker processes), sessions are tied to the specific instance that created t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidroberts-merlyn
hostnamegithub.com
expected-hostnamegithub.com
None8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7
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
release491710c7a8eecca9d0a06bd157646f2685d8c87b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/1519#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1519
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%2F1519
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/1519
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1519
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1519
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
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 255 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
davidroberts-merlynhttps://github.com/davidroberts-merlyn
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
davidroberts-merlyn:session-roaminghttps://github.com/davidroberts-merlyn/python-sdk/tree/session-roaming
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1519
Commits9 (9)https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1519/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/files
Enable session roaming across multiple server instanceshttps://github.com/modelcontextprotocol/python-sdk/pull/1519#top
davidroberts-merlynhttps://github.com/davidroberts-merlyn
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
davidroberts-merlyn:session-roaminghttps://github.com/davidroberts-merlyn/python-sdk/tree/session-roaming
https://github.com/davidroberts-merlyn
davidroberts-merlynhttps://github.com/davidroberts-merlyn
Oct 27, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#issue-3556404330
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
#520https://github.com/modelcontextprotocol/python-sdk/issues/520
#692https://github.com/modelcontextprotocol/python-sdk/issues/692
#880https://github.com/modelcontextprotocol/python-sdk/issues/880
#1350https://github.com/modelcontextprotocol/python-sdk/issues/1350
MCP Documentationhttps://modelcontextprotocol.io/
#520https://github.com/modelcontextprotocol/python-sdk/issues/520
#692https://github.com/modelcontextprotocol/python-sdk/issues/692
#880https://github.com/modelcontextprotocol/python-sdk/issues/880
#1350https://github.com/modelcontextprotocol/python-sdk/issues/1350
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
davidroberts-merlynhttps://github.com/davidroberts-merlyn
October 27, 2025 18:23https://github.com/modelcontextprotocol/python-sdk/pull/1519#commits-pushed-9faef55
https://github.com/davidroberts-merlyn
Enable session roaming across multiple server instanceshttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/9faef55c91e81ce33d2acc3c01a5646802e5ce28
9faef55https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/9faef55c91e81ce33d2acc3c01a5646802e5ce28
modelcontextprotocol#520https://github.com/modelcontextprotocol/python-sdk/issues/520
modelcontextprotocol#692https://github.com/modelcontextprotocol/python-sdk/issues/692
modelcontextprotocol#880https://github.com/modelcontextprotocol/python-sdk/issues/880
modelcontextprotocol#1350https://github.com/modelcontextprotocol/python-sdk/issues/1350
https://github.com/davidroberts-merlyn
Fix prettier formatting in docker-compose.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/5e75bec68be70cd30936e3ca56cdf9c90e73c316
5e75bechttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/5e75bec68be70cd30936e3ca56cdf9c90e73c316
https://github.com/davidroberts-merlyn
Fix markdownlint issues in example documentationhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/07cb1dd601c8127c2377dbef9887e3f9914d8c36
07cb1ddhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/07cb1dd601c8127c2377dbef9887e3f9914d8c36
https://github.com/davidroberts-merlyn
Fix race condition in session roaminghttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/550fe88bbab5617b8b61966c72a9e05380fb259c
550fe88https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/550fe88bbab5617b8b61966c72a9e05380fb259c
https://github.com/davidroberts-merlyn
Fix test mock setup for async context managershttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/7df72c1299555cdaf4d74e5493473dc3fad3236a
7df72c1https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/7df72c1299555cdaf4d74e5493473dc3fad3236a
https://github.com/davidroberts-merlyn
Add missing contextlib import for async context manager decoratorhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ea7813fc3ff90f134213533376e8d3674d5c2747
ea7813fhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ea7813fc3ff90f134213533376e8d3674d5c2747
https://github.com/davidroberts-merlyn
Fix pyright type errors for asynccontextmanager decoratorshttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/33f14f09b1bceb4df42ca224d55a15f2acb0fa68
33f14f0https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/33f14f09b1bceb4df42ca224d55a15f2acb0fa68
https://github.com/davidroberts-merlyn
Fix test failures by making mock app.run block until cancelledhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ce114b28995d9787c57a833dee44e3f62359e377
ce114b2https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ce114b28995d9787c57a833dee44e3f62359e377
https://github.com/davidroberts-merlyn
davidroberts-merlynhttps://github.com/davidroberts-merlyn
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/1c9b3cea5926a90c518c0b742168698a56eedfa6..ce114b28995d9787c57a833dee44e3f62359e377
1c9b3cehttps://github.com/modelcontextprotocol/python-sdk/commit/1c9b3cea5926a90c518c0b742168698a56eedfa6
ce114b2https://github.com/modelcontextprotocol/python-sdk/commit/ce114b28995d9787c57a833dee44e3f62359e377
Compare https://github.com/modelcontextprotocol/python-sdk/compare/1c9b3cea5926a90c518c0b742168698a56eedfa6..ce114b28995d9787c57a833dee44e3f62359e377
October 27, 2025 18:23https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20532996573
https://github.com/davidroberts-merlyn
Merge branch 'main' into session-roaminghttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/64d7f4e40a234ac2db01a80e8845eeb808826310
64d7f4ehttps://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/64d7f4e40a234ac2db01a80e8845eeb808826310
https://github.com/jacksteamdev
jacksteamdevhttps://github.com/jacksteamdev
Oct 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1519#pullrequestreview-3389393468
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310
jacksteamdevhttps://github.com/jacksteamdev
https://github.com/modelcontextprotocol/python-sdk/pull/1519#pullrequestreview-3389393468
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
examples/servers/simple-streamablehttp-roaming/FILES.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-a052ade6ad5d3dc3b280ba25f2d835d2a643a9d4d8973220b41b7373d36b80ac
jacksteamdevhttps://github.com/jacksteamdev
Oct 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470016917
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
examples/servers/simple-streamablehttp-roaming/QUICKSTART.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-143fd26e8cf90152ac9735d7559e9b961603b89a628e57249f7cc7afa97d1ee9
jacksteamdevhttps://github.com/jacksteamdev
Oct 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470019827
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
examples/servers/simple-streamablehttp-roaming/test_roaming.shhttps://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-ef9847b1f7b2609338114481c60c2881e8b62e213b175ad34691d363e031d011
jacksteamdevhttps://github.com/jacksteamdev
Oct 28, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470026501
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
https://github.com/davidroberts-merlyn
davidroberts-merlynhttps://github.com/davidroberts-merlyn
October 28, 2025 18:54https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20562033196
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
pending publish https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22pending%20publish%22
Oct 29, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20577854719
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Oct 30, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1519#ref-issue-3570401521
Implement SEP-1442: Make MCP Stateless #1544 https://github.com/modelcontextprotocol/python-sdk/issues/1544
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
pending publish https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22pending%20publish%22
Nov 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20894722326
https://github.com/mueller-benjm
mueller-benjmhttps://github.com/mueller-benjm
Mar 11, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1519#issuecomment-4038805756
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-24077147901
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%2F1519
https://github.com/jacksteamdev
jacksteamdev https://github.com/jacksteamdev
https://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310
MCP Server Session Lost in Multi-Worker Environment https://github.com/modelcontextprotocol/python-sdk/issues/520
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1519
https://github.com/davidroberts-merlyn
https://github.com/mueller-benjm
https://github.com/jacksteamdev
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.