feat: add bypassPermissions so agent can use all MCP tools without prompts

This commit is contained in:
Zac Gaetano 2026-04-05 12:17:28 -04:00
parent 1de99654fc
commit 004b1efdc6

View file

@ -252,11 +252,14 @@ class ClaudeProcessManager:
env = os.environ.copy()
# Build command: interactive claude with stream-json I/O
# --permission-mode bypassPermissions allows the agent to use all tools
# (Bash, file ops, MCP servers) without interactive confirmation prompts
cmd = [
"claude",
"--output-format", "stream-json",
"--input-format", "stream-json",
"--verbose",
"--permission-mode", "bypassPermissions",
]
try: