codex-with-chatgpt is a read-only, OAuth-protected MCP bridge that lets a paid ChatGPT web subscription handle planning and review for the OpenAI Codex coding agent, while Codex keeps full execution ownership. It works without API keys or a reverse proxy.
Project overview
It redirects the planning and review thinking that would otherwise consume scarce API tokens to an idle ChatGPT web subscription, and has ChatGPT inspect actual git diffs and test records through MCP rather than trusting 'all tests passed' claims.
Project type
MCP · AI Agent · AI Coding
Use cases
Coding & Development
Deployment
Refer to project documentation
License
MIT
Best for
Developers who already pay for a ChatGPT web subscription and use the Codex CLI, and want to preserve scarce API tokens by moving planning and review to that subscription.
Non-technical users who want to set up the workflow by pasting a single instruction paragraph to their coding agent rather than configuring MCP, OAuth, or ports manually.
Key capabilities
Exposes the local bridge via a temporary Cloudflare Quick Tunnel URL, with an optional stable named hostname on a Cloudflare domain.
After Codex executes, ChatGPT inspects the actual git diff and test records through MCP instead of trusting 'all tests passed' claims.
A Codex Skill (SKILL.md) acts as the real UX layer, letting users say 'Set up Codex with ChatGPT' and 'Use Codex with ChatGPT to implement XXX' without knowing MCP, OAuth, or ports.
Non-technical users paste a single instruction paragraph to their coding agent, which clones, builds, installs the Skill, and runs first-time setup automatically.
The Skill checks GitHub once a day and updates itself when a new version is released, with no user action needed.
Limitations and risks
The default public address is a temporary Cloudflare URL that changes on bridge restart, requiring connector repair. A stable named hostname on a Cloudflare domain is optional.
This is an unofficial community project not affiliated with or endorsed by OpenAI, so platform changes may break it. Consider this before adopting it in critical workflows.
Getting started
Setup difficulty is medium: Node.js >= 20, git, and cloudflared are required. First-time setup: copy the one-paste paragraph to Codex; Codex clones the repo, installs dependencies, and builds; Codex installs the Skill into ~/.codex/skills; run c2c setup and pair the ChatGPT connector in the built-in browser; confirm the file-read test passes and the checklist shows Ready.
Evidence and sources
GitHub project description: ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
README: ChatGPT Plus/Pro web quota sits idle while your coding agent burns scarce API/Codex tokens on planning and review.
README: Your repository is never uploaded: ChatGPT reads exactly the lines it needs through a secure, OAuth-protected, **read-only** MCP connection to your current workspace.
README: Don't know git, Node, or terminals? You don't need to.
README: You don't need to know what MCP, OAuth, tunnels, ports or localhost are — Codex configures everything automatically