Skip to content

MCP authorization 2025-03-26 server spec implementation #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mazinesy
Copy link

@mazinesy mazinesy commented Jun 3, 2025

@mazinesy mazinesy changed the title Oauth2 integration MCP authorization 2025-03-26 spec implementation Jun 3, 2025
@mazinesy mazinesy changed the title MCP authorization 2025-03-26 spec implementation MCP authorization 2025-03-26 server spec implementation Jun 3, 2025
@mazinesy
Copy link
Author

@topherbullock is this something I should put effort in implementing completely (including tests, etc. ?)

@HunterHillegas
Copy link

The new version of the MCP spec that just dropped today has some changes related to OAuth, yes? Specifically classification as OAuth Resource Servers? https://modelcontextprotocol.io/specification/2025-06-18/changelog

@mazinesy
Copy link
Author

@HunterHillegas My understanding is that the new spec is a superset of the previous one. Basically adding the protected_metadata endpoint as the first interaction on 401 between the client and the server instead of going directly to the .well-known/oauth-authorization-server endpoint

@hernanat
Copy link

hernanat commented Jul 17, 2025

hello 👋 wanted to ask what the plans are for this PR? or what the recommendation is for teams that want to use this SDK for building an MCP server + need auth in the meantime?

@mazinesy
Copy link
Author

hello 👋 wanted to ask what the plans are for this PR? or what the recommendation is for teams that want to use this SDK for building an MCP server + need auth in the meantime?

cc @topherbullock @atesgoral ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants