Skip to content

Commit dd46903

Browse files
dguidoclaude
andauthored
chore: optimize Serena MCP configuration (#2949)
- Disable redundant tools (onboarding, list_dir, find_file) that overlap with Claude Code's built-in capabilities or CLAUDE.md - Add initial_prompt directing to CLAUDE.md for project context - Add more ignore patterns (.idea, .vscode, .worktrees, docs/_build) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent db2cf2a commit dd46903

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.serena/project.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ ignore:
2525
- "crytic-export"
2626
- "test_artifacts"
2727
- "tests/e2e/**/snapshots"
28+
- ".idea"
29+
- ".vscode"
30+
- ".worktrees"
31+
- "docs/_build"
2832

2933
# Allow Serena to make edits (vs read-only mode)
3034
allow_write: true
35+
36+
# Disable tools that are redundant with Claude Code or not needed
37+
excluded_tools:
38+
- onboarding # CLAUDE.md provides better project context
39+
- check_onboarding_performed
40+
- list_dir # Redundant with Claude Code's Bash/Glob
41+
- find_file # Redundant with Claude Code's Glob
42+
43+
# Prompt shown when project is activated
44+
initial_prompt: |
45+
This project has a comprehensive CLAUDE.md with architecture, code standards,
46+
and Slither-specific patterns. Refer to it for project context rather than
47+
using onboarding or memories.

0 commit comments

Comments
 (0)