Reapplies https://github.com/openai/codex/pull/8873 which was reverted due to merge conflicts
codex mcp
codex mcp-server
codex app-server