Skip to main content

Start the OAuth authorization flow for an MCP server

GET 

https://platform.docana.com/api/v1/mcp-servers/oauth/authorize/

Builds a signed OAuth state and answers the provider authorization URL as JSON for the client to redirect to, the endpoint itself never issues a 302. After consent the provider redirects back to /api/oauth/mcp/callback, which stores the tokens read by GET /api/v1/mcp-servers/{mcpServerId}/connection/.

Request

Responses

The provider authorization URL