Skip to main content
GET /api/v1/mcp/servers/{server_id}/accounts lists connected-account selectors available to the authenticated caller for a connector. Use a server ID from server discovery. Pass team_id to select the permitted team scope. OAuth requires orchestrivo_api.mcp. Personal API keys also work. Team API keys aren’t supported on MCP endpoints and receive 403. Tokens that can’t choose accounts per call receive 403 with account_choice_not_enabled, and their calls use the permitted default account. The response identifies the server and available account choices without returning provider secrets. Use the returned selector with a tool call; the call rechecks access. Discovery does not create an account or complete OAuth consent.
The Python equivalent is client.mcp.list_accounts(server_id), with await on the async client. See orchestrivo mcp for discovery, account selection, and interactive setup.