GPT Web Codex
FreeNot checkedEnables local code execution via Codex (Luna) through MCP, using ChatGPT Web conversations as a planner. Provides file, terminal, and code execution tools while
About
Enables local code execution via Codex (Luna) through MCP, using ChatGPT Web conversations as a planner. Provides file, terminal, and code execution tools while keeping long-running jobs manageable.
README
GPT Web Codex is a pure MCP launcher. A normal ChatGPT Web conversation is the planner; Luna executes and verifies local work through codex exec --json without changing Codex configuration or routing.
Platform status: Real-world manual testing has currently been completed only on Windows. Linux and macOS builds are covered by automated CI, but have not yet been manually tested on those operating systems; support for them should be considered experimental.
What it does
- Uses ChatGPT in the user's normal browser; the launcher never embeds or automates ChatGPT.
- Binds each stable ChatGPT conversation URL to one persistent Luna session.
- Exposes asynchronous
codexluna_*tools plus direct file and terminal tools over MCP. - Serializes Luna work inside one web session while allowing different web sessions to run independently.
- Supports
read-only,workspace-write, anddanger-full-accessexecution modes. - Keeps long-running jobs alive when the ChatGPT reply finishes; jobs can be polled or cancelled explicitly.
- Turns verified image artifacts from completed Luna jobs into native MCP image content and an inline preview instead of trusting a textual “displayed” claim.
What it does not do
GPT Web Codex does not edit ~/.codex/config.toml, install a model provider, replace the model catalog, proxy the Responses API, or take over Codex routes. You do not select a ChatGPT Web model inside Codex. ChatGPT Web plans; Luna executes locally.
Runtime flow
normal ChatGPT conversation
│ MCP tool calls
▼
OpenAI Tunnel → standalone local MCP runtime
│
├─ codexluna_init/start/status/cancel/session
├─ file_read (text + native MCP images + inline preview) / list / search / write
└─ terminal_start/status/cancel
│
▼
codex exec --json (Luna)
Development
Requirements: Windows, Codex CLI, a ChatGPT account with custom connectors, and an OpenAI Tunnel for MCP. The packaged launcher includes Bun; building from source requires Bun 1.3.14.
git clone https://github.com/m4j2rpf766-crypto/gpt-web-codex.git
cd gpt-web-codex
bun install --frozen-lockfile
bun run launcher:dev
From the launcher:
- Enter the Tunnel ID and a Tunnels Read + Use API key.
- Create a ChatGPT connector named
WebGPT Luna Standalone, using Tunnel transport and AuthenticationNone. - Verify the runtime, then use the connector from a normal ChatGPT conversation in Chrome, Edge, Firefox, or another browser.
The connector name remains stable because ChatGPT caches tool contracts. Legacy local data directory names may be retained internally during migration so existing tunnel and Luna session state are not lost.
Verification
bun x tsc --noEmit
bun test tests
bun run launcher:typecheck
bun run launcher:test
Security boundary
The launcher keeps tunnel credentials in private local storage and redacts them from logs. It does not keep ChatGPT cookies, browser profiles, or conversation history. codexluna_init returns the resolved workspace, permission mode, durable session ID, and a visible session-memory boundary before local execution. That boundary is prompt-level guidance; it cannot change the ChatGPT account's product-level Memory setting.
This is an independent, unofficial local MCP connector. It does not automate ChatGPT's UI and must not expose a tunnel or workspace you do not control.
License
MIT. See LICENSE and LICENSES.
Acknowledgements
GPT Web Codex is based on and evolved from the original miuuyy/codex-chatgpt-web project. Sincere thanks to miuuyy and every original contributor for making this work possible.
Installing GPT Web Codex
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/m4j2rpf766-crypto/gpt-web-codexFAQ
Is GPT Web Codex MCP free?
Yes, GPT Web Codex MCP is free — one-click install via Unyly at no cost.
Does GPT Web Codex need an API key?
No, GPT Web Codex runs without API keys or environment variables.
Is GPT Web Codex hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install GPT Web Codex in Claude Desktop, Claude Code or Cursor?
Open GPT Web Codex on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare GPT Web Codex with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
