Merge pull request #1697 from bompus/fix/claude-always-load
fix(mcp): keep codegraph_explore loaded in Claude Code and Copilot CLI
This commit is contained in:
@@ -508,12 +508,15 @@ npm install -g @colbymchenry/codegraph
|
||||
"codegraph": {
|
||||
"type": "stdio",
|
||||
"command": "codegraph",
|
||||
"args": ["serve", "--mcp"]
|
||||
"args": ["serve", "--mcp"],
|
||||
"alwaysLoad": true
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`alwaysLoad` keeps `codegraph_explore` loaded from the first prompt. Claude Code otherwise defers every MCP tool behind a tool-search step, so a fresh session sees only the tool's name until the model searches for it.
|
||||
|
||||
**Add to `~/.claude/settings.json` (optional, for auto-allow):**
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user