| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a487c68e-1481-6e6a-29be-63ef4d6dfa93 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE48:19C3B6:E2EF88:144E9E5:6A5A09C0 |
| html-safe-nonce | f3dbce3043b5a8aa96c669fd518b910feb34f9bf34374a7692717d914a3e4093 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTQ4OjE5QzNCNjpFMkVGODg6MTQ0RTlFNTo2QTVBMDlDMCIsInZpc2l0b3JfaWQiOiIzOTE2MjI3NzM1Nzc0MTY5NTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1897cdd5fa3d50e4b92becaffdbd5a2c681e6cbf3a172552390f126745bba0e4 |
| hovercard-subject-tag | pull_request:2950652435 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/1519/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/713acbfa5b7d0791d5bc526a8a71262ac28752e8722ccc7ab3d1cabcae325fcb/modelcontextprotocol/python-sdk/pull/1519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/713acbfa5b7d0791d5bc526a8a71262ac28752e8722ccc7ab3d1cabcae325fcb/modelcontextprotocol/python-sdk/pull/1519 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidroberts-merlyn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 491710c7a8eecca9d0a06bd157646f2685d8c87b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://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-merlyn | https://github.com/davidroberts-merlyn |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| davidroberts-merlyn:session-roaming | https://github.com/davidroberts-merlyn/python-sdk/tree/session-roaming |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| Commits9 (9) | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/1519/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/1519/files |
| Enable session roaming across multiple server instances | https://github.com/modelcontextprotocol/python-sdk/pull/1519#top |
| davidroberts-merlyn | https://github.com/davidroberts-merlyn |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| davidroberts-merlyn:session-roaming | https://github.com/davidroberts-merlyn/python-sdk/tree/session-roaming |
|
| https://github.com/davidroberts-merlyn |
| davidroberts-merlyn | https://github.com/davidroberts-merlyn |
| Oct 27, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#issue-3556404330 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| #520 | https://github.com/modelcontextprotocol/python-sdk/issues/520 |
| #692 | https://github.com/modelcontextprotocol/python-sdk/issues/692 |
| #880 | https://github.com/modelcontextprotocol/python-sdk/issues/880 |
| #1350 | https://github.com/modelcontextprotocol/python-sdk/issues/1350 |
| MCP Documentation | https://modelcontextprotocol.io/ |
| #520 | https://github.com/modelcontextprotocol/python-sdk/issues/520 |
| #692 | https://github.com/modelcontextprotocol/python-sdk/issues/692 |
| #880 | https://github.com/modelcontextprotocol/python-sdk/issues/880 |
| #1350 | https://github.com/modelcontextprotocol/python-sdk/issues/1350 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| davidroberts-merlyn | https://github.com/davidroberts-merlyn |
| October 27, 2025 18:23 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#commits-pushed-9faef55 |
|
| https://github.com/davidroberts-merlyn |
| Enable session roaming across multiple server instances | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/9faef55c91e81ce33d2acc3c01a5646802e5ce28 |
| 9faef55 | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/9faef55c91e81ce33d2acc3c01a5646802e5ce28 |
| modelcontextprotocol#520 | https://github.com/modelcontextprotocol/python-sdk/issues/520 |
| modelcontextprotocol#692 | https://github.com/modelcontextprotocol/python-sdk/issues/692 |
| modelcontextprotocol#880 | https://github.com/modelcontextprotocol/python-sdk/issues/880 |
| modelcontextprotocol#1350 | https://github.com/modelcontextprotocol/python-sdk/issues/1350 |
|
| https://github.com/davidroberts-merlyn |
| Fix prettier formatting in docker-compose.yml | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/5e75bec68be70cd30936e3ca56cdf9c90e73c316 |
| 5e75bec | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/5e75bec68be70cd30936e3ca56cdf9c90e73c316 |
|
| https://github.com/davidroberts-merlyn |
| Fix markdownlint issues in example documentation | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/07cb1dd601c8127c2377dbef9887e3f9914d8c36 |
| 07cb1dd | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/07cb1dd601c8127c2377dbef9887e3f9914d8c36 |
|
| https://github.com/davidroberts-merlyn |
| Fix race condition in session roaming | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/550fe88bbab5617b8b61966c72a9e05380fb259c |
| 550fe88 | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/550fe88bbab5617b8b61966c72a9e05380fb259c |
|
| https://github.com/davidroberts-merlyn |
| Fix test mock setup for async context managers | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/7df72c1299555cdaf4d74e5493473dc3fad3236a |
| 7df72c1 | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/7df72c1299555cdaf4d74e5493473dc3fad3236a |
|
| https://github.com/davidroberts-merlyn |
| Add missing contextlib import for async context manager decorator | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ea7813fc3ff90f134213533376e8d3674d5c2747 |
| ea7813f | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ea7813fc3ff90f134213533376e8d3674d5c2747 |
|
| https://github.com/davidroberts-merlyn |
| Fix pyright type errors for asynccontextmanager decorators | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/33f14f09b1bceb4df42ca224d55a15f2acb0fa68 |
| 33f14f0 | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/33f14f09b1bceb4df42ca224d55a15f2acb0fa68 |
|
| https://github.com/davidroberts-merlyn |
| Fix test failures by making mock app.run block until cancelled | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ce114b28995d9787c57a833dee44e3f62359e377 |
| ce114b2 | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/ce114b28995d9787c57a833dee44e3f62359e377 |
| https://github.com/davidroberts-merlyn |
| davidroberts-merlyn | https://github.com/davidroberts-merlyn |
| force-pushed | https://github.com/modelcontextprotocol/python-sdk/compare/1c9b3cea5926a90c518c0b742168698a56eedfa6..ce114b28995d9787c57a833dee44e3f62359e377 |
| 1c9b3ce | https://github.com/modelcontextprotocol/python-sdk/commit/1c9b3cea5926a90c518c0b742168698a56eedfa6 |
| ce114b2 | https://github.com/modelcontextprotocol/python-sdk/commit/ce114b28995d9787c57a833dee44e3f62359e377 |
|
Compare
| https://github.com/modelcontextprotocol/python-sdk/compare/1c9b3cea5926a90c518c0b742168698a56eedfa6..ce114b28995d9787c57a833dee44e3f62359e377 |
| October 27, 2025 18:23 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20532996573 |
|
| https://github.com/davidroberts-merlyn |
| Merge branch 'main' into session-roaming | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/64d7f4e40a234ac2db01a80e8845eeb808826310 |
| 64d7f4e | https://github.com/modelcontextprotocol/python-sdk/pull/1519/commits/64d7f4e40a234ac2db01a80e8845eeb808826310 |
| https://github.com/jacksteamdev |
| jacksteamdev | https://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 |
| jacksteamdev | https://github.com/jacksteamdev |
| https://github.com/modelcontextprotocol/python-sdk/pull/1519#pullrequestreview-3389393468 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| examples/servers/simple-streamablehttp-roaming/FILES.md | https://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-a052ade6ad5d3dc3b280ba25f2d835d2a643a9d4d8973220b41b7373d36b80ac |
| jacksteamdev | https://github.com/jacksteamdev |
| Oct 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470016917 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| examples/servers/simple-streamablehttp-roaming/QUICKSTART.md | https://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-143fd26e8cf90152ac9735d7559e9b961603b89a628e57249f7cc7afa97d1ee9 |
| jacksteamdev | https://github.com/jacksteamdev |
| Oct 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470019827 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| examples/servers/simple-streamablehttp-roaming/test_roaming.sh | https://github.com/modelcontextprotocol/python-sdk/pull/1519/files/64d7f4e40a234ac2db01a80e8845eeb808826310#diff-ef9847b1f7b2609338114481c60c2881e8b62e213b175ad34691d363e031d011 |
| jacksteamdev | https://github.com/jacksteamdev |
| Oct 28, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#discussion_r2470026501 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| https://github.com/davidroberts-merlyn |
| davidroberts-merlyn | https://github.com/davidroberts-merlyn |
| October 28, 2025 18:54 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20562033196 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
pending publish
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22pending%20publish%22 |
| Oct 29, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20577854719 |
| https://github.com/felixweinberger |
| felixweinberger | https://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 |
| felixweinberger | https://github.com/felixweinberger |
|
pending publish
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22pending%20publish%22 |
| Nov 12, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-20894722326 |
| https://github.com/mueller-benjm |
| mueller-benjm | https://github.com/mueller-benjm |
| Mar 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#issuecomment-4038805756 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1519 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Mar 31, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/1519#event-24077147901 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |