Laravel Boost MCP fail to start in IDE

Resolved 💬 3 comments Opened Sep 4, 2025 by farimir Closed Nov 23, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.28.0

Which model were you using?

GPT-5 High

What platform is your computer?

Darwin 24.5.0 arm64 arm

What steps can reproduce the bug?

When using Laravel Boost MCP in the IDE, I get an error:

MCP client for laravel-boost failed to start: request timed out

There is no problem with this MCP in Codex CLI and I can use it successfully in the cli tool.

<img width="2110" height="274" alt="Image" src="https://github.com/user-attachments/assets/1f4dc7c2-a2ad-4977-9799-0a70891df620" />

My config.toml:

# --- Playwright MCP
[mcp_servers.playwright]
command = "npx"
args = ["-y", "@playwright/mcp@latest"]

# --- Laravel Boost MCP
[mcp_servers.laravel-boost]
command = "php"
args = ["artisan", "boost:mcp"]

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 9 months ago

I think this bug is no longer relevant. It hasn't seen any activity in over three months. If you're still seeing the problem, let us know, and I'll reopen.

whizzrd · 8 months ago

What version of Codex is running?
codex-cli 0.63.0

What subscription do you have?
Plus

Which model were you using?
Not applicable — CLI fails before a model can be selected.

What platform is your computer?
Darwin 24.6.0 x86_64 i386 (macOS 15.7.1 Build 24G231)

What issue are you seeing?
Launching Codex CLI with the Laravel Boost MCP configuration fails during startup:
MCP client for 'php' failed to start: MCP startup failed: No such file or directory (os error 2)
Two MCP servers are configured mcp_servers.laravel-boost and mcp_servers.php expecting only mcp_servers.laravel-boost

What steps can reproduce the bug?

  1. composer require laravel/boost --dev
  2. php artisan boost:install
  3. codex mcp add -- php artisan boost:mcp
  4. codex
  5. CLI attempts to start the PHP MCP client.
  6. Startup stops with the error above.What is the expected behavior? The PHP MCP client should start successfully and the Codex session should open normally.

Additional information

  • PHP: 8.4.14 (Homebrew) at /usr/local/bin/php; php -v succeeds.
  • uname -mprs: Darwin 24.6.0 x86_64 i386.
  • No project-local .codex/config.toml; parent config at ../.codex/config.toml includes MCP settings:
[mcp_servers.laravel-boost]
command = "php"
args = ["artisan", "boost:mcp"]

[mcp_servers.php]
command = "artisan"
args = ["boost:mcp"]
  • Network access enabled; trust level trusted.
mdrbx · 6 months ago

I had this problem as well, a simple way to fix the command is to link it to the laravel project folder, which you won't always work in obviously.

[mcp_servers.php]
command = "php"
args = ["/laravel/app/artisan", "boost:mcp"]