DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let ChatGPT use files and terminal in a Codex task with Codex ChatGPT Web

Connect ChatGPT to a Codex task's files, terminal, and tools through MCP.

Short answer: Finish the required setup in the launcher, then open MCP; then create the Tunnel and a regular API key, then press Connect harness; in ChatGPT, enable Developer Mode and create a new Tunnel connector named exactly Codex Native2 with Authentication: None and Allow all actions. All steps.

Credentials. The setup creates a regular API key and a Tunnel, so store the key securely and revoke it if the machine is shared.

Reverse engineering. Write and modify actions also depend on your ChatGPT workspace and its administrator policy, and the browser integration is unofficial.

Who it is forA developer who wants ChatGPT models to read files, run terminal commands, and use tools inside a live Codex coding task.

The problemBrowser-only ChatGPT cannot see your local project, so you copy code and output back and forth by hand.

The outcomeChatGPT tool calls reach the current Codex task through an outbound tunnel, and the Codex Native2 connector reports as available in Verify runtime.

What you need first

  • A ChatGPT account. Model availability depends on your account and workspace.
  • Codex installed and able to show a model picker.
  • A supported system: macOS 13+ (arm64/x64), Windows x64, or Linux x64.
  • For full harness mode: ability to enable ChatGPT Developer Mode and create a Tunnel connector and a regular API key.
  • Bun 1.4.0 only if you run from source instead of the installer.

Steps

  1. Finish the required setup in the launcher, then open MCP.
  2. Create the Tunnel and a regular API key, then press Connect harness.
  3. In ChatGPT, enable Developer Mode and create a new Tunnel connector named exactly Codex Native2 with Authentication: None and Allow all actions.
  4. In the launcher, run Verify runtime to confirm that Codex Native2 is attached and available.

Prompt for your agent

Using the codex-chatgpt-web repo, guide the setup of Full harness mode for the Codex task in <project folder>. Confirm the connector name is exactly Codex Native2 and that Verify runtime reports it as attached and available. Do not enable auto-approve; report any approval prompts you see.

Caveat. Unexpected approval prompts fail closed unless --auto-approve-tool-calls is explicitly enabled, and that option only clicks Allow once, never a permanent grant.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for miuuyy/codex-chatgpt-web and "Let ChatGPT use files and terminal in a Codex task"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer