Docs

Human approvals

Hold calls to sensitive MCP tools until an owner or admin approves them. How holding, timeouts, progress notifications, self-approval and auditing work.

Last updated: 2026-11-24 · Markdown

An admin, or the owner of a server for its tools, can flag a tool as requires approval. A call to that tool is held open by the gateway until someone with the right to approve decides, the approval times out, or the client cancels.

How it works

  1. An agent calls a tool flagged requires_approval. Access control, schema validation and rate limits are applied first.
  2. Neurouter creates a pending approval and holds the request open.
  3. Admins and the server's owners see it in Review → Approvals, which updates live. The card shows the agent, the user it acts for, the client or API key used, the tool and the arguments.
  4. Approve: the call proceeds to the upstream server. Deny or timeout: the tool returns an error result with the reason.
  5. The request, the decision and who made it are all written to the audit log.

Who can approve

Admins and the owners of the tool's server. By default the person who made the request cannot approve their own call; an admin can change this with the Allow self-approval setting.

Timeouts

SettingDefault
Approval timeout5 minutes
Maximum timeout15 minutes
Per-tool overrideOptional, set on the tool

On Kubernetes, the Helm chart sets the pod termination grace period to approvals.maxTimeoutSec + 30 seconds so held calls can finish during a rolling update. Keep approvals.maxTimeoutSec at least as large as the maximum timeout setting.

Keeping clients connected

Many clients give up on a request after a fixed time. Clients should send a progressToken: while a call is held, Neurouter sends a progress notification every 10 seconds, which keeps the request alive. Calls are held across replicas, so an approval given on one replica releases a call held on another.

Ingress

The held call and the live approvals page (/api/approvals/stream) use server-sent events. Turn off proxy buffering and allow long read timeouts on your ingress; the Helm chart's NGINX annotations do both.

Good candidates for approval

  • Tools that write to production data or infrastructure.
  • Tools that send messages or email on someone's behalf.
  • Tools that move money or change permissions.
  • Bulk exports of sensitive data.

See also Human approvals.