OpenAI Codex
OpenAI Codex is OpenAI's CLI tool for AI-assisted development.
Quick setup (recommended)
Run the following command in your terminal:
codex mcp add <server-key> --url <mcp-server-url>
Replace <server-key> with a name for this connection and <mcp-server-url> with the MCP Server URL from the MCP Info tab in Magento admin.
Complete the authentication steps in the browser window that opens.
tip
You can add a --scope flag to control where the server is registered:
--scope user— available globally--scope project— available only in the current project
Manual setup
Add the following to ~/.codex/config.toml (or a project-scoped .codex/config.toml):
[<server-key>]
url = "<mcp-server-url>"