Approval and elicitation modes
Control where Executor asks for tool approvals and user input using elicitation_mode: automatic, model, native, or browser.
When an app’s tool requires approval before running—or asks for user input mid-call—Executor’s approval mode (elicitation_mode) decides where that prompt appears: Automatic (automatic), Through your agent (model), In your browser (browser), or In your client (native). You choose the mode when authorizing an MCP client on /mcp/authorize, or pass ?elicitation_mode=<mode> to preselect it on the consent screen.
- Available on: Local, Self-host, and Cloud.
- Prerequisites: An MCP client connected to
/mcp, or a personal access token / local server API key. - Main URL parameter:
https://mcp.executor.sh/mcp?elicitation_mode=browser
You’ll know it worked when triggering a tool with an approval rule behaves according to the chosen mode (auto-runs in automatic, returns an approvalUrl in browser, prompts through the agent in model, or opens a client form in native).
The four modes
Mode (elicitation_mode) |
Sign-in screen label | Where you answer | resume tool exposed? |
|---|---|---|---|
automatic |
Automatic | Nowhere for tool approvals: Executor approves tool calls immediately and relies on your agent’s own permission prompt for call/execute. Input requests from a running tool still go to the agent, as in model mode. |
Yes |
model |
Through your agent | Your agent displays the request to you and calls resume with your decision or answers. |
Yes |
browser |
In your browser | You open the returned approvalUrl on a signed-in Executor page (Review tool request or Input requested), click Approve / Submit, Decline, or Cancel, and your agent calls resume({ requestId }). |
Yes |
native |
In your client | Your MCP client prompts you directly via MCP form elicitation while the call or execute request stays open. call is marked destructive and open-world so the client’s tool confirmation satisfies approval rules. |
No |
Use browser mode when you do not want the agent itself to hold or relay the approval decision—only a signed-in user in the browser can approve or decline the saved call.
How defaults and grant locking work
The default mode depends on how the client authenticates:
- OAuth sign-in (
/mcp/authorize): The plain/mcpURL preselects Automatic (automatic) on the consent screen. Adding?elicitation_mode=browseror?elicitation_mode=nativepreselects that option. To usemodelover OAuth, select Through your agent on the consent screen. Once you approve the client, the grant stores the mode permanently. Changing?elicitation_mode=on later requests never weakens or changes the mode. - Personal access tokens (Cloud and Self-host): PATs have no OAuth grant, so Executor reads
?elicitation_mode=on every request and defaults toautomaticat the plain/mcpURL. - Local server API key (Local): When calling
http://127.0.0.1:4312/mcpdirectly with the local administrative bearer key, Executor reads?elicitation_mode=on every request and defaults tomodel.
Choosing and changing a mode
Cloud and Self-host (OAuth)
- Point your MCP client at the endpoint URL with your preferred preselected mode, for example
https://mcp.executor.sh/mcp?elicitation_mode=browser(Cloud) or<your origin>/mcp?elicitation_mode=browser(Self-host). - On the
/mcp/authorizeconsent page, confirm the Approvals choice (Automatic, Through your agent, In your browser, or In your client) and approve the connection. - To change the mode later, revoke the client under Connected agents on the Connections page (or disconnect it in your client) and sign in again with the new mode.
You’ll know it worked when GET /mcp/whoami with the client’s bearer token reports your chosen mode, or when executor whoami prints it after executor login.
Local
- Start Executor locally and point your MCP client at
http://127.0.0.1:4312/mcp?elicitation_mode=browser(or another mode). - On the local browser consent page, pick your Approvals mode and approve the client.
- For a shell session, run
executor login --host http://127.0.0.1:4312or call the local server with the local API key and?elicitation_mode=<mode>.
You’ll know it worked when running a tool that requires approval opens the matching prompt (for example, a browser review link in browser mode).
Answering a browser approval
When a tool pauses in browser mode:
- Executor returns
requestIdandapprovalUrlto the agent. - Open
approvalUrlin a browser signed in to the same Executor server and organization. - Review the app, tool, account, and input on the Review tool request (or Input requested) page, then click Approve (or Submit), Decline, or Cancel.
- The agent calls
resume({ requestId })to collect the completed result, denial, or cancellation.
You’ll know it worked when the browser page confirms the decision and the agent’s resume call returns the tool’s output.
Example
Configure Claude Code against Executor Cloud with browser approvals preselected:
claude mcp add --transport http executor "https://mcp.executor.sh/mcp?elicitation_mode=browser"
When a mutation pauses in browser mode from the CLI, resume it after approving in your browser:
executor resume apr_...
Limits
- 15-minute approval window: Saved browser approval requests expire after 15 minutes (
900,000ms). An expired request cannot be resumed; run the call again. - Context-change protection: If the app’s active version or linked accounts change between pause and approval, Executor refuses to resume the saved call (
context-changed) so you never approve stale behavior. nativemode client requirement:nativemode requires an MCP client that supports MCP form elicitation. Clients without form elicitation should usebrowser,model, orautomatic.- Input requests in
automaticmode:automaticauto-approves tool approval policies only; if a running tool explicitly asks the user for input, that question still goes through the agent as inmodelmode. - No approval memory: Executor does not yet remember past approvals across separate calls.