You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Laravel Boost’s MCP server in PhpStorm with WSL, the default mcp.json configuration fails because PhpStorm’s MCP server settings try to execute the command value directly, instead of resolving it via the configured PHP interpreter. This results in an error like:
Cannot run program "\usr\bin\php8.4": CreateProcess error=2, The system cannot find the file specified
This happens because WSL paths and executables (/usr/bin/php8.4) aren’t valid for direct execution on Windows, and PhpStorm doesn’t automatically wrap them with WSL context.
I believe it's the case for other IDEs as well
Steps To Reproduce
open a laravel project on WSL using a windows Phpstorm and try to add the mcp in mcp server settings.