Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions config/boost.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
declare(strict_types=1);

return [
/*
|--------------------------------------------------------------------------
| Boost PHP Binary
|--------------------------------------------------------------------------
|
| This is useful if you want to expose the MCP server via HTTP
| because you still need the CLI version of PHP to run certain
| Boost commands such as log readers.
*/
'php_binary' => env('BOOST_PHP_BINARY', PHP_BINARY),

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/Mcp/ToolExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected function reconstructResponse(array $data): Response
protected function buildCommand(string $toolClass, array $arguments): array
{
return [
PHP_BINARY,
config('boost.php_binary', PHP_BINARY),
base_path('artisan'),
'boost:execute-tool',
$toolClass,
Expand Down