View as Markdown

Provenance MCP · Guide

Confirm an AI app's change

When an AI app you connected asks to change something in your business account, the change waits for you. You see what will change and confirm or decline it; the app can only read your answer.

Before you begin: connect an AI app to your business account with a write permission (Connect an MCP client, Connected apps).

How a change waits

  1. The app asks. A write tool, such as mandate_pause, returns Provenance's own preview of the change, a confirmation_id and a link. Nothing has changed.
  2. You answer. You confirm or decline in one of the places below. A request waits 10 minutes, then expires.
  3. The change runs once. It runs as your connection, with your current role. If the change differs from the one you were shown, nothing is applied.
  4. The app reads the outcome. It repeats the same call with the confirmation_id and gets the request's status (What the app reads).

Repeating the call reads the state of the request; your answer is what applies the change.

Where you confirm

PlaceWhen you see itWhat you do
A form in your AI appYour app shows forms from its tools and the change needs no passkeyTick Confirm this change and submit. A change to several records asks you to type the count.
The confirm view in the chatYour app draws views from its toolsPress Confirm or Decline on the card.
The consoleAlwaysOpen the link in the tool's answer, or Approvals → AI app changes (every member has it; Home lists waiting changes under Needs you).

In the console the card says what the app wants to do in one sentence, lists each record on its own line, and has Confirm and Decline. Only you can open a request your app made; another member, an owner or an admin sees that it isn't available.

Passkey

On live, three kinds of change ask for your passkey in the same step:

  • a change that loosens a control, such as publishing rules, raising a card limit or accepting a held capture
  • a change to more than 10 records
  • approving a held order, even one

You sign in the console, on Provenance's own page. A form or a view in your AI app can't take the passkey, so they give you the link instead. A one-time code or a recovery code can't stand in for it. With no passkey yet, add one in Settings → Sign-in & security, then confirm.

The sandbox never asks for the passkey.

What the app reads

{
  "object": "write_confirmation",
  "tool": "mandate_pause",
  "summary": "Pause 2 agents.",
  "status": "awaiting_confirmation",
  "confirmation_id": "mcf_01JD7Q2M7S3KX9V4R8N6T5W2A1",
  "confirm_url": "https://app.provenanceauth.com/connect/confirm?c=mcf_01JD7Q2M7S3KX9V4R8N6T5W2A1",
  "passkey_required": false,
  "expires_at": "2026-11-28T15:14:05Z",
  "retry_after_seconds": 5
}
statusMeaningNext step for the app
confirmation_requiredThe first answer: the preview and the linkShow the link as it is, then repeat the call with confirmation_id
awaiting_confirmationYou haven't answeredRepeat the call after retry_after_seconds
appliedYou confirmed and the change ran; result has the outcome, per record for severalReport it
failedYou confirmed and the change's own check refused it; error_code says whyReport it
declinedYou said noStop
expired10 minutes passedCall again without confirmation_id for a new preview

dry_run: true on any write tool returns the preview alone and stores nothing.

Write limit

Each connected app may start 10 changes a minute for you (previews and dry runs both count), on top of each API route's own limits. The eleventh in the same minute changes nothing and answers rate_limit_exceeded with retry_after_seconds, and the response carries Retry-After. Reading a request's outcome with its confirmation_id isn't limited, and each connected app has its own count.

Records

Each answer writes an MCP action row in the audit log: the tool, the app, how many records, how you confirmed and the outcome. Approvals → History lists your own answered requests.

Errors you might see

The console's confirm calls return these, and a write tool returns the first.

CodeWhat happenedWhat to do
rate_limit_exceededThe app started 10 changes in the last minuteWait retry_after_seconds, then ask again
mcp_confirmation_unavailableThe request expired, was already answered, or was made for another memberAsk your AI app to make the change again
mcp_confirmation_passkey_requiredThe change needs your passkeyConfirm with your passkey, or add one first
mcp_confirmation_changedThe change differs from its preview, or the app's access changedAsk your AI app to make the change again and check the new preview

See also