Skip to content

MCP Server failed to install #80

@bretterer

Description

@bretterer

Laravel Package Version

1.0.6

Laravel Version

12.22.1

PHP Version

8.3.24

Database Driver & Version

No response

Description

php artisan boost:install 

 ██████╗   ██████╗   ██████╗  ███████╗ ████████╗
 ██╔══██╗ ██╔═══██╗ ██╔═══██╗ ██╔════╝ ╚══██╔══╝
 ██████╔╝ ██║   ██║ ██║   ██║ ███████╗    ██║
 ██╔══██╗ ██║   ██║ ██║   ██║ ╚════██║    ██║
 ██████╔╝ ╚██████╔╝ ╚██████╔╝ ███████║    ██║
 ╚═════╝   ╚═════╝   ╚═════╝  ╚══════╝    ╚═╝

  ✦ Laravel Boost :: Install :: We Must Ship ✦ 

 Let's give collabconnect a Boost

 ┌ Which code editors do you use to work on collabconnect? ┐
 │ Claude Code                                             │
 │ Cursor                                                  │
 │ VS Code                                                 │
 └─────────────────────────────────────────────────────────┘

 ┌ Which agents need AI guidelines for collabconnect? ─────┐
 │ Claude Code                                             │
 │ Cursor                                                  │
 └─────────────────────────────────────────────────────────┘


 Adding 13 guidelines to your selected agents
 ╭────────────────────┬────────────────────╮
 │ boost              │ fluxui-free/core   │
 ├────────────────────┼────────────────────┤
 │ fluxui-pro/core    │ herd               │
 ├────────────────────┼────────────────────┤
 │ laravel/core       │ laravel/v12        │
 ├────────────────────┼────────────────────┤
 │ livewire/core      │ livewire/v3        │
 ├────────────────────┼────────────────────┤
 │ pint/core          │ tailwindcss/core   │
 ├────────────────────┼────────────────────┤
 │ tailwindcss/v4     │ tests              │
 ├────────────────────┼────────────────────┤
 │ volt/core          │                    │
 ╰────────────────────┴────────────────────╯

  Claude Code... ✓
  Cursor     ... ✓


 Installing MCP servers to your selected IDEs

  Claude Code... ✗ Boost
  Cursor     ... ✓ Boost
  VS Code    ... ✓ Boost

✗ Some MCP servers failed to install:
  - Claude Code (boost): Failed to write configuration

   ValueError 

  str_repeat(): Argument #2 ($times) must be greater than or equal to 0

  at vendor/laravel/boost/src/Console/InstallCommand.php:184
    180▕ 
    181▕         $text = 'Enjoy the boost 🚀 Next steps: ';
    182▕         $paddingLength = (int) (floor(($this->terminal->cols() - mb_strlen($text.$label)) / 2)) - 2;
    183▕ 
  ➜ 184▕         echo "\033[42m\033[2K".str_repeat(' ', $paddingLength); // Make the entire line have a green background
    185▕         echo $this->black($this->bold($text.$link)).$this->reset(PHP_EOL).$this->reset(PHP_EOL);
    186▕     }
    187▕ 
    188▕     private function hyperlink(string $label, string $url): string

      +15 vendor frames 

  16  artisan:16
      Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))

Steps To Reproduce

Install boost composer require laravel/boost --dev

run php artisan boost:install select claude code, cursor, vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions