René's URL Explorer Experiment


Title: [v1.x] Bind transport sessions to the authenticated principal by maxisbey · Pull Request #2719 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v1.x] Bind transport sessions to the authenticated principal by maxisbey · Pull Request #2719 · modelcontextprotocol/python-sdk

X Title: [v1.x] Bind transport sessions to the authenticated principal by maxisbey · Pull Request #2719 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v1.x] Bind transport sessions to the authenticated principal by maxisbey · Pull Request #2719 · modelcontextprotocol/python-sdk

Open Graph Description: v1.x backport of #2718. Summary The Streamable HTTP and SSE transports now record the principal that created each session — the OAuth client together with the issuer and subject when the token veri...

X Description: v1.x backport of #2718. Summary The Streamable HTTP and SSE transports now record the principal that created each session — the OAuth client together with the issuer and subject when the token veri...

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

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:b95bb740-8918-27f5-b831-cf5008ae9dd3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB258:3DA05:1575D8:1C8960:6AFD0F32
html-safe-noncec7cae01b3cb0ac6ff0f3456cfacc6766f39b1b3a8affffca3ab44e3bf767ad2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjU4OjNEQTA1OjE1NzVEODoxQzg5NjA6NkFGRDBGMzIiLCJ2aXNpdG9yX2lkIjoiNDEyMTE2MzM1NDQ0Mzk0MzczMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0d1a689f4cdae6b8dc5f4f7b0272fb4ad850963a25f12450816bcf82c0894b5e
hovercard-subject-tagpull_request:3770056810
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/2719/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4998759903518120a7c43d53766bda8db1eef869c1a7c05e19d8331a2490118d/modelcontextprotocol/python-sdk/pull/2719
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4998759903518120a7c43d53766bda8db1eef869c1a7c05e19d8331a2490118d/modelcontextprotocol/python-sdk/pull/2719
og:image:altv1.x backport of #2718. Summary The Streamable HTTP and SSE transports now record the principal that created each session — the OAuth client together with the issuer and subject when the token veri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Noneb29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b
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
release8c9e619def6d670dc18a45d3b02cea938c1c7e47
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2719
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2719
Sign uphttps://redirect.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://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
modelcontextprotocolhttps://redirect.github.com/modelcontextprotocol
python-sdkhttps://redirect.github.com/modelcontextprotocol/python-sdk
Codehttps://redirect.github.com/modelcontextprotocol/python-sdk
Issues305 (305)https://redirect.github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://redirect.github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://redirect.github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://redirect.github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://redirect.github.com/modelcontextprotocol/python-sdk/security
Insightshttps://redirect.github.com/modelcontextprotocol/python-sdk/insights
https://redirect.github.com/modelcontextprotocol/python-sdk
maxisbeyhttps://redirect.github.com/maxisbey
v1.xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1.x
v1/session-credential-bindinghttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1/session-credential-binding
Conversationhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
Commits1 (1)https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/commits
Checkshttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/checks
Files changedhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/files
[v1.x] Bind transport sessions to the authenticated principalhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#top
maxisbeyhttps://redirect.github.com/maxisbey
v1.xhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1.x
v1/session-credential-bindinghttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/v1/session-credential-binding
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
May 29, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#issue-4549803563
#2718https://github.com/modelcontextprotocol/python-sdk/pull/2718
#2718https://github.com/modelcontextprotocol/python-sdk/pull/2718
#2718https://github.com/modelcontextprotocol/python-sdk/pull/2718
#2718https://github.com/modelcontextprotocol/python-sdk/pull/2718
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
force-pushedhttps://redirect.github.com/modelcontextprotocol/python-sdk/compare/739fa137a63af48aea7900f3d855d9c0164ac1ac..072d8d5dcab2889d676b352de3ef3451a88422fc
739fa13https://redirect.github.com/modelcontextprotocol/python-sdk/commit/739fa137a63af48aea7900f3d855d9c0164ac1ac
072d8d5https://redirect.github.com/modelcontextprotocol/python-sdk/commit/072d8d5dcab2889d676b352de3ef3451a88422fc
Compare https://redirect.github.com/modelcontextprotocol/python-sdk/compare/739fa137a63af48aea7900f3d855d9c0164ac1ac..072d8d5dcab2889d676b352de3ef3451a88422fc
May 29, 2026 16:14https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#event-26118371738
https://redirect.github.com/felixweinberger
felixweinbergerhttps://redirect.github.com/felixweinberger
May 29, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#pullrequestreview-4391270149
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/files
https://redirect.github.com/maxisbey
Bind transport sessions to the authenticated principalhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/commits/97d5b38372bf4a351155c82536b45bfd625348e8
97d5b38https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/commits/97d5b38372bf4a351155c82536b45bfd625348e8
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
force-pushedhttps://redirect.github.com/modelcontextprotocol/python-sdk/compare/072d8d5dcab2889d676b352de3ef3451a88422fc..97d5b38372bf4a351155c82536b45bfd625348e8
072d8d5https://redirect.github.com/modelcontextprotocol/python-sdk/commit/072d8d5dcab2889d676b352de3ef3451a88422fc
97d5b38https://redirect.github.com/modelcontextprotocol/python-sdk/commit/97d5b38372bf4a351155c82536b45bfd625348e8
Compare https://redirect.github.com/modelcontextprotocol/python-sdk/compare/072d8d5dcab2889d676b352de3ef3451a88422fc..97d5b38372bf4a351155c82536b45bfd625348e8
May 29, 2026 16:42https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#event-26119456512
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
May 29, 2026 16:44https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#event-26119495453
https://redirect.github.com/felixweinberger
felixweinbergerhttps://redirect.github.com/felixweinberger
May 29, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#pullrequestreview-4391314791
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/files/97d5b38372bf4a351155c82536b45bfd625348e8
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
ce267b6https://redirect.github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a
May 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2719#event-26119582550
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
May 29, 2026 16:46https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#event-26119583832
maxisbeyhttps://redirect.github.com/maxisbey
May 30, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#ref-commit-03fdaed
https://redirect.github.com/maxisbey
tests: expect SSE session-entry cleanup on disconnecthttps://redirect.github.com/modelcontextprotocol/python-sdk/commit/03fdaed27c2520fcd91a41ab6407e1c328c2cbdb
03fdaedhttps://redirect.github.com/modelcontextprotocol/python-sdk/commit/03fdaed27c2520fcd91a41ab6407e1c328c2cbdb
#2719https://github.com/modelcontextprotocol/python-sdk/pull/2719
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
Jun 5, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#ref-issue-3963975723
Bind authenticated identity to sessions in StreamableHTTPSessionManager #2100 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/2100
Bump transitive mcp dependency to >=1.27.2 semgrep/semgrep#11807 https://redirect.github.com/semgrep/semgrep/issues/11807
deps(cli): bump mcp 1.23.3 → 1.29.0 semgrep/semgrep#11808 https://redirect.github.com/semgrep/semgrep/pull/11808
scottschreckengausthttps://redirect.github.com/scottschreckengaust
Jul 17, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#ref-commit-0d24a2c
https://redirect.github.com/scottschreckengaust
deps(cli): bump mcp 1.23.3 → 1.27.2https://redirect.github.com/scottschreckengaust/semgrep/commit/0d24a2cfee245ea8a217328fbd5761fb2722df09
0d24a2chttps://redirect.github.com/scottschreckengaust/semgrep/commit/0d24a2cfee245ea8a217328fbd5761fb2722df09
modelcontextprotocol/python-sdk#2719https://github.com/modelcontextprotocol/python-sdk/pull/2719
semgrep#11807https://github.com/semgrep/semgrep/issues/11807
semgrep#11506https://github.com/semgrep/semgrep/issues/11506
https://redirect.github.com/apps/nixpkgs-security-tracker
nixpkgs-security-trackerhttps://redirect.github.com/apps/nixpkgs-security-tracker
Jul 28, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719#ref-issue-5000125739
MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal NixOS/nixpkgs#546726 https://redirect.github.com/NixOS/nixpkgs/issues/546726
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2719
https://redirect.github.com/felixweinberger
felixweinberger https://redirect.github.com/felixweinberger
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719/files/97d5b38372bf4a351155c82536b45bfd625348e8
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/2719
https://redirect.github.com/maxisbey
https://redirect.github.com/felixweinberger
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.