Commit cc1f068
committed
fix: Use real Sail path for PhpStorm MCP config
PhpStorm doesn't support symlinks in MCP configuration paths.
When useAbsolutePathForMcp is true (PhpStorm), use the real
Sail executable path instead of the symlink.
Changes:
- Detect when absolute paths are needed (PhpStorm/forceAbsolutePath)
- Use 'vendor/laravel/sail/bin/sail' for PhpStorm
- Keep './vendor/bin/sail' for other IDEs (Claude Code, Cursor, VS Code)
This fixes the MCP server startup issue reported by @MltStephane1 parent d894546 commit cc1f068
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments