
Set up Laravel Boost as an MCP server inside DDEV, with a WSL configuration for Windows users.
Ahnii!
Laravel Boost is an official MCP server that gives AI coding agents deep context about your Laravel application — routes, schema, logs, config, and more. If you develop with DDEV, Boost runs inside the container, and your editor just needs to know how to reach it.
This post covers the standard DDEV setup and the extra step needed for WSL.
From your project root:
ddev composer require laravel/boost --dev
ddev artisan boost:install
The install command generates guideline and skill files for your chosen AI agent. You can add these generated files to .gitignore since boost:install recreates them.
Create a .mcp.json in your project root:
{
"mcpServers": {
"laravel-boost": {
"command": "ddev",
"args": [
"artisan",
"boost:mcp"
]
}
}
}
That's it. DDEV provides ddev artisan as a shorthand for ddev exec php artisan, so the config stays minimal. It runs boost:mcp inside the container and exposes it over stdio to your editor.
If your editor runs on Windows but your DDEV project lives in WSL, the editor can't call ddev directly. Wrap the command with wsl.exe and point cwd to the WSL project path:
{
"mcpServers": {
"laravel-boost": {
"command": "wsl.exe",
"args": [
"ddev",
"artisan",
"boost:mcp"
],
"cwd": "/home/your-user/dev/your-project"
}
}
}
wsl.exe bridges from Windows into your default WSL distro, where ddev is available on the PATH. The cwd tells it which directory to run from so DDEV picks up the right project.
If you use a non-default distro, add -d your-distro before ddev in the args array.
Open your editor and ask the AI agent something project-specific, like "What routes does this app have?" or "Show me the database schema." If Boost is connected, the agent will use its tools to answer from your actual application state instead of guessing.
You can also check the available tools directly. In Claude Code:
claude mcp list
You should see laravel-boost with its 15+ tools listed.
When you update Laravel or your dependencies:
ddev composer update laravel/boost
ddev artisan boost:update
Or add boost:update to your Composer post-update-cmd scripts to automate it.
Baamaapii
gemmaI ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...
communityHey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...
ai(yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...
aiMy laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...
githubactionsI Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...
aiI've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...
Workflows from the Neura Market marketplace related to this DeepSeek resource