Skip to main content
Use GraphQL authentication to manage the MCP apps connected to the authenticated APOB account. These operations use an APOB API key or Firebase login; an MCP OAuth token does not authenticate GraphQL. See MCP authentication to connect an MCP client.

Read client setup instructions

listMcpClientInstructions is a public query with no arguments or authentication requirement. It returns [McpClientInstruction!]!:
McpClientInstructions
The query returns instructions in the order Codex, Claude Code, Cursor, and Other. It returns an empty list when MCP authentication is disabled. These are setup instructions; they do not authorize an account, start OAuth, or establish compatibility with an installed client version.

List connected apps

listPersonalMcpConnections takes no arguments and returns [McpConnection!]!:
McpConnections
The list includes clients with saved consent or an active access token for the account, ordered by clientName and then clientId. Saved consent can remain after a token expires, so a listed app does not prove that it currently has a usable token. The response contains client metadata, without token values.

Revoke a connection

Pass the exact clientId from the listing:
RevokeMcpConnection
Variables
clientId must be nonblank and at most 100 characters. The mutation returns Boolean!. A successful call returns true, including when there is no stored client or connection to revoke. Revocation removes the account’s consent and invalidates its stored access tokens and authorization codes for that client. Pending authorizations without a token or code are removed. Other accounts’ connections are unaffected. The client must complete authorization again before obtaining new access. Revocation does not cancel generation tasks that were already submitted.

Unavailable connections

When MCP authentication is disabled, both operations return the GraphQL error MCP connected apps are unavailable. A storage failure returns Unable to list MCP connected apps. or Unable to revoke MCP connected app. Read the GraphQL errors array; an error does not represent an empty listing or a successful revocation. See GraphQL errors.