Codex

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.json

2. Add a server configuration

Add the following to your JSON config:

codex mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking

3. Restart Codex

Restart or reload Codex to pick up the new MCP server configuration.

Compatible Servers (1831)