Open-source testing and evaluation platform for MCP servers, for inspecting, chatting with, and debugging MCP servers, MCP apps, and ChatGPT apps.
XiaoDuoYa/codex-with-chatgpt
An unofficial bridge that lets ChatGPT web plan and review your Codex coding sessions through a read-only, OAuth-protected MCP connection, with Codex keeping execution.
- Stars
- 7,670
- Forks
- 709
- Open issues
- 20
- Last commit
- last month
What is it?
Codex with ChatGPT moves the planning and review work of a coding session to the ChatGPT web app you already subscribe to, while Codex keeps ownership of editing, running shell commands and tests. It targets the case where API or Codex quota is scarce but web ChatGPT quota goes unused. No API key is required and no reverse proxy is used; the project relies on the official web UI plus a local bridge.
The local C2C bridge runs on loopback and exposes ten read-only MCP tools, such as read_file, search_workspace, git_diff and test_status. ChatGPT pulls only the lines it needs, so the repository is not uploaded. Codex and ChatGPT exchange small structured state messages through the INIT, PLAN, EXECUTED, REVIEW and DONE sequence. The connection uses OAuth 2.1 with PKCE and a one-time pairing code, and sensitive files such as .env and keys are denied by default.
Setup is handled by a Codex Skill that installs the bridge, configures a Cloudflare tunnel and pairs the ChatGPT connector. A stable hostname requires a Cloudflare account with a domain. The project is V1 and is not affiliated with OpenAI.
Key features
- 01Lets ChatGPT web review and plan while Codex executes edits and tests.
- 02Exposes ten read-only MCP tools for reading files, searching, and inspecting git diffs and test status.
- 03Uses OAuth 2.1 with PKCE and a one-time pairing code for the connection.
- 04Denies sensitive files such as .env and keys by default and supports a .c2cignore file.
- 05Exposes the bridge through a Cloudflare tunnel, with an optional stable hostname.
Use cases
- Offloading planning and code review from a scarce Codex or API quota to a ChatGPT web subscription.
- Having ChatGPT independently check Codex's git diff and test results after an execution step.
- Working on a local repository without uploading it to a third-party service.
Quick start
- 1
Clone the repository from GitHub into a local folder
- 2
Install dependencies (Node.js 20+ and git required)
pnpm install - 3
Build the project
pnpm build - 4
Run first-time setup to start the bridge and pair with ChatGPT
c2c setup
Things to know
- Unofficial community project, not affiliated with or endorsed by OpenAI.
- Requires a ChatGPT subscription and uses a Cloudflare tunnel for the public connection, which needs cloudflared.
- Version 1 stage, so expect rough edges.
In collections
Topics
FAQ
- What is codex-with-chatgpt?
- An unofficial bridge that lets ChatGPT web plan and review your Codex coding sessions through a read-only, OAuth-protected MCP connection, with Codex keeping execution. Codex with ChatGPT moves the planning and review work of a coding session to the ChatGPT web app you already subscribe to, while Codex keeps ownership of editing, running shell commands and tests. It targets the case where API or Codex quota is scarce but web ChatGPT quota goes unused. No API key is required and no reverse proxy is used; the project relies on the official web UI plus a local bridge.
- Is codex-with-chatgpt free to use? What license does it have?
- codex-with-chatgpt is open source under the MIT license. Check the license terms before using it in commercial products.
- Is codex-with-chatgpt still maintained?
- Updated within 6 months. The last commit to codex-with-chatgpt was on Oct 1, 2026.
- What can I use codex-with-chatgpt for?
- Offloading planning and code review from a scarce Codex or API quota to a ChatGPT web subscription. Having ChatGPT independently check Codex's git diff and test results after an execution step. Working on a local repository without uploading it to a third-party service.
- How do I install codex-with-chatgpt?
- Clone the repository from GitHub into a local folder Install dependencies (Node.js 20+ and git required): pnpm install Build the project: pnpm build Run first-time setup to start the bridge and pair with ChatGPT: c2c setup
- Where can I get codex-with-chatgpt?
- The source code and installation instructions are on GitHub: https://github.com/XiaoDuoYa/codex-with-chatgpt
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A command-line MCP client that maps MCP operations like tools, resources, prompts and OAuth login to shell commands for debugging and scripting.
A CLI that installs MCP servers into popular AI clients like Claude Desktop, Cursor, and VS Code, including OAuth auth for remote servers.
A TypeScript framework for building MCP servers, MCP Apps with React views, and clients, with a built-in Inspector and CLI.
An MCP proxy server that aggregates multiple MCP servers behind a single HTTP endpoint for clients such as Claude.
Configures AI coding agents like Claude Code, Cursor, OpenCode and Codex with persistent memory, shared workflows, skills and MCP servers.