latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-22351711.3 MB

b0095d62dd90

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