Skip to content

Command reference

--permission-prompt-tool<tool>

Names an MCP tool that answers permission prompts when nobody is at the terminal.

FlagsPermissions and securitycurrent

What the documentation does not say

Claude Code waits for that tool's server to connect before the first turn, up to MCP_TIMEOUT, 30 seconds by default. It cannot approve an MCP tool marked as requiring user interaction: an allow for one of those is turned into a deny, from v2.1.199.

Arguments
<tool>