Ana içeriğe geç

Start authorizing an OAuth MCP server (AI manager only)

POST 

/api/ai/mcp-servers/:mcpConnection/oauth/start

For a server whose auth_scheme is oauth (doc 111 K7). Discovers the server's authorization server (protected-resource metadata, RFC 9728; server metadata, RFC 8414), finds the client ConnectWiz is known by (the client id entered by hand, a client metadata document, or dynamic registration) and answers the URL the admin's browser opens. PKCE (S256) and resource are always sent; a server without S256 is refused. The authorization server sends the browser back to GET /api/mcp/oauth/callback. 422 with the reason, in the admin's language, when the server cannot be authorized. Throttled.

Request​

Responses​

The authorize URL to open in the browser.