Skip to main content

Start the OAuth authorization flow for an MCP server

GET 

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

Discovers the MCP authorization server, registers a client when needed, builds a PKCE authorization request, and answers the provider authorization URL as JSON. 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