Codex · MCP setup
Use any MCP server in Codex -
same install as everywhere else.
Codex speaks MCP. If you also use Claude Code or Cursor, 1Server gives you a single install you do not have to re-do per tool.
About Codex
Codex is OpenAI's coding agent that runs locally and integrates with the OpenAI Agent SDK. MCP servers register through `codex mcp add` or the manual mcpServers JSON.
By OpenAI. Visit homepage
60-second install
command
codex mcp add 1server --env ONESERVER_API_KEY=YOUR_KEY -- npx -y 1server-mcp-engineRun the CLI command, or add the JSON to your Codex config under `mcpServers`.
Replace your-api-key / YOUR_KEY with the API key from your dashboard.
Why use 1Server with Codex?
- One 1Server install works across every AI coding tool you switch between.
- No per-tool config drift - the same servers everywhere.
- Hot reload picks up new installs without restarting Codex.