From 57e2b4e94d4593afe19dab22cae047ea50497c85 Mon Sep 17 00:00:00 2001 From: Clawd Date: Sun, 1 Mar 2026 10:00:40 -0800 Subject: fix(mcp): auto-allow MCP tools in research phase MCP tools require permission by default. Add mcp__* to allowedTools when MCPs are configured and we're in research phase, since that's where external data sources are most useful. --- src/main/claude/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/claude/index.ts b/src/main/claude/index.ts index d576c15..ef4050e 100644 --- a/src/main/claude/index.ts +++ b/src/main/claude/index.ts @@ -79,6 +79,10 @@ export async function sendMessage({ ...(session.phase === "implement" && { allowedTools: ["Bash(git status*)", "Bash(git log*)", "Bash(git diff*)"], }), + // Auto-allow MCP tools in research phase (where external data is most useful) + ...(session.phase === "research" && mcpServers && { + allowedTools: ["mcp__*"], + }), }, }); -- cgit v1.2.3