From c3ca55eedfa61f4f8a9f4c1a048e587856a155d5 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Mon, 17 Nov 2025 13:12:52 +0100 Subject: [PATCH] mcp Serena: auto approving commands --- .claude/settings.local.json | 13 +++++++++++-- .mcp.json | 8 +++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index b290255..4cf079b 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,8 +1,17 @@ { + "permissions": { + "allow": [ + "mcp__serena__read_file", + "mcp__serena__search_for_pattern", + "mcp__serena__find_file", + "mcp__serena__list_dir", + "mcp__serena__think_about_collected_information" + ] + }, + "enableAllProjectMcpServers": true, "enabledMcpjsonServers": [ "serena", "context7", "git" - ], - "enableAllProjectMcpServers": true + ] } diff --git a/.mcp.json b/.mcp.json index dbd1a2a..741c7d8 100644 --- a/.mcp.json +++ b/.mcp.json @@ -15,7 +15,13 @@ "--enable-web-dashboard", "false" ], "autoApprove": { - "commands": ["*"] + "commands": [ + "search_for_pattern", + "read_file", + "find_file", + "list_dir", + "think_about_collected_information" + ] } }, "context7": {