The short answer

For consequential MCP tool calls, put the approval boundary outside the agent conversation. The MCP server or a trusted approval service should create a durable, single-use approval request, bind it to a specific tool, normalized arguments, acting user, and request context, and refuse execution until an authorized human approves that exact request.

Do not treat an agent-generated question such as “Shall I send this invoice?” as authorization. The model can alter that wording, mistake a prior approval for a new one, or continue after the user’s intent has changed. A safe approval workflow needs a server-observed decision, a short validity window, and an idempotent execution path.

For a solo developer, this does not require enterprise approval software. A small database table, a background worker, a signed approval token or grant, and a simple notification channel can support a reliable first version. The important part is separating requesting permission from deciding whether permission was granted.

MCP’s authorization guidance deals with transport-level access through OAuth 2.1. That proves who is calling and can carry delegated authority, but it does not decide whether a particular deletion, payment, deployment, or external message should execute now. Tool metadata such as destructiveHint or readOnlyHint can help a client label risk, but those hints are not execution-time authorization controls.

What the approval service must guarantee

Think of one approval as a narrowly scoped capability ticket. It should authorize one operation, with a particular set of consequences, for a short period. At minimum, the system must answer these questions:

  • Which human is allowed to approve?
  • Which tool and exact arguments are being approved?
  • Which tenant, account, resource, or customer is affected?
  • How long does the approval remain valid?
  • What happens if the same request is submitted twice?
  • Can the approval be revoked before execution?
  • What record proves what was approved and who executed it?

If any answer depends only on chat history, you do not yet have a robust approval boundary.

A small architecture that works without enterprise tooling

Use five logical components. They can begin as modules in one application rather than separate services.

1. The MCP server classifies the requested operation

The server should decide whether a tool call needs approval based on more than the model’s description. A conservative starting policy is:

  • Read-only tools can execute immediately if normal authorization permits them.
  • Reversible writes can execute under a lower-risk policy, depending on your product.
  • Irreversible, financial, privileged, public, or security-sensitive operations always require an approval grant.

The policy should live in server-side code. Tool descriptions and risk hints are useful inputs, but they must not be the only enforcement mechanism.

2. The server creates an approval request

When a protected call arrives, assign it a random approval_id and persist a request such as:

{
  "approval_id": "apr_7K3mQ9",
  "status": "pending",
  "subject_id": "user_42",
  "tenant_id": "workspace_8",
  "server_id": "billing-server",
  "tool_name": "issue_refund",
  "arguments_digest": "sha256:...",
  "arguments": {
    "invoice_id": "inv_193",
    "amount": 2400,
    "currency": "USD"
  },
  "risk_summary": "Issue a USD 24.00 refund",
  "created_at": "2026-04-08T10:15:00Z",
  "expires_at": "2026-04-08T10:20:00Z"
}

The arguments_digest is not a replacement for storing or displaying the relevant arguments. It provides a convenient way to detect whether the operation changed between request and execution.

Return a pending result to the client, containing the request ID and an appropriate status or error. The client can then display the request and notify the user. The MCP server must not continue into the consequential tool operation merely because the client says it is waiting.

3. A trusted approval channel records the decision

The human must approve through a surface outside the agent’s control plane. Depending on your product, that could be a hosted account page, a separate authenticated web application, or a mobile push action. The approval endpoint should authenticate the human independently of the agent.

It should then check:

  • The request is still pending.
  • The approver is authorized for this action and affected account or tenant.
  • The request has not expired.
  • The displayed arguments still match the stored digest.
  • The approver has not already consumed a request or exceeded a policy limit.

On success, create a single-use approval grant. A signed grant can work if the signing key is protected and the server verifies every relevant field. A database row is often simpler for a small application. Either way, the grant should include or unambiguously reference:

  • Approval ID
  • Approver ID
  • Tool name
  • Arguments digest
  • Subject and tenant
  • Expiry time
  • One-time-use or idempotency information

The key trade-off is convenience versus isolation. Reusing the agent UI is faster to build but weakens the trust boundary because the agent controls what the user sees. A separate approval surface takes more work, but gives you an independently authenticated decision channel.

4. A worker executes the approved operation

After approval, a worker claims the request, rechecks its status and digest, and performs the operation. The execution must use the same canonical arguments that were displayed to the approver.

This final check matters. A common unsafe pattern is:

  1. The agent requests approval for $25.
  2. The human approves $25.
  3. The agent changes the amount to $2,500 before retrying.

The approval grant must be bound to the arguments. If the tool call changes materially, create a new request and ask for another approval.

Make execution idempotent. If the network call times out after the downstream service accepted it, a retry must not issue a second refund, deployment, or message. Use a stable request ID, a downstream idempotency key, or an operation status lookup where the API supports one.

5. The audit log records the lifecycle

For each consequential operation, record at least:

  • Request creation and request ID
  • Normalized tool name and arguments or a secure reference to them
  • Authenticated subject, tenant, and acting agent or client
  • Risk classification and policy decision
  • Approver identity and decision time
  • Expiry, revocation, and execution outcomes
  • Downstream operation or idempotency key
  • Any retry or duplicate submission

Do not place secrets or unnecessary sensitive arguments in logs. Apply retention and access rules appropriate to your customers. The goal is not to log everything forever; it is to reconstruct whether a particular side effect was authorized and who authorized it.

Concurrency: approval must be single-use, not first-click-wins

Concurrent requests are normal in agent products. An agent may ask to publish two posts, send two invoices, or retry a failed operation while the first approval is still visible.

A minimal concurrency rule is:

A pending approval request may have many possible decisions, but exactly one successful transition from pending to approved may commit the grant.

Implement that transition atomically in the database. For example:

UPDATE approval_requests
SET status = 'approved', approved_by = $1, approved_at = $2
WHERE id = $3
  AND status = 'pending'
  AND expires_at > $2
RETURNING id;

If no row is returned, another approver or process already handled the request. Do not create a second grant.

Also decide whether the approver must be the same person whose account the agent acts for. For low-risk operations, another authorized operator may be appropriate. For customer money, data deletion, or privileged production changes, separation of duties can be valuable even for a small team. The policy belongs in your application, not in an agent prompt.

There is a second concurrency question: can one human approval cover several grouped actions? Prefer not for consequential work. “Approve three refunds” is convenient, but one changed item can invalidate the whole bundle. If grouping is necessary, display every item, bind the grant to the complete ordered manifest, and treat any manifest change as a new approval.

Timeouts: distinguish “not answered” from “not approved”

An approval timeout is not a rejection, but it must not become implicit consent. When the expiry passes, transition the request to expired and prevent late grants from executing.

A useful timeout policy has three parts:

  1. A short request lifetime, such as several minutes, appropriate for urgency and risk.
  2. A separate short grant lifetime after approval, such as tens of seconds, to limit the window between decision and execution.
  3. A clear final state for the user: expired, cancelled, revoked, approved, denied, or failed.

Avoid automatically retrying consequential calls after timeout. Retrying can create duplicate approval requests or duplicate side effects. If your product wants a reminder, create or update the same pending request under a controlled policy, then obtain a fresh decision if the request has actually expired.

Also avoid extending a request indefinitely because a browser tab remained open. The approval decision and the request are different facts. The human should approve a still-valid request with still-current arguments.

Revocation is useful only before execution

A founder may need to cancel an approval because the customer withdrew consent, the invoice was corrected, or another incident occurred. Support a revoked state while the request is pending and while an approved grant has not yet executed.

Revocation becomes ambiguous once the downstream operation succeeds. Do not report that the underlying payment, deletion, or deployment was undone merely because the local approval was revoked. The audit record should distinguish:

  • Local approval was revoked before execution.
  • Execution had already started.
  • The downstream operation completed.
  • A separate compensation or rollback action succeeded or failed.

If the underlying API supports cancellation or compensation, use it as a separate operation with its own authorization and audit trail.

Safe resume behavior after a crash

Agents get interrupted. The MCP client may disconnect, a worker may restart, and a downstream service may have accepted a request before the response was lost.

On resume, the client should query the approval request by ID rather than blindly submit the tool call again. The server should return one of these states:

  • pending: the operation has not been approved yet.
  • approved: approval exists; check whether execution is pending or complete.
  • denied: a human rejected it.
  • expired: a new decision is required.
  • revoked: the request must not execute.
  • executing: a worker owns the attempt; avoid starting a duplicate.
  • succeeded: the operation completed; return the result.
  • failed: execution failed; expose whether it is safe to retry.

The worker should claim only one eligible request at a time, using a transaction or lease. If a worker dies, a lease can expire and another worker can take over. But recovery must check downstream idempotency status before repeating the side effect.

This is also why the original tool arguments need a stable canonical representation. A digest can change because of key order or serialization differences even when the business operation is unchanged. Normalize according to the tool’s schema first, then compute the digest.

A practical state machine

You can keep the workflow understandable with a small state machine:

pending -> approved -> executing -> succeeded
   |          |          |
   |          |          +----> failed
   |          +----> revoked
   +----> denied
   +----> expired
   +----> cancelled

Only allow valid transitions. In particular:

  • approved should not revert to pending.
  • expired should not become approved later.
  • succeeded should not become executing merely because a client retried.
  • failed should distinguish a safe retry from a permanent failure.

Keep the state transition and the side-effect result in the same logical workflow. Distributed transactions with an unrelated downstream API are usually unrealistic, so use idempotency and reconciliation rather than pretending two systems share one atomic commit.

What to build first

For an indie developer, a sensible first release is deliberately narrow:

  1. Protect one class of consequential action, such as refunds, outbound email, or production deployment.
  2. Create an approval request on the server.
  3. Send the approver to a separate authenticated page.
  4. Store one atomic decision and one short-lived grant.
  5. Execute through a background worker with an idempotency key.
  6. Expose status by request ID so agents and users can resume safely.
  7. Retain a tamper-evident audit trail for request, decision, and execution.

You do not need a policy engine, a complicated event bus, or an enterprise identity product for that first version. You do need clear state, authenticated approvals, argument binding, and idempotency.

As volume or risk grows, the likely next constraint is not approval-page functionality but decision correctness under concurrency. At that point, add stricter approver roles, step-up authentication, amount thresholds, two-person approval for high-value actions, centralized policy evaluation, or dedicated job infrastructure. Choose these based on observed failure modes rather than because a checklist says “enterprise-grade.”

Common mistakes

Treating the chat transcript as the approval record

The model can paraphrase, omit context, or be manipulated into treating earlier consent as blanket permission. The server must receive an independently verifiable decision.

Approving a tool but not its arguments

Approval without an arguments digest or canonical manifest does not bind the decision to the side effect.

Using “yes” as an authorization token

A short approval code or signed grant is safer because the server can check its fields and expiry. It should never be a reusable token with broad scope.

Letting a timeout fall through to execution

No response means no approval. Expire the request and require a fresh decision.

Retrying without idempotency

A lost response is ambiguous. Use a stable idempotency key and query the downstream result before attempting another write.

Relying on MCP risk hints as enforcement

Hints can improve presentation, but the server must enforce the policy.

Using one service credential for every customer

Even with perfect approvals, a broad shared credential increases blast radius. MCP supports delegated OAuth patterns for user-authorized HTTP deployments, and client credentials may fit machine-to-machine use cases. Pair that authentication with application-level checks for the subject, tool, and affected resource. The MCP authorization-model decision guide is useful before combining approvals with delegated access.

Frequently asked questions

Can the MCP client itself display the approval request?\n

It can display a summary and open the approval surface, but the server should independently authenticate the human and issue the approval grant. The client must not be able to manufacture that grant.

Can an approval cover several tool calls?\n

Only if your system treats them as one explicitly enumerated operation and binds the grant to the complete manifest. Separate calls with independently mutable arguments are safer when each requires a separate grant.

Is a signed token better than a database row?\n

Neither is universally better. A database row makes state transitions and single-use enforcement straightforward. A signed token can simplify handoff between components, but your server still needs durable state if it must enforce one-time use and revocation reliably.

Should the approval request be part of the MCP protocol?\n

The base MCP protocol does not standardize your product’s approval workflow. You can model the pending operation as a tool result, status resource, or separate service. Keep the security boundary server-observed regardless of how the client presents it.

Does OAuth approval solve this problem?\n

No. OAuth authorization can establish the identity and scope of the caller. Human approval is a separate decision about whether this consequential invocation should proceed now, with these arguments, in this context.

The founder’s decision

The useful question is not “How do I make the agent ask permission?” It is “Can I prove that the side effect I performed was the exact one an authorized person approved?”

If the answer is no, the product is not ready to expose that action autonomously. Build the smallest durable workflow that can answer yes: a server-owned request, an independent approval, a bound and expiring grant, an atomic decision, idempotent execution, revocation before execution, and a useful audit trail.

That architecture may feel heavier than adding one confirmation prompt. It is still lighter than buying enterprise tooling, and it gives a growing product the right foundation: agents can save time and complete real work without turning a fuzzy intention into an unreviewable side effect.

Sources