René's URL Explorer Experiment


Title: [v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession by maxisbey · Pull Request #2710 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession by maxisbey · Pull Request #2710 · modelcontextprotocol/python-sdk

X Title: [v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession by maxisbey · Pull Request #2710 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession by maxisbey · Pull Request #2710 · modelcontextprotocol/python-sdk

Open Graph Description: V2 server receive path: Transport → JSONRPCDispatcher → ServerRunner → Server, replacing the BaseSession/ServerSession message loop. Consolidates the stack under #2562 into one PR against main. Wha...

X Description: V2 server receive path: Transport → JSONRPCDispatcher → ServerRunner → Server, replacing the BaseSession/ServerSession message loop. Consolidates the stack under #2562 into one PR against main. Wha...

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

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:e1889a74-8d4c-9160-4440-4a7a5d57cc38
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB290:F0C6A:1B55CC:25D574:6A59C20D
html-safe-nonceaab8a9fbbf38601e9188ea4924001cd3abb52ae7206985706fc30f36d2fb17e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjkwOkYwQzZBOjFCNTVDQzoyNUQ1NzQ6NkE1OUMyMEQiLCJ2aXNpdG9yX2lkIjoiMzQ0NDE3MDUxMzA4NTc0MzYyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6ca94012b2281fe9b1d26d154f12cf8c4ee37a869b39eb09f72acb6808b977b1
hovercard-subject-tagpull_request:3764487335
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/2710/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/27e6564a5e59e9ad38549143b7ed09c38e96263ab8e070010a6aa4cfb731f9b9/modelcontextprotocol/python-sdk/pull/2710
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/27e6564a5e59e9ad38549143b7ed09c38e96263ab8e070010a6aa4cfb731f9b9/modelcontextprotocol/python-sdk/pull/2710
og:image:altV2 server receive path: Transport → JSONRPCDispatcher → ServerRunner → Server, replacing the BaseSession/ServerSession message loop. Consolidates the stack under #2562 into one PR against main. Wha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
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
releaseab680789ae4a316cdaf0d5a292a1760140931cc4
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2710#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2710
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%2F2710
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/2710
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2710
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2710
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
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
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
maxisbey/v2-dispatcher-swaphttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v2-dispatcher-swap
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2710
Commits76 (76)https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
[v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSessionhttps://github.com/modelcontextprotocol/python-sdk/pull/2710#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
maxisbey/v2-dispatcher-swaphttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v2-dispatcher-swap
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
May 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#issue-4543322032
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
#2562https://github.com/modelcontextprotocol/python-sdk/pull/2562
#2691https://github.com/modelcontextprotocol/python-sdk/pull/2691
#2562https://github.com/modelcontextprotocol/python-sdk/pull/2562
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
June 1, 2026 14:46https://github.com/modelcontextprotocol/python-sdk/pull/2710#commits-pushed-cfe3ae4
https://github.com/maxisbey
feat: add Dispatcher Protocol and DirectDispatcherhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/cfe3ae4921671ae08c9a6d159da1c4d8b1df6b8a
cfe3ae4https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/cfe3ae4921671ae08c9a6d159da1c4d8b1df6b8a
https://github.com/maxisbey
fix: address coverage gaps and stale RequestSender docstringhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f53b056c4c2cff734244873da4b8daf74fd41144
f53b056https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f53b056c4c2cff734244873da4b8daf74fd41144
https://github.com/maxisbey
refactor: rename Dispatcher.call to send_request, replace RequestSend…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2e2b2d7e2985b2be38f47fd4de74ae4e8df8a595
2e2b2d7https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2e2b2d7e2985b2be38f47fd4de74ae4e8df8a595
https://github.com/maxisbey
refactor: rename Outbound.send_request to send_raw_requesthttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b5cf7560728ad15181ac4cd4ab18c566cbdcf12e
b5cf756https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b5cf7560728ad15181ac4cd4ab18c566cbdcf12e
https://github.com/maxisbey
feat: JSONRPCDispatcher outbound side + parametrized contract testshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/163d38f9d9592000b98125a1d6c5e5e074c4c511
163d38fhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/163d38f9d9592000b98125a1d6c5e5e074c4c511
https://github.com/maxisbey
feat: JSONRPCDispatcher receive loop and dispatch (chunk b)https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/4739744686b183e880ea680a72f69728b5e79b3d
4739744https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/4739744686b183e880ea680a72f69728b5e79b3d
https://github.com/maxisbey
feat: JSONRPCDispatcher exception boundary (chunk c)https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/62a555b1680f8935204df9fdede29cff799c8435
62a555bhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/62a555b1680f8935204df9fdede29cff799c8435
https://github.com/maxisbey
test: JSON-RPC-specific dispatcher tests + coverage to 100%https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/72913ad6bacc0020df331be0ca3671c9b2831722
72913adhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/72913ad6bacc0020df331be0ca3671c9b2831722
https://github.com/maxisbey
ci: run full matrix on PRs targeting any branchhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/e0ca9bc5b0db5f01a7a3863f1c70a59c6bf95a3e
e0ca9bchttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/e0ca9bc5b0db5f01a7a3863f1c70a59c6bf95a3e
https://github.com/maxisbey
test: address 3.11/3.14 coverage instrumentation quirkshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/afc1789004941aaff29fa8bab71c940ff497889c
afc1789https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/afc1789004941aaff29fa8bab71c940ff497889c
https://github.com/maxisbey
refactor: rename send_request to send_raw_request in JSONRPCDispatcherhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f8f350e33d169d0e7271f3ba383056006b19815e
f8f350ehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f8f350e33d169d0e7271f3ba383056006b19815e
https://github.com/maxisbey
feat: PeerMixin and Peer wrapperhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/689b78486daebd74b82af45b1390b4f8229065a2
689b784https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/689b78486daebd74b82af45b1390b4f8229065a2
https://github.com/maxisbey
feat: BaseContexthttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/1096712bd9bc1dfa6c2c2ead55cfc93e5488f604
1096712https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/1096712bd9bc1dfa6c2c2ead55cfc93e5488f604
https://github.com/maxisbey
refactor: follow Outbound.send_raw_request rename in PeerMixin/BaseCo…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/efd7df7b188f1d817f2224771944cede742bf018
efd7df7https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/efd7df7b188f1d817f2224771944cede742bf018
https://github.com/maxisbey
feat: Connection, server Context, typed send_request, meta kwarghttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7d18a7daa21e6aa3d1fb5bce342f4a1c94e7b807
7d18a7dhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7d18a7daa21e6aa3d1fb5bce342f4a1c94e7b807
https://github.com/maxisbey
test: close PR3 coverage gaps to 100%https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/551cacb5e210cf9a1b3780bbe0017862f9c28531
551cacbhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/551cacb5e210cf9a1b3780bbe0017862f9c28531
https://github.com/maxisbey
test: move asserts inside async-with for 3.11 coverage instrumentationhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/445f99aeeaa8ecb2c17ffbeafccad2eb1cfecd08
445f99ahttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/445f99aeeaa8ecb2c17ffbeafccad2eb1cfecd08
0a8f0f4https://github.com/modelcontextprotocol/python-sdk/commit/0a8f0f4607eef6c2c727bed53a7f939e62e8c1ea
https://github.com/maxisbey
docs: drop development-journal language from docstrings/commentshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/63be3e474244ceb3493bc2705c4066d95ce18f12
63be3e4https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/63be3e474244ceb3493bc2705c4066d95ce18f12
https://github.com/maxisbey
refactor: make BaseContext/Context covariant in their type paramshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/786bc55a83a47f04f79cc8c9562d1aad6580bfbd
786bc55https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/786bc55a83a47f04f79cc8c9562d1aad6580bfbd
https://github.com/maxisbey
feat: ServerRunner skeleton — _on_request, initialize, init-gatehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/958bdd71a1b31055db42610d8f86c695a717e06e
958bdd7https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/958bdd71a1b31055db42610d8f86c695a717e06e
https://github.com/maxisbey
feat: ServerRunner middleware (two-tier) + _on_notifyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fb8105621596ce2712fe4abf1a2ba86517debb57
fb81056https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fb8105621596ce2712fe4abf1a2ba86517debb57
https://github.com/maxisbey
feat: ServerRunner.run() and otel_middlewarehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/954874b57f20eb928b4a705ba40b1fd091fa4c61
954874bhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/954874b57f20eb928b4a705ba40b1fd091fa4c61
https://github.com/maxisbey
test: ServerRunner coverage to 100% — otel span assertions + connecte…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87579dac9dc18d2e163f8d8d3643e6aad146ed6e
87579dahttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87579dac9dc18d2e163f8d8d3643e6aad146ed6e
https://github.com/maxisbey
test: converge span capture on capfire to fix xdist order-dependencehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/a19735b521749d850c382fa348be2cf8c8ffa7a5
a19735bhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/a19735b521749d850c382fa348be2cf8c8ffa7a5
https://github.com/maxisbey
feat: Server registry stores HandlerEntry; ServerRunner consumes Serv…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7123dd98e813e627d75a23071aa45e791ceee12b
7123dd9https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7123dd98e813e627d75a23071aa45e791ceee12b
https://github.com/maxisbey
feat: Connection.state + exit_stack; ctx.session_id/headers; Transpor…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c46b52985fba6bc950d1e32d8d73ca1e72ba780f
c46b529https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c46b52985fba6bc950d1e32d8d73ca1e72ba780f
https://github.com/maxisbey
fix: JSONRPCDispatcher coerces string response/progress IDs to int fo…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
47989e7https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/f2d4cba6232d71db56ab85416cb9ca2df6ad964a..47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
f2d4cbahttps://github.com/modelcontextprotocol/python-sdk/commit/f2d4cba6232d71db56ab85416cb9ca2df6ad964a
47989e7https://github.com/modelcontextprotocol/python-sdk/commit/47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
Compare https://github.com/modelcontextprotocol/python-sdk/compare/f2d4cba6232d71db56ab85416cb9ca2df6ad964a..47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
June 1, 2026 15:46https://github.com/modelcontextprotocol/python-sdk/pull/2710#event-26195710686
maxisbeyhttps://github.com/maxisbey
June 2, 2026 12:07https://github.com/modelcontextprotocol/python-sdk/pull/2710#commits-pushed-7234f0e
https://github.com/maxisbey
feat: DispatchContext.message_metadata passes SessionMessage.metadata…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7234f0eeee91e343dc11d24f410065dab63416bc
7234f0ehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7234f0eeee91e343dc11d24f410065dab63416bc
https://github.com/maxisbey
feat: DispatchContext.request_id; drop RequestId arg from transport_b…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b87060de13b49644e632f6eb0c4703ecd3a37890
b87060dhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b87060de13b49644e632f6eb0c4703ecd3a37890
maxisbeyhttps://github.com/maxisbey
June 4, 2026 09:48https://github.com/modelcontextprotocol/python-sdk/pull/2710#commits-pushed-7cbfd0f
https://github.com/maxisbey
test: gh-106749 heal in StreamingASGITransport.__aexit__https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
7cbfd0fhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
#2764https://github.com/modelcontextprotocol/python-sdk/pull/2764
https://github.com/maxisbey
test: drop autouse gh-106749 heal fixture (ineffective; _bridge.py wa…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/d2434458c9b9900b6e9af6a8eff56f7dad44e3ce
d243445https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/d2434458c9b9900b6e9af6a8eff56f7dad44e3ce
7cbfd0fhttps://github.com/modelcontextprotocol/python-sdk/commit/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
https://github.com/maxisbey
review: address trivial-directive threads + t02/t15/t19https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87fdbc46bb5dcb31a0d2b90ecf0e3e04ad4745a9
87fdbc4https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87fdbc46bb5dcb31a0d2b90ecf0e3e04ad4745a9
https://github.com/maxisbey
review: t27 PeerMixin->ClientPeerMixin; t28 malformed-initialize regr…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2a2cacd6cb92687d7b68266ec800e6b37bfe6300
2a2cacdhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2a2cacd6cb92687d7b68266ec800e6b37bfe6300
https://github.com/maxisbey
review: Server.middleware wraps every request and notification (t04/t…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0244bf949d97ca038a9518cf79c523c67c248c8d
0244bf9https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0244bf949d97ca038a9518cf79c523c67c248c8d
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 4, 2026 11:56https://github.com/modelcontextprotocol/python-sdk/pull/2710#event-26335649726
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
felixweinbergerhttps://github.com/felixweinberger
June 4, 2026 11:56https://github.com/modelcontextprotocol/python-sdk/pull/2710#event-26335651596
maxisbeyhttps://github.com/maxisbey
June 4, 2026 14:31https://github.com/modelcontextprotocol/python-sdk/pull/2710#commits-pushed-0d36610
https://github.com/maxisbey
fix: address second bughunter pass (8 findings)https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0d36610106e52c4e3ac1ceeed5d4e638565effaf
0d36610https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0d36610106e52c4e3ac1ceeed5d4e638565effaf
https://github.com/maxisbey
fix: bound the shielded exit-stack teardown in ServerRunner.run()https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/37c28c60332a513fa9bc4f85dc7643509bd206cc
37c28c6https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/37c28c60332a513fa9bc4f85dc7643509bd206cc
https://github.com/maxisbey
docs: deadlock warning for server-to-client requests during initializehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5a0127e8aee83ff97ef15085c473f34d050f4fa5
5a0127ehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5a0127e8aee83ff97ef15085c473f34d050f4fa5
https://github.com/maxisbey
fix: reserve initialize registration; validate initialized before sta…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c599b9a5a941a6c15bb1b505eff9cf668beda7b6
c599b9ahttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c599b9a5a941a6c15bb1b505eff9cf668beda7b6
https://github.com/maxisbey
fix: ServerSession.send_request fails fast without a back channel; na…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5d59eeb9844db5be1436abb65c2cde1bb884d1a2
5d59eebhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5d59eeb9844db5be1436abb65c2cde1bb884d1a2
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#pullrequestreview-4429443289
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf
src/mcp/server/runner.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-7a9c3e13faa5730f5a8a60062e9d200513c0baeada63e3cc24b37fe68e086e90
maxisbeyhttps://github.com/maxisbey
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357343866
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#pullrequestreview-4429573673
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf
src/mcp/client/_memory.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357447950
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 5, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3362629653
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
python/cpython#106749https://github.com/python/cpython/issues/106749
9f63603https://github.com/modelcontextprotocol/python-sdk/commit/9f63603584d102659d4b5f4180b1b47d3b2c482a
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#pullrequestreview-4429579282
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357452285
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3379798111
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
33130a9https://github.com/modelcontextprotocol/python-sdk/commit/33130a92688135d0e44e1ff090e047b96f70a91e
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
src/mcp/server/_typed_request.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-e758df63b51a0c61b0bd31edc7effc34bb8545276d1ebc7787eaade3a968cfef
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357458773
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3379861491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
dd2d770https://github.com/modelcontextprotocol/python-sdk/commit/dd2d770954ab3c42e7a108a2b2335e4bbdc7d931
186bf6ehttps://github.com/modelcontextprotocol/python-sdk/commit/186bf6e82b138be0fd60f710933384964fdc3124
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
src/mcp/server/connection.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357462064
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3379798441
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
fda5736https://github.com/modelcontextprotocol/python-sdk/commit/fda5736c5757e0bcd1a887aaae5da1c96789b1e9
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
src/mcp/server/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357466544
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3379798711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
53e531chttps://github.com/modelcontextprotocol/python-sdk/commit/53e531c57b2f0acab3dff146eb108fd9ef3885e1
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
src/mcp/server/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357472307
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@maxisbeyhttps://github.com/maxisbey
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3379798989
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
186bf6ehttps://github.com/modelcontextprotocol/python-sdk/commit/186bf6e82b138be0fd60f710933384964fdc3124
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
src/mcp/server/runner.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf#diff-7a9c3e13faa5730f5a8a60062e9d200513c0baeada63e3cc24b37fe68e086e90
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3357475949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
Jun 5, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#discussion_r3362630369
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
maxisbeyhttps://github.com/maxisbey
June 4, 2026 16:45https://github.com/modelcontextprotocol/python-sdk/pull/2710#commits-pushed-c501226
https://github.com/maxisbey
fix: timeout 0 means no timeout in ServerSession.send_requesthttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c50122642ca9db63c0ae363a450736a3559efe50
c501226https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c50122642ca9db63c0ae363a450736a3559efe50
https://github.com/maxisbey
refactor: derive the initialize gate from connection datahttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/278b0a36e3f7e028568ea1c8cad77bb7c15302b7
278b0a3https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/278b0a36e3f7e028568ea1c8cad77bb7c15302b7
https://github.com/maxisbey
refactor: consolidate coverage-tracer resync workarounds into one helperhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/bde30c1543408fa4584fef5e2fad5b6f099c84b5
bde30c1https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/bde30c1543408fa4584fef5e2fad5b6f099c84b5
python/cpython#106749https://github.com/python/cpython/issues/106749
https://github.com/maxisbey
docs: document ValidationError from typed request result validationhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/dd2d770954ab3c42e7a108a2b2335e4bbdc7d931
dd2d770https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/dd2d770954ab3c42e7a108a2b2335e4bbdc7d931
https://github.com/maxisbey
refactor: move attribute docstrings out of constructor bodieshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fda5736c5757e0bcd1a887aaae5da1c96789b1e9
fda5736https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fda5736c5757e0bcd1a887aaae5da1c96789b1e9
https://github.com/maxisbey
refactor: rename the covariant lifespan TypeVar to LifespanT_cohttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/53e531c57b2f0acab3dff146eb108fd9ef3885e1
53e531chttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/53e531c57b2f0acab3dff146eb108fd9ef3885e1
https://github.com/maxisbey
feat: absent params reach handlers as the model with defaults, never …https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/33130a92688135d0e44e1ff090e047b96f70a91e
33130a9https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/33130a92688135d0e44e1ff090e047b96f70a91e
https://github.com/maxisbey
refactor: remove mixins; inline typed requests into their ownershttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/186bf6e82b138be0fd60f710933384964fdc3124
186bf6ehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/186bf6e82b138be0fd60f710933384964fdc3124
https://github.com/maxisbey
fix: harden otel_middleware against malformed input and telemetry leakshttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/3853a6d9071ccddc1dc93e277cbb1253d2f2238b
3853a6dhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/3853a6d9071ccddc1dc93e277cbb1253d2f2238b
https://github.com/maxisbey
Merge origin/main (websocket removal, stdio test rebuild, timeout def…https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/114f3f4ea787f23ac6526e186538abb79eb2b7ae
114f3f4https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/114f3f4ea787f23ac6526e186538abb79eb2b7ae
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#pullrequestreview-4458288953
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/114f3f4ea787f23ac6526e186538abb79eb2b7ae
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
5d82649https://github.com/modelcontextprotocol/python-sdk/commit/5d826490b69f883ecc2639add616a6c54c67fbf6
Jun 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710#event-26521240222
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 9, 2026 11:58https://github.com/modelcontextprotocol/python-sdk/pull/2710#event-26521241592
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#ref-pullrequest-4642346713
[v2] ClientSession runs on JSONRPCDispatcher; BaseSession removed #2838 https://github.com/modelcontextprotocol/python-sdk/pull/2838
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710#ref-issue-4602774015
Implement SEP-414: Document OpenTelemetry Trace Context Propagation Conventions #2790 https://github.com/modelcontextprotocol/python-sdk/issues/2790
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%2F2710
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/0d36610106e52c4e3ac1ceeed5d4e638565effaf
https://github.com/felixweinberger
felixweinberger https://github.com/felixweinberger
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files/114f3f4ea787f23ac6526e186538abb79eb2b7ae
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710
https://github.com/maxisbey
https://github.com/felixweinberger
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.