Laravel Boost MCP
Laravel's official MCP server, guidelines and skills: the agent sees the DB schema, logs and package versions and searches ecosystem docs
- 3,669 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Runs SQL queries against the application database
- Reads project logs and files
Install
- Works in
Manual install
composer require laravel/boost --dev
php artisan boost:installThe installer asks which agents to generate configuration for.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Runs SQL queries against the application database
- Reads project logs and files
This is third-party code. Review the repository files before installing.
What it does
Boost installs into a Laravel project as a dev dependency and runs a local MCP server through artisan. The agent gets tools to read PHP and package versions, Eloquent models, the database schema and connections, application and browser logs, and can run database queries. The install command generates guidelines and skills for packages found in composer.json: Livewire, Inertia, Pest, Tailwind and others. The search tool calls Laravel's hosted documentation API, taking installed versions into account. There are also project rules in .ai/rules that the agent records itself and that live in git for the whole team.
Who it is for. For PHP developers building Laravel apps with Claude Code, Cursor, Codex and other agents.
Good fit when
- The agent writes outdated or non-idiomatic Laravel code
- You want the agent to see the real database schema and recent log errors
- You want to lock in project conventions so you don't repeat them every session
Not a fit when
- The project is not built on Laravel
- The agent must not access a database holding production data
Example request
Check the last error in the logs and the orders table schema, then fix the controllerMCP
- Transport
- stdio
- Authentication
- not required
Environment variables
BOOST_RULES_ENABLED- false disables project rules and the record-rule tool
Limitations
Works only inside a Laravel application; the server runs through php artisan. Documentation search calls Laravel's hosted service, the other tools are local. The database query tool runs SQL, so point it at a dev database.
How to disable. Remove the laravel-boost server from the agent's MCP settings and run composer remove laravel/boost. Delete generated files such as .mcp.json, boost.json and guideline files by hand. Project rules are disabled with BOOST_RULES_ENABLED=false.
FAQ
How do guidelines differ from skills?
Guidelines are loaded into context when the agent starts; skills load only for a specific task, such as writing Pest tests.
How do I refresh guidelines after updating packages?
Run php artisan boost:update; with --discover Boost also picks up newly installed packages.
Discussion
No questions or reviews yet.
Related
MCP serversA Laravel and Lumen package that adds an MCP endpoint to your app's routes and attaches your own tools to it
Laravel MCP
laravel-mcp
The official Laravel package for building MCP servers inside an application: AI clients work with your Laravel project through MCP
Laravel Agent Skills
laravel-agent-skills
Laravel's official skill collection for Claude Code and Cursor: plugins for Laravel, Laravel Cloud and Nightwatch
Laravel API Architecture Skill
Laravel API Production-Ready Architecture Skill
A skill that keeps an agent within a layered Laravel API architecture: JSON:API v1.1, strict types, PHPStan level 8 and tests
The official Tencent CloudBase kit for coding agents: a plugin installs the stack, skills set the rules, MCP runs the backend
Apollo's MCP server: turns chosen GraphQL operations into tools the agent uses to work with your API
README in short
The repository README is short and points to the documentation on laravel.com. The docs cover installation via Composer and artisan, setup for Cursor, Claude Code, Codex, Gemini CLI, Copilot and Junie, the list of MCP tools and manual server registration. Separate sections cover guidelines, skills, project rules and the documentation API. MIT licensed.