Skip to content

Laravel Boost Documentation #175

@danpastori

Description

@danpastori

Current Behavior

RIght now, if you follow the guidelines to install Laravel Boost (https://laravel.com/ai/boost#installation-guide) to set up an MCP server for your AI tools, it can't find the server. This is because PHP is running within Docker.

Expected Behavior

We need to show in the documentation, how to set up your MCP rules to activate Laravel boost in an app using Spin.

Steps To Reproduce

  1. Try to install Laravel Boost using the instructions here: https://laravel.com/ai/boost#installation-guide
  2. When enabling, the server won't be found.

Environment

All apps with Spin.

Anything else?

Here's what we need for Cursor:

{
    "mcpServers": {
        "laravel-boost": {
            "command": "spin",
            "args": ["exec", "-T", "php", "php", "artisan", "boost:mcp"],
            "cwd": "{YOUR_APP_DIRECTORY}"
        }
    }
}

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