Skip to content

MCP Server Part 10: OAuth discovery#3767

Open
KoolADE85 wants to merge 2 commits intofeature/mcp-background-callbacksfrom
feature/mcp-oauth
Open

MCP Server Part 10: OAuth discovery#3767
KoolADE85 wants to merge 2 commits intofeature/mcp-background-callbacksfrom
feature/mcp-oauth

Conversation

@KoolADE85
Copy link
Copy Markdown
Contributor

Summary

Support OAuth so MCP clients can discover how to authenticate against an authorization server when connecting to the Dash MCP endpoint. Implements the discovery half of the MCP Authorization spec.

  • New mcp_authorization_server constructor arg (and DASH_MCP_AUTHORIZATION_SERVER env var). When set, registers an RFC 9728 Protected Resource Metadata endpoint at /.well-known/oauth-protected-resource/<mcp-path> advertising the authorization server.
  • Dash serves discovery metadata only — it does not enforce auth. Token validation, 401 responses, and WWW-Authenticate headers are the responsibility of the hosting platform (middleware, reverse proxy, etc.).

@KoolADE85 KoolADE85 force-pushed the feature/mcp-background-callbacks branch from 3e146f8 to 0a82ca0 Compare May 8, 2026 22:11
@KoolADE85 KoolADE85 force-pushed the feature/mcp-oauth branch 2 times, most recently from f549255 to f0fe282 Compare May 8, 2026 22:29
@KoolADE85 KoolADE85 force-pushed the feature/mcp-oauth branch from 1d9eb46 to 7121548 Compare May 8, 2026 22:47
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.

1 participant