Laravel MCP Companion — Claude Code MCP server setup
Indexes multi-version Laravel manuals, ecosystem tools, and popular packages for AI assistants. Helps developers look up official framework guides straight from the terminal.
claude mcp add laravel-mcp-companion -- docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v0.13.0What Laravel MCP Companion does
This server organizes documentation from across the Laravel ecosystem into a single accessible interface. It covers core framework releases from version 6.x onward, first-party platforms like Forge, Vapor, Nova, and Envoyer, as well as community staples like Livewire, Inertia, and Filament. An intent-based query helper points users to suitable guides based on the problem they describe.
All reference files reside directly inside the Docker image. Responses rely on the TOON schema to reduce token overhead during assistant chats. Startup flags let you lock the manual to a designated release via --version or run in HTTP mode with bearer token verification.
You must have Docker installed and running on your system to operate this server. It functions purely as an external manual and will not inspect your local repository files.
What it helps with
- look up guides for legacy or modern Laravel framework releases
- configure deployment workflows on platforms like Forge, Vapor, or Envoyer
- verify compatibility between packages like Spatie, Livewire, and Filament
- follow topic-specific tutorials structured by developer experience level
Example prompts for the agent
- Look up the Laravel 11 documentation on configuring queue workers.
- Show deployment settings for server provisioning in Laravel Forge.
- Which Spatie package manages user permissions inside a Filament panel?
How to install Laravel MCP Companion
Platform CLI
claude mcp add laravel-mcp-companion -- docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v0.13.0Platform CLI
codex mcp add laravel-mcp-companion -- docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v0.13.0Config file
{
"mcpServers": {
"laravel-mcp-companion": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/brianirish/laravel-mcp-companion:v0.13.0"
]
}
}
}Config file
{
"servers": {
"laravel-mcp-companion": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/brianirish/laravel-mcp-companion:v0.13.0"
]
}
}
}Platform CLI
gemini mcp add laravel-mcp-companion docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v0.13.0Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Laravel MCP Companion
How to install Laravel MCP Companion in Claude Code?
Run claude mcp add laravel-mcp-companion -- docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v0.13.0. Docker must be running on your system.
How does this tool differ from Laravel Boost?
Companion acts as a multi-version documentation reference and curriculum indexer. It does not inspect local codebases or generate code tailored to your repository.
Can I lock queries to a specific Laravel release?
Yes. Append --version with your target release, such as --version 11.x, directly to the Docker command.