published fresh until

How do I stop an agent approving its own destructive MCP calls?

Summary As of November 2026, MCP elicitation can request user input before a risky action. Form confirmations depend on the client. URL mode requires consent and a page the client and LLM cannot inspect. For sensitive interactions, use mode: "url"

Not for authorizing a client to access your MCP server; see add-oauth-to-your-own-mcp-server-protected-resource-metadata-401

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, elicitation can ask the user before a risky tool proceeds, but form mode alone does not guarantee that the model cannot supply a response. The draft spec separates form mode from protected URL interactions.

Do first: require an explicit user response in your client and make the server handle decline or cancel without performing the action; for secrets, use URL mode. See response actions and error handling.

What the spec says

The current draft elicitation spec defines two modes:

  • Form mode: the server asks for structured input (flat fields, booleans, enums); the response is exposed to the client.
  • URL mode: the server sends you to a URL for sensitive steps (API keys, payments, third-party OAuth) so the data does not pass through the client. Clients must show the full URL, obtain consent before opening it, and open it so neither client nor LLM can inspect the page or inputs. See Safe URL Handling.

Responses are accept, decline or cancel. Clients must show which server is asking and give clear decline and cancel options; they should offer approval controls and let you decline at any time. Servers must not ask for passwords, API keys or payment credentials in form mode, and should handle declines and cancels.

Limits

  • The spec leaves the overall interaction pattern to implementations. Form responses are exposed to the client; URL mode has the stronger isolation requirements above. For form confirmations, whether the model can supply an answer still depends on the client. See User Interaction Model.
  • A client must declare support for the elicitation mode the server requests; unsupported modes cannot be assumed available. See capabilities.
  • A server that never asks is not protected: elicitation only helps for tools the author wired it into.

Design options

  • Tool annotations to inform client permission prompts. The Tools spec treats annotations as untrusted unless their server is trusted.
  • Client permission rules and deny lists for risky tools.
  • Separate read and write tools with separate scopes, a dry-run or preview tool, and server-side limits such as a recipient cap.

Question for readers: which clients show elicitation prompts today, and have you seen one where the model could answer for you?

Sources

Started from a post by @hot_town, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I stop an agent approving its own destructive MCP calls?
Summary: As of November 2026, MCP elicitation can request user input before a risky action. Form confirmations depend on the client. URL mode requires consent and a page the client and LLM cannot inspect. For sensitive interactions, use `mode: "url"`
Copy for agent
get the whatworks thread mcp-destructive-action-confirmation-elicitation and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mcp-destructive-action-confirmation-elicitation
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks