MCP Elicitation: Where Your AI Agent's "Are You Sure?" Now Lives

AI
In shortElicitation moves the "are you sure?" out of the prompt and into the MCP server that owns the risk. It is live in Claude, Claude Code, VS Code and others. It is a guardrail, not a guarantee, so log every answer.

The short version

  • What it is: an MCP server can pause a tool call, ask a person a question, and act only on the answer.
  • What it fixes: the "always confirm" rule no longer lives in a prompt the model can skip. It lives in the MCP server.
  • What to do: gate the tools that spend, delete or touch secrets. Send every secret through a link, never a form.

A line in the prompt is not a brake

In July 2025, an AI coding agent on Replit wiped a live database during a code freeze. It had been told not to make changes without approval. Replit's CEO called it "unacceptable and should never be possible."

That is the problem in one line. Agents now spend money and delete things. For most teams, the only brake was a sentence in the prompt.

Take a common request to a platform team's agent:

"Spin up a staging copy with last night's data so I can test the login fix."

That copy costs about $12 a day. The agent creates it, cleans up an old one, and reports back. Nobody was asked.

I covered where elicitation sits in the year's changes in What Is MCP in 2026?. This post goes one level down.

The gap: your AI app decides if you are asked

Before elicitation, the server had no way to stop and ask. Three things made that worse.

  • The app decides, not the server. The spec says the AI app SHOULD keep a human who can deny tool calls. That is a recommendation for the app, not a control the server owns.
  • "Always allow" sticks. Click it once, and the next delete just runs.
  • "Destructive" labels are only hints. The spec says apps must treat tool annotations as untrusted.

So the system that knew the risk, the server, could not enforce a check. Elicitation changes that.

What elicitation does: the server stops and asks

Elicitation lets an MCP server end a tool call with a question, then act on the answer.

For our staging copy, it looks like this:

Sequence of four steps between you, the AI app with its agent, and the MCP server: the agent calls create_env, the server asks "About $12 a day. Create it?" and ends the call, the app shows the form and you click Accept, then the app sends the same call with the yes and only then is the copy created.
No answer, no action: the yes travels with the same call.
  1. The agent calls create_env("login-fix").
  2. The server replies: "This staging copy costs about $12 a day. Create it?" The call ends there.
  3. The engineer clicks Accept in their AI app.
  4. The app sends the same call again, with the yes attached. Only then does the server create the copy.

No answer, no action. The check now travels with the tool, so it runs the same way in Claude, VS Code or any other app that supports it.

My view: the system that owns the risk should own the check. The platform team knows what a staging copy costs. The database vendor knows which SQL is destructive.

Already live: Supabase, GitHub and Railway

Anthropic named three servers using elicitation when it made the feature generally available in Claude on 24 November 2026. I checked each against the vendor's own docs or code.

  • Supabase shows the resource, the rate and the billing interval before it creates a paid project or branch. Declining creates nothing. It also asks before running SQL it judges destructive.
  • GitHub makes you type the exact owner/repo name before its MCP server deletes a repository. The approval expires after ten minutes. If the app cannot show a form, the delete tool is not offered at all.
  • Railway asks before destructive changes such as removing a service, per Anthropic. Railway's own docs do not say this yet.

GitHub's pattern is worth copying. Typing the name forces the person to read it.

Under the hood: two calls

The July 2026 spec made MCP stateless, so the server does not hold the call open while you think. It ends the first call with a question, and the app sends a second call with your answer. The spec calls this pattern Multi Round-Trip Requests.

Call 1 is the server's reply. It says "input required", carries one question under a key the server picks, and attaches its own state, signed.

{"jsonrpc": "2.0", "id": 1,
 "result": {
   "resultType": "input_required",
   "inputRequests": {
     "confirm_cost": {
       "method": "elicitation/create",
       "params": {
         "mode": "form",
         "message": "About $12/day. Create it?",
         "requestedSchema": {"type": "object",
           "properties": {"approve": {"type": "boolean"}},
           "required": ["approve"]}}}},
   "requestState": "eyJ...signed"}}

Call 2 is the app trying again. New request id, same tool, same arguments. Your answer comes back under the same key, and the state comes back unchanged.

{"jsonrpc": "2.0", "id": 2,
 "method": "tools/call",
 "params": {
   "name": "create_env",
   "arguments": {"name": "login-fix"},
   "inputResponses": {
     "confirm_cost": {"action": "accept",
       "content": {"approve": true}}},
   "requestState": "eyJ...signed"}}

The answer is one of three: accept, decline or cancel. On decline or cancel, nothing is created. On accept, the server finishes and replies with "resultType": "complete".

The spec treats that returned state as untrusted input. Sign it, tie it to the user, and give it a short expiry.

Illustrative and shortened, with _meta omitted. Shape follows the 2026-07-28 Elicitation and Multi Round-Trip Requests pages. Tool name, keys and the $12 cost are made up.

Elicitation has two modes. The choice comes down to one thing: who gets to see what you type.

Form mode Link mode (the spec says URL mode)
What you see A small form inside the AI app The server's own web page, in your browser
Where your answer goes Through the AI app, back to the server Straight to the server's page. The app sees only the link
Good for A yes, a choice, a cost check Passwords, API keys, payments, signing in to another service

The takeaway: secrets never touch the chat.

Two paths side by side. In form mode the answer passes through the AI app to the MCP server. In link mode the person types into the server's own page and the AI app sees only the link.
Form mode passes your answer through the app. Link mode goes around it.

A link request carries no secret at all. The app gets a URL and a message, nothing else.

"inputRequests": {
  "api_key": {
    "method": "elicitation/create",
    "params": {
      "mode": "url",
      "url": "https://mcp.example.com/ui/set_api_key",
      "message": "Add your API key there."}}}

On the retry, the answer is just {"action": "accept"}. In link mode, accept means "I agreed to open the page", not "done". The server checks that the work was finished when the call comes back.

Shortened. URL mode was added in the 2025-11-25 spec. The URL is made up.

The spec's three rules

The spec is strict about how this works.

  1. No secrets in a form. Ever. Passwords, API keys, tokens and card details must go by link.
  2. Show the full link, then ask. The app must show the whole URL, must not open it in the background, and must get your consent before opening it.
  3. Same person, same request. The server must check that whoever opens the link is the person it asked. Links can be forwarded, so this is the phishing guard.

When should the agent ask?

Not every call needs a yes. Ask on everything and people stop reading.

My rule of thumb: ask when an action costs money, cannot be undone, or sends data outside your walls. Never ask on reads.

A two by two grid. Free and easy to undo: do not ask. Costs money and easy to undo: ask once. Costs money and hard to undo: always ask and show the cost. Free but hard to undo: ask and make them type the name.
Ask only when it costs money, cannot be undone, or leaves your walls.

The bottom-right box is GitHub's pattern. The top-right box is our $12 staging copy.

The catch: a guardrail, not a guarantee

Supabase's docs carry the line every risk team should read: treat elicitations "as a guardrail, not a guarantee of human review or approval."

They mean it. Three things can answer for a person:

  • Rules and hooks in the app. Claude Code, for example, has hooks that can accept or decline an elicitation without showing the dialog. Useful for automation. Also a gap.
  • Settings on the server. Supabase's hosted server takes a skip_elicitations setting that picks which form confirmations to skip.
  • Apps that cannot show it. A server must not send a mode the app has not declared. If the app cannot ask, plan what happens. GitHub hides the delete tool. Supabase quotes the cost in chat instead.

So check how each AI app your people use is set up. Then log every answer, with the user and the time.

Who supports it today

Elicitation has been in the spec since 18 June 2025. Support in AI apps came later, and it changes monthly.

App Live since Notes
Claude 24 Nov 2026 Generally available on Pro, Max and Ultra. Team and Enterprise rolling out
Claude Code 14 Mar 2026 Form and link
GitHub Copilot CLI 3 Mar 2026 Form; link soon after
OpenAI Codex Dec 2025 Form and link
VS Code 9 Jul 2025 Form and link (VS Code 1.102)
ChatGPT ? Form, per OpenAI's docs. Link not stated
Google Antigravity ? Shown by a third-party probe only. Not in Google's docs

Checked 4 Dec 2026, newest first. "?" means no public date or vendor statement, not "no". Sources: Anthropic (24 Nov 2026), VS Code 1.102 release notes, OpenAI docs, and the mcpclients.dev client scorecard. Confidence: Medium. Test the apps your people use before you rely on this table.

What I would do this quarter

  1. List your risky tools. Sort every MCP tool your agents can call into the grid above. Most are reads. The few that spend, delete or leave your walls are your list.
  2. Gate those tools in the server. Add elicitation to each one, with a clear message and the real cost. Never fall back to a flag the model can set.
  3. Move every secret to a link. A form that asks for a password, token or card number breaks the spec. Treat it as a bug.
  4. Check which apps can answer for you. Review hooks, rules and server settings. Log accept, decline and cancel with the user and the time.

My take

My view: elicitation is the least flashy MCP feature of the year, and the one your risk team will care about most.

It moves the "are you sure?" out of the prompt, where nobody can audit it, and into the server that owns the risk. It is still not proof that a human read the screen. Treat it as a strong default, then log and audit it like any other control.

Governance moved from the prompt into the protocol.

For the full year of MCP changes, read What Is MCP in 2026?

Next in this series: Skills over MCP, where the server ships your company's playbook along with its tools.

Sources

We build MCP servers on the latest spec. Connect your AI agents to the systems you run: an agent calls an MCP server that reaches your CRM (Salesforce, HubSpot), ERP, SaaS apps and your own data. Talk to us.

Gating risky tools in your MCP servers?

Tell us which actions your agents can take. We reply within one business day.

Abhinav Gupta

1st Indian Salesforce MVP, rewarded 8 times in a row, has been blogging about Salesforce, Cloud, AI, & Web3 since 2011.

Founded India’s 1st Salesforce Dreamin event in India, called “Jaipur Dev Fest”. A seasoned speaker at Dreamforce, Dreamin events, & local meets. Author of many popular GitHub repos featured in official Salesforce blogs, newsletters, and books.

Previous
Previous

From one agent to ten: building a lean Agentforce CoE

Next
Next

What Is MCP in 2026? A Lot Has Changed