v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
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

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Operation completed successfully"
}