c37fd3c9e2
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>
10 lines
217 B
JSON
10 lines
217 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/anthropics/claude-code/main/schemas/mcp.json",
|
|
"mcpServers": {
|
|
"laravel-boost": {
|
|
"command": "php",
|
|
"args": ["app/artisan", "boost:mcp"]
|
|
}
|
|
}
|
|
}
|