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