In short.
Codex with ChatGPT is a community integration for Codex users who want ChatGPT to plan and review changes, with the catch that browser coordination and a public workspace connection require ongoing setup and maintenance. Version 0.1.3 exposes ten read-only MCP tools while Codex performs edits and commands. Requested code, diffs, images and released command output still leave the computer. The source documents substantial access controls, but nothing was executed, and security effectiveness, current service compatibility, review quality and cost savings remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Scope is the complete captured repository at revision 535a07dbb7aee887924c53767d985c09d405319d, including both READMEs, documentation, skill, command-line entry points, implementation, examples, test definitions, proof-of-concept client, dependency and build configuration, and the MIT licence notice. Linked external pages, third-party service behavior and dependency implementation code are excluded. The supplied repository content checksum is c0559fa7a49733aad05780f957406d77f2e35ec2f84fa2bc7a6210edbb8dbb48. All findings are based on supplied text; installation, builds, tests, browser automation, public connectivity, security behavior, performance and savings were not executed or measured.
The overview
Identity
Codex with ChatGPT is published in the XiaoDuoYa/codex-with-chatgpt repository [https://github.com/XiaoDuoYa/codex-with-chatgpt]. It contains a TypeScript workspace bridge, the c2c command-line tool and a Codex skill that coordinates conversations with ChatGPT.
Both package.json and src/version.ts identify version 0.1.3. The README calls it an unofficial community project without OpenAI affiliation or endorsement. It does not supply a model, a custom GPT, or the separate Codex Web GPT launcher.
Assessment
Its clearest use is giving ChatGPT direct access to the code and recorded command output needed to plan and review a Codex task. This can reduce manual copying between applications and gives the reviewing model more information than an executor's short completion message.
The tradeoff is another service connection to maintain: the browser session, local bridge, authorization and Cloudflare tunnel must cooperate. The temporary address can change after a restart, requiring connector recreation. No measurements establish that the arrangement saves tokens, money or time, or produces better changes.
Users
The intended audience includes people already using Codex and a paid ChatGPT web subscription who want separate planning and execution roles. Beginners receive an installation prompt and guided configuration, but still handle authentication, verification challenges and creation of a ChatGPT Project for a new workspace.
Experienced developers can inspect the server, OAuth implementation, file exclusions and execution records. The resource is a poor fit where code cannot be sent to external services or public tunnels are prohibited. Its setup-choice prompt is Chinese, which may also affect accessibility for English-only beginners.
Capabilities
The MCP server registers ten tools: workspace_info, list_directory, read_file, read_image, search_workspace, git_status, git_diff, test_status, execution_summary and execution_output. Together they expose workspace identity, selected files and images, search matches, repository changes and locally recorded execution information. No MCP tool writes files or runs commands.
Image reads support PNG, JPEG, GIF, WebP and restricted SVG content, with a 10 MiB limit. A separate local media importer can copy downloaded images or videos into a new workspace path, checking signatures, size and selected SVG hazards. That importer runs through the local executor; it does not give ChatGPT write access through MCP.
Using it
Requirements
The declared prerequisites are Node.js 20 or newer, git, pnpm and cloudflared for the public connection. The skill also depends on Codex's built-in browser and references a separate control-in-app-browser skill that is not included in this repository. ChatGPT must permit developer mode and creation of an OAuth MCP connector; current account eligibility and service limits are unknown.
The minimum Node declaration needs care: the lockfile includes Vite 7.3.6 with an engine requirement of ^20.19.0 or >=22.12.0. Node 20.0 therefore does not satisfy every locked development dependency.
The temporary Cloudflare connection needs no account according to the implementation. A stable hostname additionally requires a Cloudflare account, a domain managed there, and local tunnel credentials.
Mechanism
A local HTTP server binds to a loopback address, and cloudflared makes it reachable through an HTTPS public address. ChatGPT retrieves workspace data through MCP, a protocol for connecting models to tools. Small state messages entered through the browser coordinate planning, execution and review.
The authorization implementation uses an OAuth authorization-code flow with S256 PKCE and a one-time pairing code. Pairing defaults to five minutes and five attempts. Access tokens last one hour; refresh tokens last 30 days and rotate when used. Persisted access and refresh token records contain hashes rather than raw token values.
Bearer authentication checks workspace identity, and individual tools check their required scopes. One notable default is that an omitted scope request, or a request containing no recognized scopes, receives all supported scopes.
Setup
The documented installation builds a repository checkout with corepack pnpm install followed by corepack pnpm build. The skill file is copied into the codex-with-chatgpt directory under Codex's skills directory, using CODEX_HOME when configured and otherwise ~/.codex. Its <ACTUAL_CHECKOUT_PATH> placeholder must be replaced with the checkout location. Copying the skill alone does not install the bridge or its dependencies.
First-time configuration chooses a temporary or stable public address, starts the bridge with c2c setup, creates the ChatGPT connector and authorizes it with a fresh pairing code. The skill offers preview browser automation or guided manual configuration. New workspaces normally require the user to create a ChatGPT Project with project-only memory.
Setup also adds the application's state directory to Codex's sandbox writable_roots in config.toml. That is a local permission change beyond adding a read-only ChatGPT connector. The documented final verification asks ChatGPT to identify the workspace and read a harmless file; no successful setup or verification result is established here.
Example
For a request such as adding persistent dark mode, the intended sequence begins with ChatGPT inspecting the relevant source files and producing an implementation plan. Codex applies that plan and runs the appropriate commands, then records changed files, test information and optional command output locally.
ChatGPT subsequently reads the diff and available execution output through MCP and requests another iteration or reports completion. The protocol describes a default limit of 12 iterations and checkpoints for resuming interrupted work. This is an illustrative workflow from the documentation, not an observed implementation result.
Assessment & evidence
Limitations
The README's statement that the repository is never uploaded should be understood as avoiding a bulk repository upload. Requested file contents, diffs, images and released command output still travel to ChatGPT through Cloudflare. Sensitive-file protection relies on path patterns; secrets embedded in otherwise permitted files are not automatically excluded by read_file.
Custom .c2cignore rules are loaded when the Workspace object is constructed. The running bridge retains that object, so rule changes require a restart to take effect. An unreadable ignore file silently falls back to the default rules. These are source-level observations, not executed checks.
The read_file implementation can exceed its intended byte budget when the first returned line alone is oversized, and it scans the file to count total lines. Recorded test information has another practical limit: test_status returns the latest harness record; it does not run tests or establish that the record corresponds to the current diff.
Browser automation depends on particular ChatGPT pages and controls. Temporary tunnel addresses require repair after changes. Authorization storage is file-based rather than keychain-based, and execution-output redaction uses patterns rather than a guarantee that every sensitive value will be detected.
Design reasoning
Separating the conversation from data retrieval lets ChatGPT inspect relevant code without large pasted messages. Keeping write and shell tools out of the MCP server limits what that connector can directly change, while the local executor retains its normal development capabilities.
That boundary does not establish protection against every harmful instruction. ChatGPT's plan influences a Codex agent that can edit files and execute commands, so the local executor still needs to judge proposed actions. Likewise, inspecting a diff and supplied logs can inform review, but it does not make the reviewing model infallible or authenticate the executor's account of what happened.
The iteration limit, conversation handoff and review discipline largely live in skill instructions. The bridge supplies data and records; it does not independently guarantee that the agents follow those instructions.
Alternatives
The simpler baseline described by the project's motivation is letting Codex handle planning, execution and review within its own session. The evidence provides no comparative results showing which arrangement is faster, cheaper or more accurate.
Within this integration, guided manual setup is an alternative to preview browser automation, and a named Cloudflare tunnel is an alternative to the changing temporary address. These choices change setup and repair needs rather than the core planning arrangement.
The tunnel interface mentions possible ngrok, Tailscale or custom implementations, but the captured providers implement Cloudflare Quick and Named Tunnels. Those other providers should not be treated as supplied features.
Evidence and confidence
The repository includes implementation code and test definitions for OAuth, pairing, workspace containment, sensitive paths, MCP calls, diff filtering, output sanitization, tunnel handling and session recovery. These establish intended behavior and inspectable mechanisms. Nothing was installed, built or executed, and no observed test results accompany the supplied source.
The README reports 150 tests and end-to-end verification, but those remain author claims. A success message inside the proof-of-concept client is program text, not a successful run receipt. The MCP integration tests use local clients and fixtures, and tunnel tests use simulated processes or account adapters; they do not establish current ChatGPT browser behavior or a real Cloudflare connection.
Some fixtures check only format signatures, including short synthetic PNG byte sequences. The Windows subprocess tests inspect options such as windowsHide rather than demonstrating a complete Windows user journey. Production reliability and comprehensive security effectiveness remain unverified.
Access & freshness
Costs
The repository is MIT-licensed, but its total operating cost is unknown. Its stated motivation is using an existing ChatGPT Plus or Pro web allowance for planning while Codex executes. The documented connection does not require an OpenAI API key.
ChatGPT subscription prices, Codex charges or allowances, applicable usage limits, and any Cloudflare or domain expenses are not established by the supplied evidence. Neither token savings nor net financial savings have been measured. Additional browser interactions, setup and repairs may also consume time, but that overhead is unquantified.
Rights
The captured MIT licence names the 2026 codex-with-chatgpt contributors. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompanies copies or substantial portions. It also disclaims warranty and liability.
Those repository permissions do not establish rights to use third-party services or ownership of generated media. Dependency-specific obligations and the applicable ChatGPT, Codex and Cloudflare service terms are not established by the repository licence.
Version and freshness
The supplied snapshot was captured on 12 November 2026 at 16:52:34.399 UTC from revision 535a07dbb7aee887924c53767d985c09d405319d [https://github.com/XiaoDuoYa/codex-with-chatgpt/tree/535a07dbb7aee887924c53767d985c09d405319d]. Its package and runtime version are 0.1.3. Whether a newer revision exists is unknown.
The skill checks the remote origin HEAD at workflow start, with checks cached by local day, and can pull, rebuild and reinstall itself when commits differ. This can move an installation beyond the captured revision. The package declares the MCP SDK as latest, while this lockfile resolves it to 1.30.0.
Some README layout text still says nine tools, while the server and integration-test definitions enumerate ten. Fixed ChatGPT interface URLs are another compatibility-sensitive detail whose present behavior is not established.
Practical next steps
Before adopting it, confirm that the available Codex browser environment and ChatGPT account support the documented connector setup. Decide whether sending permitted code through ChatGPT and Cloudflare fits the workspace's confidentiality requirements, and establish the relevant subscription and usage costs.
Start with a non-sensitive workspace. Configure exclusions before starting the bridge, restart after exclusion changes, and verify both the workspace identity and denial of a harmless synthetic sensitive-file fixture. Run the supplied build and tests in the intended environment and inspect actual output before relying on their results.
For diagnosis without automatic repairs, the CLI provides c2c doctor --no-fix -w <workspace>. Distinguish local health from successful reads in the actual ChatGPT conversation. When access is no longer needed, c2c unpair revokes workspace tokens and c2c stop stops the bridge.
