Skip to main content
POST
Start MCP OAuth flow

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

server_id
string
required

The ID of the MCP server.

Body

application/json
redirect_uri
string<uri>
required

OAuth redirect URI. HTTPS is required except for loopback (http://localhost, http://127.0.0.1, http://[::1]).

Maximum string length: 2048

Response

OAuth flow started

object
enum<string>
required
Available options:
mcp_oauth_start
authorization_url
string<uri>
required

URL to redirect the end user to so they can complete the OAuth authorization consent.

state
string
required

Opaque state value bound to this OAuth flow, echoed by the authorization server on the callback for CSRF protection.