
How to Add MCP Servers to Codex
openai.com/index/introducing-codex/OpenAI's cloud-based coding agent with MCP server support.
Setup Guide
1. Locate the config file
codex.json2. Add a server configuration
Add the following to your JSON config:
codex mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking3. Restart Codex
Restart or reload Codex to pick up the new MCP server configuration.