René's URL Explorer Experiment


Title: feat: add claims field to AccessToken for decoded token payload by robertofalk · Pull Request #1165 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: feat: add claims field to AccessToken for decoded token payload by robertofalk · Pull Request #1165 · modelcontextprotocol/python-sdk

X Title: feat: add claims field to AccessToken for decoded token payload by robertofalk · Pull Request #1165 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - feat: add claims field to AccessToken for decoded token payload by robertofalk · Pull Request #1165 · modelcontextprotocol/python-sdk

Open Graph Description: Add optional claims dict to AccessToken class to provide access to all decoded JWT claims (both standard and custom) instead of restricting to only specific fields like scopes and expires_at. Motiv...

X Description: Add optional claims dict to AccessToken class to provide access to all decoded JWT claims (both standard and custom) instead of restricting to only specific fields like scopes and expires_at. Motiv...

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

X: @github

direct link

Domain: 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:7051f629-2ddd-3c47-68a6-9bd9539b9e2b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB7A:1ED1B5:541475:732968:6AFD2914
html-safe-noncec37dda2a42c36e9787eceff9892e1a096a2dedf1f073fc54bf77e05c253bc894
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjdBOjFFRDFCNTo1NDE0NzU6NzMyOTY4OjZBRkQyOTE0IiwidmlzaXRvcl9pZCI6IjEzOTM3NjgxNjI2NjY1NTU2NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccd120393ae99b55ccc9b1a6813702aca7ec710d4bd62591d18fa9ec1e1c10801
hovercard-subject-tagpull_request:2673811013
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/1165/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ca5c295d2ab1934e9fc0b2009f32b23f504ec324f2fd4faf44b1f5bc32cbe39d/modelcontextprotocol/python-sdk/pull/1165
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca5c295d2ab1934e9fc0b2009f32b23f504ec324f2fd4faf44b1f5bc32cbe39d/modelcontextprotocol/python-sdk/pull/1165
og:image:altAdd optional claims dict to AccessToken class to provide access to all decoded JWT claims (both standard and custom) instead of restricting to only specific fields like scopes and expires_at. Motiv...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobertofalk
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
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
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/1165#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1165
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1165
Sign uphttps://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/1165
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1165
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1165
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues306 (306)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
https://github.com/modelcontextprotocol/python-sdk
robertofalkhttps://github.com/robertofalk
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
robertofalk:mainhttps://github.com/robertofalk/python-sdk/tree/main
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1165
Commits9 (9)https://github.com/modelcontextprotocol/python-sdk/pull/1165/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1165/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/files
feat: add claims field to AccessToken for decoded token payloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1165#top
robertofalkhttps://github.com/robertofalk
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
robertofalk:mainhttps://github.com/robertofalk/python-sdk/tree/main
https://github.com/robertofalk
robertofalkhttps://github.com/robertofalk
Jul 17, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#issue-3239406478
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/providers/bearer.py#L387https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/providers/bearer.py#L387
MCP Documentationhttps://modelcontextprotocol.io
#1038https://github.com/modelcontextprotocol/python-sdk/issues/1038
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
robertofalkhttps://github.com/robertofalk
July 17, 2025 14:01https://github.com/modelcontextprotocol/python-sdk/pull/1165#commits-pushed-347a94c
https://github.com/robertofalk
add claims field to AccessTokenhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/347a94c2bd22ffa64282cf3b5f76a29d792457e3
347a94chttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/347a94c2bd22ffa64282cf3b5f76a29d792457e3
https://github.com/robertofalk
use typing.Any instead of builtin any for typinghttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/7ac118c3d0c799c1c2c8f8adebdaf9d0934602b2
7ac118chttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/7ac118c3d0c799c1c2c8f8adebdaf9d0934602b2
https://github.com/robertofalk
fix the import orderhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/4b391dc4cdac6ab1da5a10bc981cf1b24a2fe9a2
4b391dchttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/4b391dc4cdac6ab1da5a10bc981cf1b24a2fe9a2
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/3b228966ef5a7e2bf30c3967148d48732720b3f3
3b22896https://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/3b228966ef5a7e2bf30c3967148d48732720b3f3
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
authhttps://github.com/modelcontextprotocol/python-sdk/milestone/10
Jul 17, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#event-18683497176
robertofalkhttps://github.com/robertofalk
July 17, 2025 20:45https://github.com/modelcontextprotocol/python-sdk/pull/1165#commits-pushed-a72f56e
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/a72f56e742901552f3e72cd37b24b44f969157da
a72f56ehttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/a72f56e742901552f3e72cd37b24b44f969157da
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/0c20403c603f0185e0d9ff6e9767a67264d5aad7
0c20403https://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/0c20403c603f0185e0d9ff6e9767a67264d5aad7
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/6e6f902b8b058aa3fa14552c3d8c13ac1dfb1260
6e6f902https://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/6e6f902b8b058aa3fa14552c3d8c13ac1dfb1260
https://github.com/robertofalk
robertofalkhttps://github.com/robertofalk
ochafikhttps://github.com/ochafik
July 18, 2025 20:16https://github.com/modelcontextprotocol/python-sdk/pull/1165#event-18706862046
robertofalkhttps://github.com/robertofalk
July 21, 2025 14:05https://github.com/modelcontextprotocol/python-sdk/pull/1165#commits-pushed-20eb68c
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/20eb68c4a572d5f80eab0763a741c74753b4ce48
20eb68chttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/20eb68c4a572d5f80eab0763a741c74753b4ce48
https://github.com/robertofalk
Merge branch 'main' into mainhttps://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/289d1b819689a6c39f9404b35ae7635c494a033b
289d1b8https://github.com/modelcontextprotocol/python-sdk/pull/1165/commits/289d1b819689a6c39f9404b35ae7635c494a033b
https://github.com/robertofalk
robertofalkhttps://github.com/robertofalk
Jul 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#issuecomment-3102465223
@ihrprhttps://github.com/ihrpr
@ochafikhttps://github.com/ochafik
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
August 4, 2025 10:09https://github.com/modelcontextprotocol/python-sdk/pull/1165#event-18966876515
https://github.com/ochafik
ochafikhttps://github.com/ochafik
Aug 4, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1165#pullrequestreview-3084819917
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1165/files/289d1b819689a6c39f9404b35ae7635c494a033b
ochafikhttps://github.com/ochafik
https://github.com/modelcontextprotocol/python-sdk/pull/1165#pullrequestreview-3084819917
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@robertofalkhttps://github.com/robertofalk
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
auth https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Aauth
Sep 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#event-19850659960
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 26, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#issuecomment-3338806229
@ochafikhttps://github.com/ochafik
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 26, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1165#event-19944802827
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Oct 6, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1165#ref-issue-3178744615
MCP server: AccessToken class should have field for subject claim ("sub") #1038 https://github.com/modelcontextprotocol/python-sdk/issues/1038
https://github.com/yukuanj
yukuanjhttps://github.com/yukuanj
Oct 27, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1165#ref-pullrequest-3555640522
Add resource_owner field to AuthorizationCode and AccessToken classes #1517 https://github.com/modelcontextprotocol/python-sdk/pull/1517
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%2F1165
https://github.com/ochafik
ochafik https://github.com/ochafik
https://github.com/modelcontextprotocol/python-sdk/pull/1165/files/289d1b819689a6c39f9404b35ae7635c494a033b
https://github.com/dsp-ant
dsp-ant https://github.com/dsp-ant
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
auth https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Aauth
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
OAuth Improvements & Fixes https://github.com/modelcontextprotocol/python-sdk/milestone/10
MCP server: AccessToken class should have field for subject claim ("sub") https://github.com/modelcontextprotocol/python-sdk/issues/1038
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1165
https://github.com/robertofalk
https://github.com/felixweinberger
https://github.com/ochafik
https://github.com/ihrpr
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.