v2
mcp
mcp
Initiate OAuth login for an MCP server
Discover OAuth metadata from the MCP server and return a login URL.
- Discovers the protected-resource metadata (RFC 9728)
- Fetches the authorization server metadata (RFC 8414)
- Performs Dynamic Client Registration (RFC 7591) if available
- Returns the authorization URL for the frontend to open in a popup
post/api/mcp/oauth/login
Request body
Response
Successful Response
Changes
Changed in 1 of the 165 revisions of this API.1
- ○
added the new optional request property
new-optional-request-property
- ○