Certainly! Here’s how you can manually configure Laravel Boost as an MCP server for Google Antigravity (Claude Opus 4.6 / Gemini Pro 3) on Laravel 12:
Step-by-step Solution
-
Run Boost MCP Server
First, start the Boost MCP server in your Laravel project directory:
php artisan boost:mcpBy default, this will start the server on
http://127.0.0.1:8989. Take note of the host and port. -
Configure Antigravity to Point to Boost MCP
In your Google Antigravity dashboard or agent configuration (location may vary depending on your installation), manually add a custom MCP provider. Here’s what you’ll need:
-
MCP Server URL:
http://127.0.0.1:8989 -
MCP Protocol:
SelectBoost MCP(if available), or useCustomif you must specify headers or protocol manually. -
Authentication:
By default, Boost MCP on Laravel does not require a secret key, but if you enabled one in your config (config/boost.php), add it here.
Example config for an
.env-like settings block in Antigravity:MCP_PROVIDER=custom MCP_URL=http://127.0.0.1:8989 MCP_AUTH_KEY= -
-
Enable Project Context Recognition in Antigravity
Antigravity agents (like Claude Opus) usually have a "context provider" or "project bridge" setting. Point it to the same URL as above. Verify the agents can discover your composer packages and migrations via the MCP endpoint.
If necessary, restart or reload your agents:
antigravity agent:reload -
Test the Integration
- Ask your Antigravity agent a question about your Laravel project (e.g., "What queues are set up in this project?").
- If properly configured, the agent will use the Boost MCP server for access to project context.
Troubleshooting Tips:
- Port Conflicts: Make sure port
8989is open and not blocked by a firewall. - CORS Issues: If you run Antigravity remotely, set
boost.mcp.allowed_originsinconfig/boost.php. - Agent Logs: Check Antigravity logs for any errors connecting to the MCP server.
Summary: You manually point Google Antigravity to your local Boost MCP server by setting the endpoint URL. This lets your agents fetch project context even though detection isn’t automatic yet.
Let me know if you need a sample config file or have issues with a specific agent!