Skip to content

Early access Governed MCP calls open to beta partners in March 2027. The MCP tracker and scanner are free to use today.

Stackduke JournalMCP

Read-only or full access: when should an AI agent ask a person first?

Most tools let you make an AI agent read-only, or let it write. Real jobs sit in between. What your tools already let you limit, the gap those settings leave, and how to decide which calls should wait for a person.

When you connect an AI agent to a tool like GitHub, Stripe or Supabase, you usually get two choices. The agent can only read, or it can write.

Read-only is safe, but most useful agents need to change something. A support agent has to issue refunds. A coding agent has to open pull requests. Once an agent can write, it can write anything its access allows.

This post covers what your tools already let you limit, the gap those settings leave, and a simple way to decide which calls should wait for a person. I build Stackduke, which works on that gap. Near the end I say how.

Start with the settings you already have

Before anything else, use the limits your tools give you for free. They work, and some of them are very good.

  • GitHub. Sign the agent in with a fine-grained token limited to the repositories it needs. Use read-only mode when it only reads, and turn on only the toolsets it needs. Lockdown mode goes further: in public repositories, the agent only sees content from people with push access, so a stranger’s issue can’t feed it instructions (GitHub’s remote server documentation, lockdown mode).
  • Supabase. Add read_only=true so every query runs as a read-only database user, and project_ref to tie the agent to one project (Supabase’s MCP documentation).
  • Stripe. Give each account only the permissions the agent needs. Stripe also asks a person to confirm some actions, such as refunds, before they run (Stripe’s MCP documentation).
  • The app your agent runs in. Many MCP clients can ask you before a tool runs. Turn that on for the tools that change things.

If an agent only needs to read, stop here. Read-only access is the best limit there is.

The gap: allowed is not the same as fine right now

These settings answer one question: what is this agent allowed to touch? They don’t answer a second one: should this particular call go ahead right now?

Take three agents.

  • A support agent that issues refunds. A $20 refund for a late delivery should just happen. A $2,000 refund should wait for someone. Permissions let the agent refund or not. A confirmation on every refund means someone clicks yes all day, for the $20 ones too.
  • A coding agent that opens pull requests. Its job is to open them on your own repositories. If its token also reaches a public repository, it can open one there too. Read-only would stop it doing its job at all.
  • An agent that sends email. Replying to one customer and emailing every customer can be the same tool. Only the list of addresses is different. Once an email is sent, you can’t take it back.

The MCP specification says there should always be a human in the loop who can deny a tool call. It leaves how to each app. In many apps that means a prompt before every call of a tool. That works for a day. Then the agent makes 60 calls, someone is clicking yes without reading, and the prompt protects nothing.

What you want sits in between. Most calls run on their own. A few wait for a person. The question is which few.

Three questions to pick which calls wait

For each tool an agent can use, ask:

  1. Can it be undone? Reading, drafting and opening a branch can be undone or ignored. A sent email, a payment, a dropped table or a public post can’t.
  2. Who sees it? A change only your team sees is cheaper to get wrong than one a customer, or the public, sees.
  3. How big is it? A small refund and a large one use the same tool. The amount is what makes them different.

A call that is final, public and big should wait. A call that is none of those should just run. Most calls are none of those.

Here is how that might look for the support agent:

Call Decision
Look up a customer or a payment Allow
Write a draft reply Allow
Refund up to $200 Allow
Refund over $200 Wait for a person
Send an email Wait for a person
Delete a customer Block

The numbers are an example. Pick your own. The point is that “can it refund?” is the wrong question. “Which refunds need a person?” is the right one.

What a person should see when a call waits

If a call waits, the person approving it needs to see the call itself: the tool, the target and the arguments. “The agent wants to use the refund tool” is not enough. “Refund $2,000 to customer cus_123 for payment pi_456” is.

The approval should cover that one call only. If the agent then tries a different amount or a different customer, that is a new call, and it should wait again. Otherwise one yes turns into permission for things nobody saw.

How Stackduke handles this

Stackduke sits between your agents and their MCP servers. Every call goes through it first.

You write rules by agent, tool and target, with a condition such as an amount where you need one. For example: the support agent may issue refunds on your production Stripe account, but refunds over $200 need approval. Each call gets one of three decisions: Allow, Require Approval or Block.

A call that needs approval waits. The reviewer sees the exact call and can approve it once or deny it. The approval covers that call and nothing else. Every decision is recorded in an Action Record, so you can see later what was asked, what was decided and by whom.

You can also start a new agent in Observe Mode. Stackduke records what your rules would have decided while the calls carry on, so you can see what a rule would hold before it holds anything.

The rules live in one place across your servers. GitHub, Stripe, Supabase and your email service follow the same rules, instead of four different settings pages.

It has limits too, and they matter:

  • It only governs calls routed through it. If an agent has another way into the same system, that way is outside the rules.
  • It doesn’t judge content. It can hold an email for a person, but it won’t tell you whether the words are right.
  • Rules match tools, targets and simple conditions such as an amount. A rule can’t count the addresses on an email or work out what a SQL query does, so a rule on a sending tool holds every send.
  • It doesn’t replace your tools’ own settings. Keep tokens scoped, and read-only where you can. Stackduke is for the calls that have to write.

Governed calls open to beta partners in March 2027. The MCP tracker and the open-source scanner are free today. They show what each tool on a server can do, so you can see which calls are worth a rule.

What I would like to hear

If you run agents that change real things, which call would you want to wait for you? And how do you hold it today?

Email me at dominic.tan@stackduke.com, or join the waitlist if you want to try Stackduke.

Sources

Keep reading