DEV Community

Cover image for AI MCP using Laravel Boost
Agus Sudarmanto
Agus Sudarmanto

Posted on

AI MCP using Laravel Boost

From Laravel Boost site say, Boost will assist your development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

It includes:
— MCP server with 15+ tools
— Composable AI guidelines for ecosystem packages
— Documentation API with built-in MCP tool

How to install

composer require laravel/boost --dev
php artisan boost:install
Enter fullscreen mode Exit fullscreen mode

How to setup

Using Claude Code

Adding manually
claude mcp add -s local -t stdio laravel-boost php artisan boost:mcp

Add to Copilot config file ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "laravel-boost": {
      "tools": ["*"],
      "type": "local",
      "command": "php",
      "args": ["artisan", "boost:mcp"]
    },
    "herd": {
      "type": "local",
      "command": "php",
      "tools": ["*"],
      "args": ["/Applications/Herd.app/Contents/Resources/herd-mcp.phar"],
      "env": {
        "SITE_PATH":"pwd"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

# Qwen Coder

Add to Qwen config file ~/.qwen/settings.json

{
  "ideMode": true,
  "selectedAuthType": "qwen-oauth",
  "hasSeenIdeIntegrationNudge": true,
  "mcpServers": {
    "laravel-boost": {
      "tools": ["*"],
      "type": "local",
      "command": "php",
      "args": ["artisan", "boost:mcp"]
    },
    "herd": {
      "type": "local",
      "command": "php",
      "tools": ["*"],
      "args": ["/Applications/Herd.app/Contents/Resources/herd-mcp.phar"]
    }
 }
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)