MCP
OAuth
Complete MCP client OAuth flow
Completes the OAuth flow for an MCP client after the user has authorized the request. This endpoint should be called after the OAuth provider redirects back to the callback endpoint and the OAuth token has been stored. It retrieves the pending MCP client configuration and establishes the connection with the OAuth-provided credentials.
post/api/mcp/client/{id}/complete-oauth
Path parameters
idstring required
MCP client ID
Response
MCP client connected successfully with OAuth
Example response
{
"status": "success",
"message": "Operation completed successfully"
}