← Back to Leaderboard
CXiaoDuoYa

XiaoDuoYa/codex-with-chatgpt

Read-only MCP bridge for ChatGPT planning and review, with Codex executing locally

View on GitHub ↗
Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v0.1.4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption20/25
Release Cadence17/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 7,752
24h Growth
+1
7d Growth
+28
Forks
709

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

XiaoDuoYa/codex-with-chatgpt Star History (2026-08-27 - 2026-12-04) ALL-TIME STAR HISTORY (2026-08 – 2026-12) +7.8k in 99d · avg +78/day 8.2k 4.1k 0 2026-08-27: ★ 12026-09-05: ★ 2,4372026-09-12: ★ 4,0012026-09-19: ★ 5,4682026-09-26: ★ 6,5352026-10-03: ★ 6,8582026-10-10: ★ 7,0932026-10-17: ★ 7,3202026-10-24: ★ 7,4252026-10-31: ★ 7,5372026-11-06: ★ 7,6002026-11-12: ★ 7,6442026-11-18: ★ 7,6902026-11-24: ★ 7,7142026-11-30: ★ 7,7342026-12-04: ★ 7,752 ★ 7.8k 08-27 10-15 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

C2C separates browser-mediated coordination from workspace access. The Codex Skill exchanges compact [C2C] state messages with ChatGPT Web from INIT through PLAN, EXECUTED, REVIEW, and DONE. ChatGPT retrieves evidence through stateless Streamable HTTP MCP rather than receiving diffs or file bodies in those messages. Codex retains local editing, shell, Git, and test execution.

The TypeScript bridge binds HTTP to loopback and exposes the authenticated connector through a Cloudflare tunnel. The Node.js package ships the c2c CLI and depends on @modelcontextprotocol/sdk, commander, express, ignore, and zod. The source separates bridge lifecycle, OAuth and pairing, workspace access, execution records, and tunnel management; a TunnelProvider abstraction sits behind the Cloudflare Quick and Named Tunnel options.

Key Capabilities & Differentiators

The read-only MCP surface includes directory listing, file and image reads, workspace search, Git status and diff, and recorded execution summaries and output. ChatGPT can inspect a change and its available test records instead of relying on Codex’s conversational summary. It does not rerun the tests through MCP, so the review is only as complete as the evidence available in the workspace and execution records.

OAuth 2.1 uses PKCE S256, dynamic client registration, and refresh-token rotation. Tokens are workspace-bound; one-time pairing codes expire after five minutes and permit at most five attempts. Canonical realpath checks constrain file access, and .c2cignore supplements the default sensitive-file rules. Generated media takes a separate local path: c2c asset import checks file signatures and sizes, rejects active SVG content, and does not overwrite existing files.

Trade-offs & Limitations

Compared with using Codex directly, C2C adds a separate planning and review pass that can read actual diffs and test records without gaining execution privileges. The cost is more operational state: browser coordination, ChatGPT connector availability, pairing, and tunnel lifecycle. A Quick Tunnel can trigger connector reconfiguration after a restart. A Named Tunnel reduces that churn but adds Cloudflare account and domain administration. The integration does not establish a measured reduction in Codex usage.

Read-only protects workspace integrity at the MCP layer, not confidentiality. The bridge does not require a bulk repository upload, but content returned by tools still reaches ChatGPT; secrets in otherwise permitted files or execution output should not be assumed safe. Review the workspace scope and exclusion rules before pairing. The MIT license applies to the bridge, not to the ChatGPT or Cloudflare services, and the integration does not install a Web GPT or add a model-catalog entry.

Hardware & Deployment Guide

Build the checkout with pnpm install and pnpm build on Node.js 20 or newer with Git available, then install skill/SKILL.md in the Codex skills directory and run c2c setup. The default public connector path needs cloudflared and a ChatGPT sign-in. A stable Named Tunnel additionally needs a Cloudflare account and a domain already on Cloudflare. The bridge is self-hosted, but this is not an offline workflow or a local inference stack; no model API key is required for the documented integration.

The CLI provides status, doctor, pair, unpair, logs, and stop for local operation. Set C2C_TUNNEL_PROTOCOL=http2 and restart if the network blocks QUIC. Release v0.1.3 improved temporary-address recovery and pairing-code timing. v0.1.4 delays the first Quick Tunnel health probe to avoid negative DNS caching on fresh hostnames, corrects search truncation reporting, and adds agent attribution to execution records.

Control plane: Browser-mediated [C2C] messages coordinate INIT → PLAN → EXECUTED → REVIEW → DONE without carrying diffs or file bodies.
Data plane: Stateless Streamable HTTP MCP exposes workspace files, Git diffs, test status, execution records, and supported images through read-only tools.
Authorization: OAuth 2.1 uses PKCE S256, dynamic client registration, and refresh-token rotation; workspace-bound tokens follow pairing with a five-minute, five-attempt limit.
Workspace boundary: Canonical realpath checks enforce containment, while default sensitive-file rules and .c2cignore limit what can be read.
Tunnel lifecycle: Cloudflare Quick Tunnel URLs can change on restart and require connector repair; a Named Tunnel can provide a stable hostname.
Review evidence: ChatGPT can retrieve diffs and recorded test output directly; v0.1.4 allows execution records to identify the agent that ran an iteration.
Best For

Codex users who can expose a scoped workspace through an authenticated connector and want ChatGPT Web to review actual diffs and test records without executing commands.

Skip If

Source and logs must stay offline or on-device, public tunnel endpoints are prohibited, or direct Codex review already meets your needs.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
pnpm install
pnpm build          # -> dist/, exposes the `c2c` bin
pnpm test           # vitest: 150 tests (path security, OAuth, pairing, MCP e2e)

c2c setup           # bridge + tunnel + pairing code, all in one
c2c sandbox-allow   # whitelist the settings dir in Codex (macOS + Windows)
c2c status / doctor / pair / unpair / logs / stop

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
codex-with-chatgpt ★7.8k+28TypeScriptMITRead-only MCP bridge for ChatGPT planning and review, with Codex executing local
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+801TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.9k+324TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/XiaoDuoYa/codex-with-chatgpt.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

XiaoDuoYa/codex-with-chatgpt Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about codex-with-chatgpt

How does ChatGPT participate without taking over local execution?

The Codex Skill drives the browser-based exchange of structured workflow states. ChatGPT pulls workspace evidence through the MCP connector. The connector cannot edit files or run commands; Codex retains those permissions in its own harness.

Do I need a GPU or a separate server?

The bridge requires Node.js 20 or newer and Git, with cloudflared for the documented public connection. It does not run local model inference, so there is no bridge-specific GPU or VRAM requirement. Size the workstation for Codex and the project’s build and test workloads.

Can a company self-host it for commercial use?

The bridge is MIT-licensed and can be run locally, including for commercial use under the license terms. That license does not cover the external services. Before adopting it, verify organizational approval for ChatGPT connector access, Cloudflare tunneling, and disclosure of the workspace content the connector can read.

When is this preferable to using Codex directly?

Direct Codex avoids browser coordination, connector pairing, and tunnel maintenance. C2C is worth evaluating when a separate ChatGPT review pass that can inspect current diffs and recorded test results is valuable enough to justify those dependencies. No measured cost or speed advantage is established.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining XiaoDuoYa/codex-with-chatgpt? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature XiaoDuoYa/codex-with-chatgpt on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare