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: V2 server receive path: Transport → JSONRPCDispatcher → ServerRunner → Server, replacing the BaseSession/ServerSession message loop. Consolidates the stack under #2562 into one PR against main. What changed JSONRPCDispatcher (mcp/shared/): MCP-agnostic JSON-RPC engine — ID correlation, per-request task isolation, cancellation/progress, exception→wire boundary ServerRunner: per-connection MCP layer — initialize handshake, pre-init request gate, handler lookup/validation/dispatch Connection: per-connection state (peer info, scratch state, exit_stack) and the standalone outbound channel; ServerSession is now a thin facade over it Server is a plain registry: public add_request_handler/add_notification_handler, constructor on_* handlers Server.middleware wraps every inbound request and notification (raw params, runs before validation) All server transports route through the new path; the v1 BaseSession server loop is gone Parity bar The 529 transport-parametrized tests in tests/interaction/ (#2691), written against the v1 path, pass byte-unchanged — one deliberate exception below. Intentional behavior changes Handlers never receive None params: a message with no params member validates {} against the registered model — all-optional models arrive with their defaults; models with required fields reject as INVALID_PARAMS before the handler runs (Go SDK parity). One interaction snapshot updated (test_roots.py: [None] → [NotificationParams()]). Migration Breaking changes documented in docs/migration.md. Supersedes #2562 and the four PRs stacked below it. AI Disclaimer

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c36767d3-2cfa-43cc-0037-5522bc6289fc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA778:E0123:1378F06:19FFC79:6A5AB6D1
html-safe-nonced824f66a1e7b4be1f22324fc5ef39a9c6fd1016fafe61f94da684c513d4000e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzc4OkUwMTIzOjEzNzhGMDY6MTlGRkM3OTo2QTVBQjZEMSIsInZpc2l0b3JfaWQiOiIxMjA1MTQzMTExODAwMTA4NzUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac75f93e64ad38e64990799872ad6bfd7b356d3c266a869cfad5d1f952dee4a41c
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2710/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2702febe50e53f9152dda552dc2049a5eb182778b2655abd5b8619e82e899b4a
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec0211a077f9b056c5e115f996d9049616d85c3b5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2710%2Ffiles
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%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
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 257 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
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
Conversation 73 https://github.com/modelcontextprotocol/python-sdk/pull/2710
Commits 76 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits
Checks 32 https://github.com/modelcontextprotocol/python-sdk/pull/2710/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
[v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#top
Show all changes 76 commits https://github.com/modelcontextprotocol/python-sdk/pull/2710/files
cfe3ae4 feat: add Dispatcher Protocol and DirectDispatcher maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/cfe3ae4921671ae08c9a6d159da1c4d8b1df6b8a
f53b056 fix: address coverage gaps and stale RequestSender docstring maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f53b056c4c2cff734244873da4b8daf74fd41144
2e2b2d7 refactor: rename Dispatcher.call to send_request, replace RequestSend… maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2e2b2d7e2985b2be38f47fd4de74ae4e8df8a595
b5cf756 refactor: rename Outbound.send_request to send_raw_request maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b5cf7560728ad15181ac4cd4ab18c566cbdcf12e
163d38f feat: JSONRPCDispatcher outbound side + parametrized contract tests maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/163d38f9d9592000b98125a1d6c5e5e074c4c511
4739744 feat: JSONRPCDispatcher receive loop and dispatch (chunk b) maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/4739744686b183e880ea680a72f69728b5e79b3d
62a555b feat: JSONRPCDispatcher exception boundary (chunk c) maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/62a555b1680f8935204df9fdede29cff799c8435
72913ad test: JSON-RPC-specific dispatcher tests + coverage to 100% maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/72913ad6bacc0020df331be0ca3671c9b2831722
e0ca9bc ci: run full matrix on PRs targeting any branch maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/e0ca9bc5b0db5f01a7a3863f1c70a59c6bf95a3e
afc1789 test: address 3.11/3.14 coverage instrumentation quirks maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/afc1789004941aaff29fa8bab71c940ff497889c
f8f350e refactor: rename send_request to send_raw_request in JSONRPCDispatcher maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/f8f350e33d169d0e7271f3ba383056006b19815e
689b784 feat: PeerMixin and Peer wrapper maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/689b78486daebd74b82af45b1390b4f8229065a2
1096712 feat: BaseContext maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/1096712bd9bc1dfa6c2c2ead55cfc93e5488f604
efd7df7 refactor: follow Outbound.send_raw_request rename in PeerMixin/BaseCo… maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/efd7df7b188f1d817f2224771944cede742bf018
7d18a7d feat: Connection, server Context, typed send_request, meta kwarg maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7d18a7daa21e6aa3d1fb5bce342f4a1c94e7b807
551cacb test: close PR3 coverage gaps to 100% maxisbey Apr 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/551cacb5e210cf9a1b3780bbe0017862f9c28531
445f99a test: move asserts inside async-with for 3.11 coverage instrumentation maxisbey Apr 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/445f99aeeaa8ecb2c17ffbeafccad2eb1cfecd08
63be3e4 docs: drop development-journal language from docstrings/comments maxisbey Apr 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/63be3e474244ceb3493bc2705c4066d95ce18f12
786bc55 refactor: make BaseContext/Context covariant in their type params maxisbey Apr 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/786bc55a83a47f04f79cc8c9562d1aad6580bfbd
958bdd7 feat: ServerRunner skeleton — _on_request, initialize, init-gate maxisbey Apr 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/958bdd71a1b31055db42610d8f86c695a717e06e
fb81056 feat: ServerRunner middleware (two-tier) + _on_notify maxisbey Apr 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fb8105621596ce2712fe4abf1a2ba86517debb57
954874b feat: ServerRunner.run() and otel_middleware maxisbey Apr 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/954874b57f20eb928b4a705ba40b1fd091fa4c61
87579da test: ServerRunner coverage to 100% — otel span assertions + connecte… maxisbey Apr 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87579dac9dc18d2e163f8d8d3643e6aad146ed6e
a19735b test: converge span capture on capfire to fix xdist order-dependence maxisbey Apr 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/a19735b521749d850c382fa348be2cf8c8ffa7a5
7123dd9 feat: Server registry stores HandlerEntry; ServerRunner consumes Serv… maxisbey Apr 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7123dd98e813e627d75a23071aa45e791ceee12b
c46b529 feat: Connection.state + exit_stack; ctx.session_id/headers; Transpor… maxisbey May 7, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c46b52985fba6bc950d1e32d8d73ca1e72ba780f
47989e7 fix: JSONRPCDispatcher coerces string response/progress IDs to int fo… maxisbey May 8, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/47989e7e03fc2dc8e000f0bfa6b5f9bdf906b3a8
7234f0e feat: DispatchContext.message_metadata passes SessionMessage.metadata… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7234f0eeee91e343dc11d24f410065dab63416bc
b87060d feat: DispatchContext.request_id; drop RequestId arg from transport_b… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/b87060de13b49644e632f6eb0c4703ecd3a37890
caa7ca9 style: ASCII-only docstrings/comments in v2 dispatcher files maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/caa7ca9e1e9c0e0ff32d52fddf4fd9f6283b99cb
013d406 fix: JSONRPCDispatcher.run enters both streams; ClosedResourceError i… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/013d406c39217c27d1e117318802d074ae37e19b
44574ad fix: align JSONRPCDispatcher error shapes with existing server maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/44574ad7fe4916639883c3686940516c96a3817d
e9ee4b4 feat: JSONRPCDispatcher.send_raw_request emits CLIENT span and inject… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/e9ee4b40c7763c009b210e9d181f0c109836369c
130e160 fix: ServerRunner error shapes match existing server (METHOD_NOT_FOUN… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/130e160ba5828539b40f1cbd410873cd0a9626d8
9bdd153 fix: ServerRunner validates spec methods against ClientRequest before… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/9bdd153c997ad19b97ebf342720374e9d4d6f9b1
87e0dbc feat: ServerRunner builds InitializeResult from InitializationOptions maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87e0dbc7e6714a7a5ea63addb92793012216232c
9d121cf fix: ServerRunner passes None to notification handlers when params ab… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/9d121cfeeadbcc78841240bf8e82630ba3eca520
ca0c67b fix: JSONRPCDispatcher no-builder __init__ overload accepts all kwargs maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/ca0c67b359f4d75ebc81eb1f3e8bf1c4671a2163
16fbef6 fix: JSONRPCDispatcher.run cancels in-flight handlers on read-stream EOF maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/16fbef6b9c17817433238f8c35332a16b775fb9b
94b3ce9 chore: drop unused Server.capabilities() helper maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/94b3ce9accfaa14204f6b7a25aef34ef535e2553
ac5ab57 feat: Server.run drives JSONRPCDispatcher + ServerRunner; ServerSessi… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/ac5ab572dbddb8c63f8a9f9b62bed93b8f5d765b
8cca623 Merge origin/main (Tasks removal #2714) into v2-dispatcher-swap maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/8cca623e3f6ac14631196e8b23cd37a2da68c313
c1c851f test: rebaseline legacy unit tests for the dispatcher swap; rewrite _… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c1c851f910532ec491a05b1d3b63bef142e745b0
fa20352 fix: notification handlers and progress callbacks cannot crash the co… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fa203522898f318285e688cd68d9617cce801cc2
07d94ee fix: late peer-cancel cannot double-respond; mcpserver completion get… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/07d94ee8f5ca65e631b73a47d8921ace624d33a6
535d621 feat: JSONRPCDispatcher.inline_methods; otel_middleware sets jsonrpc.… maxisbey Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/535d62104b2e3f8b5b35dc72bcf756e773532e74
9f63603 fix: InMemoryTransport EOFs the server instead of cancelling; coverag… maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/9f63603584d102659d4b5f4180b1b47d3b2c482a
50134cb test: close remaining server-side coverage gaps; ServerSession.check_… maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/50134cb29a6bae4dc97563e233f634f1e87b3f3d
513ccc3 chore: drop write-only _InFlight.cancelled_by_peer; add assertion to … maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/513ccc35735fa3e4a03e1a41b67aea7b0c7f6748
5b126bf docs: migration.md entries for the dispatcher swap maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5b126bfc5550bb5a85994a3040faa02a93b95c5f
67d61ab fix: address 11 bughunter findings (parity, latent wiring, lifecycle) maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/67d61ab6eebdba6e3b9a73adb70a5967e6b0f939
6c51892 fix: BaseSession.__aexit__ healing checkpoint for gh-106749 (CI 3.11/… maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/6c518929c894bd0e173b0d4b9c119866dc68e17c
48e4c23 fix: gh-106749 healing checkpoints at remaining throw sites; anyio>=4… maxisbey Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/48e4c236a557de812cec984b74d170e7197e7f8c
6ffc8c8 test: autouse gh-106749 heal fixture so CTracer desync cannot cross t… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/6ffc8c8ac1efd2c9622d393a6d9f4814cf2c5873
1a4fc3a test: gh-106749 heal at test_streamable_http resumption-test cancel site maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/1a4fc3a9482daa462508b957caf61e992f421ff0
40687f0 Merge origin/main (in-process transport tests #2764/2765/2767) maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/40687f04a26a5022b4ac45e57d205e2941b20aca
7cbfd0f test: gh-106749 heal in StreamingASGITransport.__aexit__ maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
d243445 test: drop autouse gh-106749 heal fixture (ineffective; _bridge.py wa… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/d2434458c9b9900b6e9af6a8eff56f7dad44e3ce
87fdbc4 review: address trivial-directive threads + t02/t15/t19 maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/87fdbc46bb5dcb31a0d2b90ecf0e3e04ad4745a9
2a2cacd review: t27 PeerMixin->ClientPeerMixin; t28 malformed-initialize regr… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/2a2cacd6cb92687d7b68266ec800e6b37bfe6300
0244bf9 review: Server.middleware wraps every request and notification (t04/t… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0244bf949d97ca038a9518cf79c523c67c248c8d
0d36610 fix: address second bughunter pass (8 findings) maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/0d36610106e52c4e3ac1ceeed5d4e638565effaf
37c28c6 fix: bound the shielded exit-stack teardown in ServerRunner.run() maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/37c28c60332a513fa9bc4f85dc7643509bd206cc
5a0127e docs: deadlock warning for server-to-client requests during initialize maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5a0127e8aee83ff97ef15085c473f34d050f4fa5
c599b9a fix: reserve initialize registration; validate initialized before sta… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c599b9a5a941a6c15bb1b505eff9cf668beda7b6
5d59eeb fix: ServerSession.send_request fails fast without a back channel; na… maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/5d59eeb9844db5be1436abb65c2cde1bb884d1a2
c501226 fix: timeout 0 means no timeout in ServerSession.send_request maxisbey Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/c50122642ca9db63c0ae363a450736a3559efe50
278b0a3 refactor: derive the initialize gate from connection data maxisbey Jun 5, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/278b0a36e3f7e028568ea1c8cad77bb7c15302b7
bde30c1 refactor: consolidate coverage-tracer resync workarounds into one helper maxisbey Jun 5, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/bde30c1543408fa4584fef5e2fad5b6f099c84b5
dd2d770 docs: document ValidationError from typed request result validation maxisbey Jun 5, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/dd2d770954ab3c42e7a108a2b2335e4bbdc7d931
fda5736 refactor: move attribute docstrings out of constructor bodies maxisbey Jun 5, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/fda5736c5757e0bcd1a887aaae5da1c96789b1e9
53e531c refactor: rename the covariant lifespan TypeVar to LifespanT_co maxisbey Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/53e531c57b2f0acab3dff146eb108fd9ef3885e1
33130a9 feat: absent params reach handlers as the model with defaults, never … maxisbey Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/33130a92688135d0e44e1ff090e047b96f70a91e
186bf6e refactor: remove mixins; inline typed requests into their owners maxisbey Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/186bf6e82b138be0fd60f710933384964fdc3124
3853a6d fix: harden otel_middleware against malformed input and telemetry leaks maxisbey Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/3853a6d9071ccddc1dc93e277cbb1253d2f2238b
114f3f4 Merge origin/main (websocket removal, stdio test rebuild, timeout def… maxisbey Jun 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2710/commits/114f3f4ea787f23ac6526e186538abb79eb2b7ae
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
main.yml https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
_memory.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
__main__.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-cc05919eaf5784323d2e5b8c5263669534fc69c3cef8a9df88b2768b8d9776bc
connection.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-849ab2b2ff6c99a29f2b9dcdc9edc4139ffa7d091cdf45f05fbfc7cb998b03d1
context.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
runner.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7a9c3e13faa5730f5a8a60062e9d200513c0baeada63e3cc24b37fe68e086e90
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
_compat.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-67dd5430076e284f2d94e372262b72f9d0c28f76eb66642e50c87beb25d15038
_otel.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-f7b9208e58bf90e0bfe4ecf1f810dfdb14524bbd475f9f8e01c3df04355bd598
context.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-39333468a87a8b7df9e7916239f97203647716e5465b846328ec277e179c7ceb
direct_dispatcher.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-6566b073a8d9286a5b17e0bb02d6e12e822eaedf2236c0d637dcd57992268076
dispatcher.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-13274512d72e2a34a599019a9226619b150fca24130936cee3dc7d5122934673
exceptions.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a
jsonrpc_dispatcher.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-3d8fb73fa8b126691302c15bb63bbc44a3a0e9338a17f14b3b4ea1d97bb10c2c
memory.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-fda62e83f7fbe11b6291a8eb980526a6465853fcc15dba2269425cd3de0801dc
peer.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7516fc8e5003b3509266f53789ae4f7873bf19b8ecda78e5ce81ecac9401bf74
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
transport_context.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-fe8e033d102bf76645e08e38523a6cb0cbff64cf438ac146f4a431643c89633c
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-9f1fb2e597d3bbb6f7b01cff7178a42325dec6460c16dfa74838da9a766efcf2
jsonrpc.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-623490a9c2dd576cc59e89f8d51f64acfffdeaad940e0bd4a0a51a50bc30d92d
test_memory.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-6ae3f0a1371508074d5761d7a67a876ffe72c027c2fd0c3352f009ad902da950
conftest.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test_roots.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-4144b5ee9d2cd8d3ce9ca82fabcf7788b5c2bed02b835807f861f88a833abd9f
_bridge.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-6776bddee945aaa483da4fdb6fb6e967660d3eecd4dedd0dfb99e236baab1e65
test_malformed_input.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-b649c0b5fba86f777a51ee53b6579c7a639f0484b3562efcafe81a3322a4219e
conftest.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-9ea0a6ff10e43186ea1bf2cf8c5666b0975f38b20e29a2b40251808acfd89535
test_connection.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c85f47c7fa25e0dccd832e8de25b14888b28b4c4d65ca623c7fbffa5ed112d68
test_lowlevel_exception_handling.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-48c9f55d2b53bd2fbac81a8eb6ac25b0137eca64b92a195ed177851580687917
test_runner.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-51ad0fc280fc0fb1ed6039b7c5a26a6fafba8d8ffc8533cfa89cb9df18ea3f10
test_server_context.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-4903326ba7c3c7efdab16734810bfeae0b485942b7155c82e6ca8df7a8d5d11a
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf
test_session_race_condition.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-a5c9eb42cd53db9cea5cf4e1d64e0f5cd2f482d76529c9266f212ae56b6f6178
test_stateless_mode.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-9a5f67580e8993a1074a9b3a4ce460932af7f64bfac3c0ed94b56c842ef99101
test_validation.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-16566f05565314a7cce4b37e797a23f27f9db8c6026767f9b95d0e658de26588
conftest.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-15491fe777db50025c3dc04b6c61bc3e54d37c41d24c9f557b35e5b67c0a1769
test_context.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-f7251b2a89950623fbfe8054f38f100bda8ccbc98a7ae85283a78c1cd6e3ba93
test_dispatcher.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-490cfcfdfdaf03f631a5cc632ec5a47dee6aa063d13518834a7a1f1bb8493f3f
test_jsonrpc_dispatcher.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-ce6a750fbce4c4bfa60b1845cdd92c08be0c2ed1fdcecdcb2a2efa24170efabd
test_otel.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-84f003b56f0cb53b4aa8d9c9b77caceba5fdebd6874448f02410dffb0815cbaa
test_peer.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-4a0f459cebe082a1548305dfc7e0392930c36ef29665ca62e9ba87051931d22b
test_progress_notifications.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-9df01c21bb5b7f1353ec56a7fa0efd594a04b3e109f49ca0a598fb9a6919a7eb
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
uv.lock https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
.github/workflows/main.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/.github/workflows/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
examples/servers/everything-server/mcp_everything_server/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/examples/servers/everything-server/mcp_everything_server/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/mcp/client/_memory.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/src/mcp/client/_memory.py
Open in desktop https://desktop.github.com
Kludexhttps://github.com/Kludex
Jun 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#r3357447950
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
maxisbeyhttps://github.com/maxisbey
Jun 5, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#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/files
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-c08cd1ab4d0e857b3d68fce65c9174000d0de9a736bf8022a957e6800b5dfb6a
src/mcp/client/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/src/mcp/client/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/src/mcp/client/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
src/mcp/server/__main__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-cc05919eaf5784323d2e5b8c5263669534fc69c3cef8a9df88b2768b8d9776bc
View file https://github.com/modelcontextprotocol/python-sdk/blob/114f3f4ea787f23ac6526e186538abb79eb2b7ae/src/mcp/server/__main__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2710/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-cc05919eaf5784323d2e5b8c5263669534fc69c3cef8a9df88b2768b8d9776bc
https://github.com/modelcontextprotocol/python-sdk/pull/2710/files#diff-cc05919eaf5784323d2e5b8c5263669534fc69c3cef8a9df88b2768b8d9776bc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2710/files
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.