René's URL Explorer Experiment


Title: Propagate contextvars.Context through anyio streams without modifying SessionMessage by Kludex · Pull Request #2298 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Propagate contextvars.Context through anyio streams without modifying SessionMessage by Kludex · Pull Request #2298 · modelcontextprotocol/python-sdk

X Title: Propagate contextvars.Context through anyio streams without modifying SessionMessage by Kludex · Pull Request #2298 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Propagate contextvars.Context through anyio streams without modifying SessionMessage by Kludex · Pull Request #2298 · modelcontextprotocol/python-sdk

Open Graph Description: Summary MCP server handlers currently lose the sender's contextvars.Context. When a client sets context variables (e.g. OpenTelemetry trace/span IDs) before sending a request, the server handle...

X Description: Summary MCP server handlers currently lose the sender's contextvars.Context. When a client sets context variables (e.g. OpenTelemetry trace/span IDs) before sending a request, the server ha...

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

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:c752d99b-a881-6643-cda3-d80cf00c5313
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC51C:6EBB8:18C16E:21DCDE:6A615CEC
html-safe-nonce315b6839c284508217fda535f675e192a63e54a58aea54923e08a99a0afbabec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTFDOjZFQkI4OjE4QzE2RToyMURDREU6NkE2MTVDRUMiLCJ2aXNpdG9yX2lkIjoiNzMzOTkyMzg5MzE2Mjk1ODA2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacde8e89ee872fafc3abc3754b85dcd76acd7533000cb18195abbf540799f7fe96
hovercard-subject-tagpull_request:3403036968
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/2298/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/25d95c94ed199177e632717063aa878cf23f8ba136d4bc24affc6754297f0153/modelcontextprotocol/python-sdk/pull/2298
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25d95c94ed199177e632717063aa878cf23f8ba136d4bc24affc6754297f0153/modelcontextprotocol/python-sdk/pull/2298
og:image:altSummary MCP server handlers currently lose the sender's contextvars.Context. When a client sets context variables (e.g. OpenTelemetry trace/span IDs) before sending a request, the server handle...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKludex
hostnamegithub.com
expected-hostnamegithub.com
Nonec258d2b06b498220e3b94af28b26bbbf58f4203a6373725f779afcc867afd263
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
releasebae60047c72c7890f36d34d78461f3453c546ee2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2298#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2298
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2F2298
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/2298
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
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.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 268 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 312 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
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
try-no-context-fieldhttps://github.com/modelcontextprotocol/python-sdk/tree/try-no-context-field
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Commits16 (16)https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2298/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files
Propagate contextvars.Context through anyio streams without modifying SessionMessagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298#top
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
try-no-context-fieldhttps://github.com/modelcontextprotocol/python-sdk/tree/try-no-context-field
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#issue-4080821512
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludex's review commenthttps://github.com/modelcontextprotocol/python-sdk/pull/1996#discussion_r2813932367
#1996https://github.com/modelcontextprotocol/python-sdk/pull/1996
#1969https://github.com/modelcontextprotocol/python-sdk/issues/1969
#421https://github.com/modelcontextprotocol/python-sdk/issues/421
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
March 16, 2026 08:49https://github.com/modelcontextprotocol/python-sdk/pull/2298#commits-pushed-6fef500
https://github.com/Kludex
Propagate contextvars.Context through anyio streams without modifying…https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/6fef500116b353a8c00a26bbbe24bca378bb6a8c
6fef500https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/6fef500116b353a8c00a26bbbe24bca378bb6a8c
#1996https://github.com/modelcontextprotocol/python-sdk/pull/1996
https://github.com/Kludex
Add pragma: no cover to Protocol stubs and unused clone() methodshttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b
2513380https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Mar 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3952037553
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
src/mcp/shared/_context_streams.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b#diff-ed21a3b904d363c8e8804cc7f36cf7150c855ff3b8f43cbe7b10e4966eeb4d4a
claudehttps://github.com/apps/claude
Mar 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r2938733402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Mar 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3952079410
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
src/mcp/shared/memory.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/2513380f03bba03cb2e5d5fa5c82a68dcbf9965b#diff-fda62e83f7fbe11b6291a8eb980526a6465853fcc15dba2269425cd3de0801dc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
March 16, 2026 09:13https://github.com/modelcontextprotocol/python-sdk/pull/2298#commits-pushed-1b34f2e
https://github.com/Kludex
Use pragma: no branch for Protocol stubs to satisfy strict-no-coverhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1b34f2eb21c5382f83b712dce2952fcc15dff6c0
1b34f2ehttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1b34f2eb21c5382f83b712dce2952fcc15dff6c0
https://github.com/Kludex
Address review feedback: ExceptionGroup bug, reverse dependency, type…https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/32565b3ebe3b0aba566a7150f637b0b3f86af7ac
32565b3https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/32565b3ebe3b0aba566a7150f637b0b3f86af7ac
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Mar 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3952222921
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/32565b3ebe3b0aba566a7150f637b0b3f86af7ac
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/32565b3ebe3b0aba566a7150f637b0b3f86af7ac#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/Kludex
Restore correct context propagation for async handlershttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/b321dd206bb318e4ccec416fd26f07d773b76efb
b321dd2https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/b321dd206bb318e4ccec416fd26f07d773b76efb
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Mar 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3952318091
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/b321dd206bb318e4ccec416fd26f07d773b76efb
claudehttps://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3952318091
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
32565b3https://github.com/modelcontextprotocol/python-sdk/commit/32565b3ebe3b0aba566a7150f637b0b3f86af7ac
b321dd2https://github.com/modelcontextprotocol/python-sdk/commit/b321dd206bb318e4ccec416fd26f07d773b76efb
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-3953748984
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/b321dd206bb318e4ccec416fd26f07d773b76efb
src/mcp/shared/_stream_protocols.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/b321dd206bb318e4ccec416fd26f07d773b76efb#diff-0c19ade09bbbc8931adba3c30e6646dfb6962b7a808dbcbfeb84adc44e529ec8
maxisbeyhttps://github.com/maxisbey
Mar 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r2940270291
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 24, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-pullrequest-3898713034
Propagate contextvars through anyio streams #1996 https://github.com/modelcontextprotocol/python-sdk/pull/1996
https://github.com/Kludex
Remove unnecessary pragmas and fix generic type propagationhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ef7e4b4fa1b3a0a199153c4d9273accf9f739624
ef7e4b4https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ef7e4b4fa1b3a0a199153c4d9273accf9f739624
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 31, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-4037654509
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/ef7e4b4fa1b3a0a199153c4d9273accf9f739624
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/files/ef7e4b4fa1b3a0a199153c4d9273accf9f739624#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
Kludexhttps://github.com/Kludex
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r3016136996
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
maxisbeyhttps://github.com/maxisbey
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r3016167372
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r3016239183
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#discussion_r3016276042
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
March 31, 2026 10:16https://github.com/modelcontextprotocol/python-sdk/pull/2298#commits-pushed-ab4f1c5
https://github.com/Kludex
Move sender context lookup into _handle_session_messagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ab4f1c54fd68465a0e74f6a105bbcbba073ab703
ab4f1c5https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/ab4f1c54fd68465a0e74f6a105bbcbba073ab703
https://github.com/Kludex
Merge remote-tracking branch 'origin/main' into try-no-context-fieldhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dc8d842d1b0f0b65822eb8791b2d9b9cbda01c25
dc8d842https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dc8d842d1b0f0b65822eb8791b2d9b9cbda01c25
https://github.com/Kludex
Add pragma: no branch to Protocol stubshttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1517b79bc9ae96d36ed6fbf7852741a8f639dd29
1517b79https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/1517b79bc9ae96d36ed6fbf7852741a8f639dd29
https://github.com/Kludex
Use exclude_also instead of exclude_lines for coverage confighttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/379fe57261edddf26e37abe4fb27745d3c435cf6
379fe57https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/379fe57261edddf26e37abe4fb27745d3c435cf6
https://github.com/Kludex
Use exclude_also instead of exclude_lines for coverage confighttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/8dd89fd19a0d6056e2160f4e43356b6fe76ebc51
8dd89fdhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/8dd89fd19a0d6056e2160f4e43356b6fe76ebc51
https://github.com/Kludex
Merge branch 'try-no-context-field' of github.com:modelcontextprotoco…https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/aec97fb81e591c23e84f734f10b2627cd9a3169f
aec97fbhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/aec97fb81e591c23e84f734f10b2627cd9a3169f
https://github.com/Kludex
Remove pragma: no branch from Protocol stubshttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/df6df0ec0525023acc5b77d6325f97f87e23513f
df6df0ehttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/df6df0ec0525023acc5b77d6325f97f87e23513f
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 31, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-4038328969
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/df6df0ec0525023acc5b77d6325f97f87e23513f
maxisbeyhttps://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-4038328969
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
Kludexhttps://github.com/Kludex
March 31, 2026 11:44https://github.com/modelcontextprotocol/python-sdk/pull/2298#commits-pushed-da049fb
https://github.com/Kludex
Add test for contextvars propagation from client to server handlerhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/da049fb42ffea534464a3c7861cb53b6661c6f1f
da049fbhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/da049fb42ffea534464a3c7861cb53b6661c6f1f
https://github.com/Kludex
Rewrite context propagation test to actually verify the featurehttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dee12910b9e0c061501d52a232d1d35925b947a9
dee1291https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/dee12910b9e0c061501d52a232d1d35925b947a9
https://github.com/Kludex
Add assertion message to context propagation testhttps://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/69568544a00a10347bd22a51ff91abb436434a6c
6956854https://github.com/modelcontextprotocol/python-sdk/pull/2298/commits/69568544a00a10347bd22a51ff91abb436434a6c
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 31, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#pullrequestreview-4038698882
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/69568544a00a10347bd22a51ff91abb436434a6c
https://github.com/Kludex
Kludexhttps://github.com/Kludex
e6235d1https://github.com/modelcontextprotocol/python-sdk/commit/e6235d1667ee59c63cfa365ce0136beae05f067a
Mar 31, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2298#event-24082071587
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/Kludex
Kludexhttps://github.com/Kludex
March 31, 2026 16:49https://github.com/modelcontextprotocol/python-sdk/pull/2298#event-24082072500
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 31, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-pullrequest-4181202181
Add basic OpenTelemetry tracing for client and server requests #2381 https://github.com/modelcontextprotocol/python-sdk/pull/2381
https://github.com/RayPops
RayPopshttps://github.com/RayPops
Apr 15, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-issue-4105947696
Python: [Bug]: Unable to pass AgentContext to MCPStreamableHTTPTool microsoft/agent-framework#4808 https://github.com/microsoft/agent-framework/issues/4808
https://github.com/andylim-duo
andylim-duohttps://github.com/andylim-duo
May 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-pullrequest-4378840018
Upstream 20260501 andylim-duo/python-sdk#19 https://github.com/andylim-duo/python-sdk/pull/19
https://github.com/matte1782
matte1782https://github.com/matte1782
May 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-issue-4439965033
Python: [Bug]: MCPStreamableHTTPTool re-injects header_provider headers on cross-origin redirects (latent until #4808 / mcp-sdk#2298 ship) microsoft/agent-framework#5820 https://github.com/microsoft/agent-framework/issues/5820
https://github.com/DouweM
DouweMhttps://github.com/DouweM
Jul 10, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2298#ref-pullrequest-4858859829
Document per-user MCP authentication: build MCPToolset per run via @agent.toolset pydantic/pydantic-ai#6425 https://github.com/pydantic/pydantic-ai/pull/6425
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%2F2298
https://github.com/apps/claude
claude[bot] https://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/b321dd206bb318e4ccec416fd26f07d773b76efb
https://github.com/maxisbey
maxisbey https://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/2298/files/69568544a00a10347bd22a51ff91abb436434a6c
Propagate ContextVars to Transport Layer in MCP Clients https://github.com/modelcontextprotocol/python-sdk/issues/1969
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2298
https://github.com/Kludex
https://github.com/maxisbey
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.