Laravel MCP Server

Model Context Protocol (MCP) server for accessing and searching Laravel 12 documentation. Enables AI assistants and tools to query Laravel docs

Local serverstdioPython

What is the Laravel MCP server?

Model Context Protocol (MCP) server for accessing and searching Laravel 12 documentation. Enables AI assistants and tools to query Laravel docs through a standardized interface. The laravel mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

What it actually does

Listed in the official MCP Registry as io.github.brianirish/laravel-mcp-companion — clients with registry support can install it from there directly. Manual setup:

Its toolset

Everything the assistant can do here goes through one of these:

  • Multi — version Laravel documentation** (6.x through latest) with enhanced search
  • Auto — discovery Laravel services** - Forge, Vapor, Envoyer, Nova (117+ sections)
  • Cross — package compatibility** - Learn which packages work well together
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Section — level reads** - Fetch just the section you need. A whole
  • Task — capable updates** - Documentation updates run as MCP tasks: submit,
  • Elicitation — Interactive choices where they help, with plain listings
  • v1.0.0 — First stable release — API freeze, breaking-change policy,
  • AI-friendly — Designed specifically for LLM context windows
  • FeatureLaravel Boost
  • Focus — Code generation

Configuration

  • Python 3.12+ - Node.js 18+ (for MCP Inspector)

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at @modelcontextprotocol/inspector on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Laravel's toolset — Multi, Auto, Cross and 11 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Laravel.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the laravel mcp server does with a few real requests.

Available tools

ToolWhat it does
Multiversion Laravel documentation** (6.x through latest) with enhanced search
Autodiscovery Laravel services** - Forge, Vapor, Envoyer, Nova (117+ sections)
Crosspackage compatibility** - Learn which packages work well together
Windows%APPDATA%\Claude\claude_desktop_config.json
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Sectionlevel reads** - Fetch just the section you need. A whole
Taskcapable updates** - Documentation updates run as MCP tasks: submit,
ElicitationInteractive choices where they help, with plain listings
v1.0.0First stable release — API freeze, breaking-change policy,
AI-friendlyDesigned specifically for LLM context windows
Feature[Laravel Boost](https://github.com/laravel/boost)
FocusCode generation
QualityThe Quality tool exposed by this server.
UpcomingFor detailed roadmap information, see [ROADMAP.md](ROADMAP.md).

How to install the Laravel MCP server

{
     "mcpServers": {
       "laravel-mcp-companion": {
         "command": "docker",
         "args": ["run", "--rm", "-i", "ghcr.io/brianirish/laravel-mcp-companion:latest"]
       }
     }
   }

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.12+ - Node.js 18+ (for MCP Inspector)

Example prompts to try

  • Use Laravel to Multi.
  • Use Laravel to Auto.
  • Use Laravel to Cross.

Frequently asked questions

It connects Laravel to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Multi, Auto, Cross, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Laravel directly.