# boost **Repository Path**: mirrors_laravel/boost ## Basic Information - **Project Name**: boost - **Description**: Laravel-focused MCP server for augmenting your AI powered local development experience. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-14 - **Last Updated**: 2025-10-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Boost Logo Dark Mode Boost Logo Dark Mode

Build Status Total Downloads Latest Stable Version License

## Introduction Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code. At its foundation, Laravel Boost is an MCP server equipped with over 15 specialized tools designed to streamline AI-assisted coding workflows. The package includes composable AI guidelines specifically crafted for Laravel ecosystem packages, ensuring consistent and framework-appropriate code generation. Boost also features a powerful Documentation API that combines a built-in MCP tool with an extensive knowledge base containing over 17,000 pieces of Laravel-specific information, all enhanced by semantic search capabilities using embeddings for precise, context-aware results. > [!IMPORTANT] > Laravel Boost is currently in beta and receives frequent updates as we refine features and expand capabilities. ## Installation Laravel Boost can be installed via Composer: ```bash composer require laravel/boost --dev ``` Next, install the MCP server and coding guidelines: ```bash php artisan boost:install ``` Once Laravel Boost has been installed, you're ready to start coding with Cursor, Claude Code, or your AI agent of choice. ### Setup Your Code Editors #### PhpStorm 1. Press `shift` twice to open the command palette 2. Search "MCP Settings" and press `enter` 3. Check the box next to `laravel-boost` 4. Click "Apply" at the bottom right #### VS Code 1. Open the command palette (`Cmd+Shift+P` or `Ctrl+Shift+P`) 2. Press `enter` on "MCP: List Servers" 3. Arrow to `laravel-boost` and press `enter` 4. Choose "Start server" #### Cursor 1. Open the command palette (`Cmd+Shift+P` or `Ctrl+Shift+P`) 2. Press `enter` on "/open MCP Settings" 3. Turn the toggle on for `laravel-boost` #### Claude Code 1. Claude support is typically enabled automatically, but if you find it isn't 2. Open a shell in the project's directory 3. Run `claude mcp add -s local -t stdio laravel-boost php artisan boost:mcp` ## Available MCP Tools | Name | Notes | | -------------------------- |----------------------------------------------------------------------------------------------------------------| | Application Info | Read PHP & Laravel versions, database engine, list of ecosystem packages with versions, and Eloquent models | | Browser Logs | Read logs and errors from the browser | | Database Connections | Inspect available database connections, including the default connection | | Database Query | Execute a query against the database | | Database Schema | Read the database schema | | Get Absolute URL | Convert relative path URIs to absolute so agents generate valid URLs | | Get Config | Get a value from the configuration files using "dot" notation | | Last Error | Read the last error from the application's log files | | List Artisan Commands | Inspect the available Artisan commands | | List Available Config Keys | Inspect the available configuration keys | | List Available Env Vars | Inspect the available environment variable keys | | List Routes | Inspect the application's routes | | Read Log Entries | Read the last N log entries | | Report Feedback | Share Boost & Laravel AI feedback with the team, just say "give Boost feedback: x, y, and z" | | Search Docs | Query the Laravel hosted documentation API service to retrieve documentation based on installed packages | | Tinker | Execute arbitrary code within the context of the application | ## Available AI Guidelines Laravel Boost includes AI guidelines for the following packages and frameworks. The `core` guidelines provide generic, generalized advice to the AI for the given package that is applicable across all versions. | Package | Versions Supported | |---------|-------------------| | Core & Boost | core | | Laravel Framework | core, 10.x, 11.x, 12.x | | Livewire | core, 2.x, 3.x | | Filament | core, 4.x | | Flux UI | core, free, pro | | Herd | core | | Inertia Laravel | core, 1.x, 2.x | | Inertia React | core, 1.x, 2.x | | Inertia Vue | core, 1.x, 2.x | | Pest | core, 4.x | | PHPUnit | core | | Pint | core | | Tailwind CSS | core, 3.x, 4.x | | Livewire Volt | core | | Laravel Folio | core | | Enforce Tests | conditional | ### Keeping Guidelines Up-to-Date You may want to periodically update your local AI guidelines to ensure they reflect the latest versions of the Laravel ecosystem packages you have installed. To do so, you can use the `boost:update` Artisan command. ```bash php artisan boost:update ``` You may also automate this process by adding it to your Composer "post-update-cmd" scripts: ```json { "scripts": { "post-update-cmd": [ "@php artisan boost:update --ansi" ] } } ``` ## Available Documentation | Package | Versions Supported | |---------|-------------------| | Laravel Framework | 10.x, 11.x, 12.x | | Filament | 2.x, 3.x, 4.x | | Flux UI | 2.x Free, 2.x Pro | | Inertia | 1.x, 2.x | | Livewire | 1.x, 2.x, 3.x | | Nova | 4.x, 5.x | | Pest | 3.x, 4.x | | Tailwind CSS | 3.x, 4.x | ## Adding Custom AI Guidelines To augment Laravel Boost with your own custom AI guidelines, add `.blade.php` files to your application's `.ai/guidelines/*` directory. These files will automatically be included with Laravel Boost's guidelines when you run `boost:install`. ### Overriding Boost AI Guidelines You can override Boost's built-in AI guidelines by creating your own custom guidelines with matching file paths. When you create a custom guideline that matches an existing Boost guideline path, Boost will use your custom version instead of the built-in one. For example, to override Boost's "Inertia React v2 Form Guidance" guidelines, create a file at `.ai/guidelines/inertia-react/2/forms.blade.php`. When you run `boost:install`, Boost will include your custom guideline instead of the default one. ## Third-Party Package AI Guidelines If you maintain a third-party package and would like Boost to include AI guidelines for it, you can do so by adding a `resources/boost/guidelines/core.blade.php` file to your package. When users of your package run `php artisan boost:install`, Boost will automatically load your guidelines. AI guidelines should provide a short overview of what your package does, outline any required file structure or conventions, and explain how to create or use its main features (with example commands or code snippets). Keep them concise, actionable, and focused on best practices so AI can generate correct code for your users. Here is an example: ```php ## Package Name This package provides [brief description of functionality]. ### Features - Feature 1: [clear & short description]. - Feature 2: [clear & short description]. Example usage: @verbatim $result = PackageName::featureTwo($param1, $param2); @endverbatim ``` ## Manually Registering the Boost MCP Server Sometimes you may need to manually register the Laravel Boost MCP server with your editor of choice. You should register the MCP server using the following details:
Commandphp
Argsartisan boost:mcp
JSON Example: ```json { "mcpServers": { "laravel-boost": { "command": "php", "args": ["artisan", "boost:mcp"] } } } ``` ## Contributing Thank you for considering contributing to Boost! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities Please review [our security policy](https://github.com/laravel/boost/security/policy) on how to report security vulnerabilities. ## License Laravel Boost is open-sourced software licensed under the [MIT license](LICENSE.md).