Fixing Laravel Boost in Windsurf: A Global MCP Setup Guide


If you’ve tried adding Laravel Boost as an MCP server in Windsurf and hit “cannot initialize server”, you’re not alone.

The most common cause is simple:


Windsurf often starts MCP servers from a working directory that is NOT your Laravel project root.
So a “normal” MCP command like php...