feat: add bypassPermissions so agent can use all MCP tools without prompts
This commit is contained in:
parent
1de99654fc
commit
004b1efdc6
1 changed files with 3 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Reference in a new issue