Start with documentation. If Codex is editing code that depends on a package, framework, or cloud SDK, current docs are usually the most valuable external context.
Then add repository workflow context if your tasks begin from issues, reviews, or CI failures. Add database access when the code depends on schema reality. Add memory only when you have recurring project decisions worth retrieving across sessions.
Avoid broad tool bundles until you know what you are missing. Codex can do serious work with a small set of reliable MCP servers, and a small set is easier to audit when an agent starts taking action.