Add setting to auto-approve computer-use request_access prompt
Feature Request
Problem
When running Claude Code in a non-interactive environment (e.g., a tmux session with --dangerously-skip-permissions and --channels for a Telegram bot), the request_access prompt from the computer-use MCP blocks the entire session indefinitely. There is no way to pre-approve app access, so the bot hangs waiting for user input that will never come.
Current behavior
--dangerously-skip-permissionsbypasses all standard tool permissions ✅request_accessfrom computer-use still requires an interactive approval per session ❌- No setting in
settings.jsonorsettings.local.jsoncan skip this prompt - This makes computer-use completely unusable in any headless/unattended Claude Code setup
Proposed solution
Add a configuration option such as skipComputerUseApproval: true in settings.json or a CLI flag (e.g., --approve-computer-use) that pre-grants access to specified (or all) applications, removing the need for interactive confirmation.
Example config:
{
"computerUse": {
"autoApprove": true,
"allowedApps": ["Google Chrome", "Safari", "Finder"]
}
}
Use case
Running Claude Code as a 24/7 autonomous agent (via tmux + Telegram plugin) on a dedicated Mac mini. Computer-use is needed for native app automation, but the interactive prompt makes it unusable in headless/unattended mode.
Workaround
Currently forced to use Playwright MCP for web tasks only, losing the ability to interact with native macOS apps.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗