Skip to content

ConnectionsOperations

The connections.* operations.

list(options?): Promise<Connection[]>;

List the caller's accounts.

Each OAuth app the caller signs in with, and each MCP server's own sign-in, by the server's name. Says whether the caller holds each, and whether a sign-in to it is under way. Only the caller's own.

Parameter Type
options? CallOptions

Promise<Connection[]>


connect(provider, options?): Promise<Connecting>;

Sign the caller in to an account.

Answers that the caller holds it already, or where they sign in: the page, and for a device sign-in the code to enter there.

Parameter Type
provider string
options? CallOptions

Promise<Connecting>


disconnect(provider, options?): Promise<void>;

Forget the caller's account.

The next call that needs it asks the caller to sign in again. not_found where the caller holds no such account. Recorded in the audit.

Parameter Type
provider string
options? CallOptions

Promise<void>