Back to all posts

Approval Gates Before Agents Touch Production

2026-10-03
luodaInt
Approval Gates Before Agents Touch Production

Approval Gates Before Agents Touch Production

An agent connected to your CRM through MCP gets a simple instruction: clean up inactive accounts. It finds hundreds of matches, picks the delete tool, and fills in the arguments with total confidence. Nothing about that sequence is unusual. The only thing missing is a moment where a person sees the exact action and says yes or no.

That moment does not exist by default. The Model Context Protocol (MCP) standardizes how agents discover and call tools. It deliberately leaves approval to the people building the system. For business automation — invoices, CRM updates, support sends, access changes — that gap is the difference between a useful agent and an expensive incident.

The useful rule

Put the gate where the side effect happens, in code the agent cannot route around. Prompts are advice. Annotations are hints. Only a server-side check with frozen arguments is a lock.

Agents are already a parallel access channel

This is no longer a lab problem. Snowflake’s enterprise MCP gateway guide (September 2, 2026) cites earnings-call figures that make the volume concrete: Datadog reported MCP tool calls up 22× since Q4 2025 and quadrupling again quarter over quarter; Figma reported MCP write usage up 75% in a single quarter; Atlassian reported MCP calls up 400% in one quarter while human UI traffic barely moved; Salesforce reported sixfold growth in agentic use of their apps through MCP and CLI calls.

Agents have become a high-volume path into the same systems humans use — often invisible to security stacks that still assume deterministic app-to-app traffic. Traditional API gateways ask whether a client may hit an endpoint. An MCP-aware control plane asks whether this agent, for this user, may run this tool with these arguments right now.

Shadow MCP on a laptop is the new shadow IT: real productivity, invisible credentials, and nondeterministic use of whatever access was granted at setup.

Annotations are not approval gates

Corsair’s October 1 guide on DEV Community is blunt about a common mistake: wiring MCP tool annotations (readOnlyHint, destructiveHint, and friends) straight into approval logic.

Those flags are hints. The specification treats them as untrusted unless the server is trusted. Defaults are pessimistic when omitted, which creates approval fatigue — or false confidence once someone sets flags carelessly. They only matter if a client acts on them, and a headless agent runtime may never ask anyone anything. Worst of all, they describe a tool, not a call: one update tool can rename a label or wipe a table depending on its arguments.

Use annotations to help interactive clients decide what to show. Enforce on the server, immediately before the write, delete, or send.

Five properties of a real gate

It sits in front of the side effect. The decision lives somewhere the agent cannot write. Arguments are frozen, shown to the reviewer, and executed as shown. Approval is single-use and expires. Your server verifies the approver — never trust a name asserted by the client.

Risk tiers so reviewers keep reading

Pausing every tool call trains people to click Approve without reading. Sort actions with three questions: Can it be undone? Who can see the effects? How many records does it touch?

Corsair’s practical tiers map cleanly to ops:

  1. Read — lookups and lists. Run freely; still log them (reads leak too).
  2. Internal write — drafts, tags, restoreable fields. Usually allow with a clear undo path.
  3. External facing — email, shared channel posts, invoices. Other people see it; you cannot unsend. Approval by default.
  4. Destructive — deletes, overwrites, access revocation. Approve every time, or keep the action out of the agent’s reach.
  5. Irreversible / high value — money movement, production deploys, permanent deletion, bulk changes. Named-role approval, or block agents entirely.

Environment is part of policy. The same delete that is fine in staging deserves a gate against live customer data. Deny by default for unclassified tools until someone assigns a tier.

Pause, resume, audit — and prefer URL mode for production

Once the gate exists, the lifecycle matters as much as the check.

Pause. Prefer asynchronous pending results over holding a tool call open while someone is in a meeting. Give every pending request an expiry and treat silence as no.

Resume. Run with the arguments the reviewer saw. Never ask the model to rebuild the call from memory — a slightly different argument is a different action.

Audit. Log who asked, what was asked (tool, target, args with secrets redacted), who decided, and what actually executed. Keep approval and success as separate events. A yes does not mean the downstream API succeeded.

The July 28, 2026 MCP revision introduces Multi Round Trip Requests (MRTR): a server can end a call with input_required, the client collects input, and retries with answers attached — without holding a long-lived session. For production data, Corsair (and the November 2025 URL-mode elicitation pattern) still prefer an out-of-band review page on your domain: the server authenticates the approver; the client only learns that someone opened the link. In-band form answers travel through the client and can be weaker evidence of who decided.

Gateway thinking for business automation

Approval gates belong in the integration layer, close to the API call they protect — not rebuilt inside every MCP server. Snowflake’s five-pillar gateway framing is the enterprise version of the same idea: zero-secret credential injection, a governed tool catalog, runtime DLP and context narrowing, trajectory-level audit and cost circuit breakers, and reuse of existing workflow/integration assets as callable tools instead of raw credentials.

Medium writers who have shipped production MCP servers land on the same pattern. Ryan Saleh treats the typed JSON Schema as the security boundary — allowlists, not documentation — and puts human-in-the-loop checkpoints plus idempotency keys on irreversible workflow triggers. Djajafer describes a gateway that verifies identity, evaluates policy, runs DLP, classifies tools as read/write/destructive, and only then forwards with the caller’s own OAuth credentials.

On Hacker News, the MCP vs CLI debate keeps circling the same business truth: CLIs win for composable local developer loops; remote MCP with OAuth wins when non-technical users need company apps connected to a managed LLM — and when you need an enforcement point between the agent and production systems.

What to ship this week

You do not need a full Cortex-style platform on day one. Pick one destructive or external-facing action on a system of record.

  1. Write the tiers for that integration before you write gating code.
  2. Gate at the side effect — same check whether the call arrives via MCP, a script, or a background job.
  3. Freeze arguments, show them in plain language (action, target, count), expire stale requests.
  4. Verify the approver on your domain for Tier 4–5; use quick in-band confirm only for lower risk.
  5. Log request, decision, and execution separately on the server.
  6. Test approval, denial, and expiry before you widen the policy.

If reviewers approve nearly everything, you gated too much — or your prompts do not show what matters. Approval fatigue is a security problem.

Want help turning one CRM, billing, or ops write path into gated automation with a real audit trail — not another chatbot with fifty tools? Talk to us.

Sources