v1

latestOpenAPI 3.1.12026-07-17124229467.0 KB

Begin MCP OAuth

Begin an interactive OAuth flow for a remote MCP server without blocking. Returns the authorization URL for the client to open (embedded window on desktop, new tab on web/mobile); completion happens when the provider redirects back to the callback. Poll mcp.status for the result.

post/mcp/{name}/auth/begin

Path parameters

namestring required

Query parameters

directorystring
workspacestring
redirectUristring

Response

OAuth flow begun (authorization URL) or already resolved (status)

supportsboolean required
authorizationUrlstring

URL to open for authorization

redirectUristring

Redirect URI the provider will return to