codex-mcp-server / setup / cline
Setup guide

Set up codex-mcp-server in Cline

communitystdioverified

MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly.


01Configuration
{ "mcpServers": { "codex-mcp-server": { "command": "npx", "args": [ "-y", "codex-mcp-server" ] } } }

Add this to cline_mcp_settings.json. Generated from the captured install method (npx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.


02Steps
  1. Make sure Cline is installed and up to date.
  2. Open cline_mcp_settings.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Cline and confirm codex-mcp-server’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-08-16 21:11Z
sourcesGitHub repo search [p4]

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives

Set up codex-mcp-server MCP in Cline — MCPExplorer