René's URL Explorer Experiment


Title: Add OAuth Protected Resource Metadata support by imfing · Pull Request #807 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add OAuth Protected Resource Metadata support by imfing · Pull Request #807 · modelcontextprotocol/python-sdk

X Title: Add OAuth Protected Resource Metadata support by imfing · Pull Request #807 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add OAuth Protected Resource Metadata support by imfing · Pull Request #807 · modelcontextprotocol/python-sdk

Open Graph Description: This PR adds support for RFC 9728 Section 5.1 – "WWW-Authenticate" Response, enabling proper OAuth Protected Resource Metadata responses from the server, and aligns with the MCP TypeScrip...

X Description: This PR adds support for RFC 9728 Section 5.1 – "WWW-Authenticate" Response, enabling proper OAuth Protected Resource Metadata responses from the server, and aligns with the MCP T...

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

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:e698532f-3e64-ad7f-fb33-ebddcceb6a9b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD8E:1B8627:556D5A:7695BA:6A5A51F4
html-safe-nonce597bb0f893ec50076fbf5533b6adb483d27e4237619fd5738b1f749bcd3ad817
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDhFOjFCODYyNzo1NTZENUE6NzY5NUJBOjZBNUE1MUY0IiwidmlzaXRvcl9pZCI6IjE0ODg1MTYzNjg0NDUxNTgyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc902dadf4758e150e54a491e1adeda946e6319e898d3bb88adad4650bb741cf
hovercard-subject-tagpull_request:2544200454
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/807/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f629955ebf6af681e068f89291959f1efc281532716d82a1ef85a18d181d48d9/modelcontextprotocol/python-sdk/pull/807
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f629955ebf6af681e068f89291959f1efc281532716d82a1ef85a18d181d48d9/modelcontextprotocol/python-sdk/pull/807
og:image:altThis PR adds support for RFC 9728 Section 5.1 – "WWW-Authenticate" Response, enabling proper OAuth Protected Resource Metadata responses from the server, and aligns with the MCP TypeScrip...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameimfing
hostnamegithub.com
expected-hostnamegithub.com
Nonea793cd1fa898929111edad5857ee1f24ecf4bf7702525e67357cabc9df136fc3
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
release311929384671aa49f385b6fcc680ae3933943203
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/807#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F807
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%2F807
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/807
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/807
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/807
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/807
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 256 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
imfinghttps://github.com/imfing
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
imfing:auth-metadatahttps://github.com/imfing/python-sdk/tree/auth-metadata
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/807
Commits11 (11)https://github.com/modelcontextprotocol/python-sdk/pull/807/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/807/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/807/files
Add OAuth Protected Resource Metadata supporthttps://github.com/modelcontextprotocol/python-sdk/pull/807#top
imfinghttps://github.com/imfing
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
imfing:auth-metadatahttps://github.com/imfing/python-sdk/tree/auth-metadata
https://github.com/imfing
imfinghttps://github.com/imfing
May 26, 2025https://github.com/modelcontextprotocol/python-sdk/pull/807#issue-3091339009
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/807
RFC 9728 Section 5.1 – "WWW-Authenticate" Responsehttps://datatracker.ietf.org/doc/html/rfc9728#name-www-authenticate-response
MCP TypeScript SDKhttps://github.com/modelcontextprotocol/typescript-sdk/blob/d5c996bbcbac130da086bdd8c06a42641d7ec82a/src/server/auth/router.ts#L188
Implement support for the new authorization specification #686https://github.com/modelcontextprotocol/python-sdk/issues/686
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/807
imfinghttps://github.com/imfing
May 26, 2025 12:29https://github.com/modelcontextprotocol/python-sdk/pull/807#commits-pushed-f2876ea
https://github.com/imfing
Add OAuth Protected Resource Metadata supporthttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/f2876eaa06323e0d798c395a3df23572bf233c49
f2876eahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/f2876eaa06323e0d798c395a3df23572bf233c49
https://github.com/imfing
Refactor authentication middleware and routeshttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/d087f90ac175ecf1ca1603c02faf858f5212d84e
d087f90https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/d087f90ac175ecf1ca1603c02faf858f5212d84e
https://github.com/imfing
Enhance OAuth 2.0 support and middleware functionalityhttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/59673e69b151edb871d320b52d3a2cb138f18ffd
59673e6https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/59673e69b151edb871d320b52d3a2cb138f18ffd
https://github.com/imfing
Merge branch 'main' into auth-metadatahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/c9f5df7d68827c0b69489b0ea8fc534ee130fc05
c9f5df7https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/c9f5df7d68827c0b69489b0ea8fc534ee130fc05
https://github.com/imfing
imfinghttps://github.com/imfing
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/b7610201339055c5275a0d5a1bda73f3f774f63a..c9f5df7d68827c0b69489b0ea8fc534ee130fc05
b761020https://github.com/modelcontextprotocol/python-sdk/commit/b7610201339055c5275a0d5a1bda73f3f774f63a
c9f5df7https://github.com/modelcontextprotocol/python-sdk/commit/c9f5df7d68827c0b69489b0ea8fc534ee130fc05
Compare https://github.com/modelcontextprotocol/python-sdk/compare/b7610201339055c5275a0d5a1bda73f3f774f63a..c9f5df7d68827c0b69489b0ea8fc534ee130fc05
May 26, 2025 18:08https://github.com/modelcontextprotocol/python-sdk/pull/807#event-17818104504
imfinghttps://github.com/imfing
May 26, 2025 19:09https://github.com/modelcontextprotocol/python-sdk/pull/807#commits-pushed-603fdc1
https://github.com/imfing
Enhance OAuth metadata discovery in clienthttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/603fdc171b350d838dab0b4c953ec8182714e43b
603fdc1https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/603fdc171b350d838dab0b4c953ec8182714e43b
https://github.com/imfing
Renamed test method to better reflect its purposehttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/aee7ee979d80d3b502e0fe68ce2047604d6872a4
aee7ee9https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/aee7ee979d80d3b502e0fe68ce2047604d6872a4
https://github.com/imfing
Fix resource URL in the oauth_protected_resource_metadata fixturehttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/453de4caa00868558638981b5313cc0bef3534e3
453de4chttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/453de4caa00868558638981b5313cc0bef3534e3
https://github.com/imfing
Merge branch 'main' into auth-metadatahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/6788f5230cbb4fb775dac788a74e668b27732496
6788f52https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/6788f5230cbb4fb775dac788a74e668b27732496
https://github.com/imfing
Merge branch 'main' into auth-metadatahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/54cf13343b9510f88b74bed43328e44a5ef75274
54cf133https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/54cf13343b9510f88b74bed43328e44a5ef75274
https://github.com/imfing
Merge branch 'main' into auth-metadatahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/e36443c59830d32434ce96c409020b632f2e0369
e36443chttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/e36443c59830d32434ce96c409020b632f2e0369
https://github.com/imfing
Merge branch 'main' into auth-metadatahttps://github.com/modelcontextprotocol/python-sdk/pull/807/commits/583748125d809b326bfb0e1498e888e39782c5ea
5837481https://github.com/modelcontextprotocol/python-sdk/pull/807/commits/583748125d809b326bfb0e1498e888e39782c5ea
https://github.com/imfing
imfinghttps://github.com/imfing
Jun 19, 2025https://github.com/modelcontextprotocol/python-sdk/pull/807#issuecomment-2986145471
#982https://github.com/modelcontextprotocol/python-sdk/pull/982
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/807
https://github.com/imfing
imfinghttps://github.com/imfing
Jul 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/807#event-18417202558
https://github.com/imfing
imfinghttps://github.com/imfing
July 1, 2025 18:40https://github.com/modelcontextprotocol/python-sdk/pull/807#event-18417203276
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%2F807
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/807
https://github.com/imfing
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.