← all repositories
XiaoDuoYa/codex-with-chatgpt

Let ChatGPT web plan so Codex stops burning API tokens on review

A read-only MCP bridge that turns your paid ChatGPT web session into the planning and review brain for Codex, while execution stays locked to the agent.

3.9k stars TypeScript Coding AssistantsAgents
Feature · 30 Aug 2026
The Unofficial Bridge Between ChatGPT's Brain and Codex's Hands

A community-built read-only MCP bridge lets ChatGPT web handle planning and review while Codex keeps the keys to execution, no API key required.

Read the in-depth article
codex-with-chatgpt
Velocity · 7d
+237
★ / day
collecting data…
star history

What it does

It turns your ChatGPT web session into the strategist for Codex coding sessions. ChatGPT handles planning and reviewing through the official web UI, while Codex keeps sole control over actually editing files and running commands. The two talk through a local bridge: an OAuth-secured, read-only MCP server that lets ChatGPT pull exactly the code lines it needs without ever uploading your entire repository.

The interesting bit

The security model is deliberately paranoid in a useful way: the MCP server is read-only by construction—write tools literally do not exist—so prompt injection cannot escalate to code changes. ChatGPT verifies Codex’s work by inspecting git diffs and test records itself rather than trusting summary claims. The project also ships a Codex Skill that tries to install and configure itself automatically, including dependency checks.

Key highlights

  • ChatGPT web plans and reviews; Codex keeps exclusive execution rights
  • Read-only MCP bridge with 8 tools (read_file, git_diff, etc.)—no upload of your full repo
  • OAuth 2.1 + one-time pairing codes; no API keys or reverse proxies needed
  • Path containment blocks symlink/../ escapes; sensitive files like .env denied by default
  • Includes a Codex Skill for zero-touch installation and auto-updates

Caveats

  • Unofficial community project with no OpenAI affiliation
  • Requires Node.js >= 20 and cloudflared for the public tunnel connection

Verdict

Worth a look if you pay for ChatGPT Plus/Pro and want to stop burning Codex API credits on planning and review loops. Skip it if you need ChatGPT to actually write code—this keeps execution locked to Codex by design.

Frequently asked

What is XiaoDuoYa/codex-with-chatgpt?
A read-only MCP bridge that turns your paid ChatGPT web session into the planning and review brain for Codex, while execution stays locked to the agent.
Is codex-with-chatgpt open source?
Yes — XiaoDuoYa/codex-with-chatgpt is open source, released under the MIT license.
What language is codex-with-chatgpt written in?
XiaoDuoYa/codex-with-chatgpt is primarily written in TypeScript.
How popular is codex-with-chatgpt?
XiaoDuoYa/codex-with-chatgpt has 3.9k stars on GitHub.
Where can I find codex-with-chatgpt?
XiaoDuoYa/codex-with-chatgpt is on GitHub at https://github.com/XiaoDuoYa/codex-with-chatgpt.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.