v1
protected
mcp-oauth-connect
Oauth Authorize
Initiate MCP OAuth flow: discover AS, register client, redirect to auth page.
- Look up the MCP instance's remote URL
- Discover the authorization server (RFC 9728 → RFC 8414)
- Dynamically register as an OAuth client (RFC 7591)
- Generate PKCE pair and state
- Redirect user to the authorization endpoint
get/v1/mcp-oauth/authorize
Query parameters
instance_idstring uuid required
MCP instance to connect
MCP instance to connect
return_tostring
Frontend URL to redirect after OAuth completes
Frontend URL to redirect after OAuth completes
Response
Successful Response
{"stackTrail":"paths:/v1/mcp-oauth/authorize:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}