Adding Laravel Boost MCP to Antigravity
Laravel Boost is awesome as it makes your new projects AI-ready from the start, but the laravel-boost MCP wasn't working in Antigravity from the start. It worked in Cursor, but not in Antigravity initially... but I have finally found the fix for it.
First, here's what worked for me (I'm on macOS):
{
"mcpServers": {
"laravel-boost": {
"command": "/Users/deepak/.config/herd-lite/bin/php",
"args": [
"/Users/deepak/Documents/laravel-test/artisan",
"boost:mcp"
]
}
}
}
For your information, deepak is my laptop's username, and I was working in the /Documents/laravel-test folder at the time.
Please note that I installed Laravel on my device using CLI by following the steps explained on the official installation documentation page. First, installed PDF using
/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.4)"command and then Laravel usingcomposer global require laravel/installercommand.
But if you have installed PHP using Homebrew, then the command inside the above MCP JSON would be probably something like /opt/homebrew/opt/php@8.4/bin/php and then it should work.
I got some ideas for getting the MCP working from this discussion, but it didn't work directly and I still had to try a bunch of different things.
- ← Previous
Claude Code skills for Obsidian
Comment via email