Skip to content

Conversation

@pushpak1300
Copy link
Member

@pushpak1300 pushpak1300 commented Nov 20, 2025

Resolves #363.

We use the MCP shell installation strategy to add MCP config support as described in the Codex MCP CLI docs. This enables Codex to install MCP servers directly via CLI. Although Codex does not support project specific config yet, it now supports relative paths in the MCP config, which we leverage to add support for Laravel Boost.

Tested this with sail, herd and it work without any issues.

Screenshot 2025-11-20 at 4 14 35 PM Screenshot 2025-11-20 at 4 19 07 PM Screenshot 2025-11-20 at 4 29 06 PM

Signed-off-by: Pushpak Chhajed <pushpak1300@gmail.com>
@jsandfordhughescoop
Copy link

@pushpak1300 - The only issue with it is that it sets the herd SITE_PATH as an absolute path however in my testing by setting it to * codex uses the relative path it was executed in.

pushpak1300 and others added 2 commits November 20, 2025 18:56
Signed-off-by: Pushpak Chhajed <pushpak1300@gmail.com>
@pushpak1300
Copy link
Member Author

pushpak1300 commented Nov 20, 2025

Thanks @jsandfordhughescoop for pointing that out. As Herd support global level mcp without env variable i've removed env key.

This is the standard configuration that works in most MCP clients. Make sure to replace YOUR-SITE-PATH with the base path to your Laravel project or remove the env key with the site path if you’re using the global installation.

@pushpak1300 pushpak1300 merged commit 403c336 into main Nov 20, 2025
@pushpak1300 pushpak1300 deleted the add_codex_mcp_support branch November 20, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codex MCP server config

3 participants