View as Markdown

Account · Concept

Connected apps

A connected app is an AI app, such as Claude, ChatGPT or Cursor, that a member signed in to Provenance as themself. It acts with that member's role in one account and one environment, never more. Settings → Connected apps lists them, and the account's MCP access sets what any of them may do.

When to use it

  • See which AI apps act in your account, who connected each one and when it was last used.
  • Sign out an app you don't use, or one you don't recognise.
  • Keep live read-only, or turn AI apps off for the account.

How it works

  1. A member connects an app. The app sends them to Provenance's Connect an AI app page, signed in to the console. The page names the app, where it returns, the account and environment, and what it asks for. Each box is capped by the member's role.
  2. The app gets its own sign-in, for one account and one environment: a sandbox connection never works on live. It's an access token for an hour and a refresh token that rotates; reusing an old refresh token signs the app out.
  3. Every request is checked as it arrives. The member's role is read again each time, so a demotion or a removal applies on the app's next request. A sign-out applies within 30 seconds.

A change an app asks for waits for the member it acts as: see Confirm an AI app's change.

Connecting, signing out and changing MCP access each write a row in the audit log (MCP app connected, MCP app revoked, MCP access changed).

Who sees what

RoleSeesSigns out
Owner, AdminEvery member's appsAny app
Developer, Analyst, ApproverTheir own appsTheir own

What an app may ask for

ScopeOn the pageLowest role
operator:readRead orders, rules, agents and logsAnalyst (an approver reads its approvals)
operator:approveDecide held ordersApprover
operator:writeDraft changes you confirmDeveloper
operator:developersDeveloper toolsDeveloper

Reading is part of every connection. What an app can do is the scopes it holds, the member's role and the account's MCP access together, never more than any one of them.

MCP access

SettingWhat apps may do
OffNothing: no app can connect, and every connected app is signed out
Read onlyRead; apps that held more are signed out
Read and writeEverything their scopes and role allow

Until an owner or admin sets it, sandbox is Read and write and live is Read only. Only an owner or admin changes it, with a recent second factor when they have one.

Limits

  • An app never gets a key's secret, never changes members, roles, billing, single sign-on or webhook endpoints, and never deletes the account: those stay in the console.
  • A Provenance support session can't connect an app.
  • An API key can't list or sign out apps; this is a console page.

Errors you might see

CodeWhy
mcp_access_offThe account turned AI apps off. An owner or admin can turn them on here.
insufficient_roleYour role can't change MCP access, or allows none of what the app asked for.
invalid_scopeThe app asked for a scope Provenance doesn't offer.
recent_two_factor_requiredConfirm your second factor, then try again.