Configuration and instructions for running the Codex CLI.
config.toml: Codex CLI configuration.AGENTS.md: Operating guidelines for this workspace.
- Clone this repo to your home directory.
- Install the Codex CLI.
- Export the required environment variables:
GITHUB_CODEX_PATCONTEXT7_API_KEY_CODEX
- Run the Codex CLI from this directory so it picks up the configuration.
I do not declare the JetBrains MCP server in config.toml because I often
run Codex outside the IDE or switch between JetBrains IDEs.
Instead, the community Codex Launcher plugin starts Codex with the correct
MCP configuration for whichever JetBrains IDE I am using. Use this minimal setup:
- Install the Codex Launcher plugin from the JetBrains Marketplace.
- In your JetBrains IDE, open Settings → Tools → MCP Server, enable it, and use “Copy Stdio Config”.
- Go to Settings → Other Settings → Codex Launcher, paste the copied Stdio config.
- Launch Codex from the plugin; run
/mcpinside Codex to confirm the MCP servers are available.