OpenAPI 3.1.0raw.githubusercontent.com2026-08-18347691.3 MB

5c2324662674

MCP OAuth

Build an OAuth authorize URL. Returns JSON so the browser can navigate without losing the Bearer auth header.

get/api/mcp-oauth/{mcpServerId}/authorize-url

Path parameters

mcpServerIdstring required

Query parameters

redirectstring
userIdstring
scopesstring

Response

{ providerUrl: string }

providerUrlstring required