From 004b1efdc6ae2813463328b02adcb5cfef727c97 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Sun, 5 Apr 2026 12:17:28 -0400 Subject: [PATCH] feat: add bypassPermissions so agent can use all MCP tools without prompts --- backend/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/main.py b/backend/main.py index d594ce6..ecc1a17 100644 --- a/backend/main.py +++ b/backend/main.py @@ -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: