feat(scripts): merge-mcp.sh — preserves laravel-boost, replaces brain-managed MCP
Uses jq --slurpfile pattern (NOT broken `.[1].mcpServers` form from plan):
jq --slurpfile brain "$brain_mcp" \
'.mcpServers = ((.mcpServers // {}) + $brain[0].mcpServers)' "$target"
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/anthropics/claude-code/main/schemas/mcp.json",
|
||||
"mcpServers": {
|
||||
"laravel-boost": {
|
||||
"command": "php",
|
||||
"args": ["app/artisan", "boost:mcp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user