Skip to main content
Glama
rnaefe

Wrapper

by rnaefe

ChatGPT Wrapper

I ran out of Codex usage, so I literally wrapped ChatGPT.

Connect your own ChatGPT browser session to coding agents using MCP. Wrapper runs locally, sends tasks through a real Chromium browser, and returns text, code, and image artifacts to your client.

Watch the 40-second demo · Install · npm · Documentation

A short animated preview of ChatGPT Wrapper

The demo is an edited product presentation using captured results; it isn't an uncut recording. No API key is required, but you must sign in with your own ChatGPT account.

Quick start

Requirements: Node.js 24+, npm, a desktop environment, and a ChatGPT account. The full setup and live coding workflow have been verified on macOS; Windows and Linux still need broader testing.

1. Install and connect to Codex

npx -y @rnaefe/chatgpt-wrapper@0.6.0

The installer downloads Chromium, configures the Wrapper MCP server in Codex, and backs up any existing configuration before making changes. No clone or manual MCP config editing needed.

2. Sign in once

Complete the ChatGPT sign-in in the browser window. Wrapper keeps the session in a separate local profile. Browser verification, if requested, must be completed manually.

3. Restart Codex and try a task

Use the Wrapper MCP server to generate a TypeScript LRU cache with a short usage example. Check the task until it completes, then show me the result.

Your coding agent sends the task via MCP; Wrapper returns the result for review. It does not run generated code or change your project files.

Using a different client?

npx -y @rnaefe/chatgpt-wrapper@0.6.0 setup --client cursor
npx -y @rnaefe/chatgpt-wrapper@0.6.0 setup --client claude-desktop

These commands configure the selected MCP client; support for its configuration format doesn't imply every OS and browser combination has been tested. See installation and custom paths.

Related MCP server: AKIMCP

What it does

  • MCP interface: submit coding or analysis tasks, inspect their status, cancel work, and retrieve results.

  • Durable task queue: SQLite stores tasks and artifacts; interrupted browser work isn't silently submitted twice.

  • Browser session management: Playwright opens your saved ChatGPT session for work and closes the window afterward.

  • Developer tooling: a CLI for setup, reconnecting, updates and uninstall, plus local task diagnostics.

flowchart LR
  A[Coding agent] --> B[MCP server]
  B --> C[Local SQLite queue]
  C --> D[Playwright worker]
  D --> E[Your ChatGPT session]
  E --> F[Result and artifacts]
  F --> A

Wrapper is a task bridge, not another autonomous coding agent. Your MCP client handles planning, source files, applying changes, and reviewing generated output.

Version 0.6.0 includes code generation, code review, reasoning, image generation, image analysis and image editing, plus wait_task, get_status and chat-ready image exports. Image analysis and editing require input images; live provider access remains dependent on the account and browser UI. See MCP usage for task schemas and releases for shipped versions.

Useful commands

Version 0.6.0 also includes: selected code/PDF/DOCX attachments, durable task batches, Search research with source links, model selection, conversation continuation and terminal progress watching. See MCP feature usage.

# Check your installation without starting a browser
npx -y @rnaefe/chatgpt-wrapper@latest doctor

# Reconnect your saved session if login is needed
npx -y @rnaefe/chatgpt-wrapper@latest connect

# Upgrade a managed installation
npx -y @rnaefe/chatgpt-wrapper@latest update

# Remove Wrapper from the selected MCP client's config
npx -y @rnaefe/chatgpt-wrapper@latest uninstall

Uninstall preserves your local profile and task data so other installed clients are not unexpectedly broken. To remove your data, follow the complete removal instructions.

Good to know

Question

Answer

Is this an official OpenAI integration?

No. This is an independent experimental project that automates the ChatGPT web interface, not an official API.

Does it bypass account limits or verification?

No. Your normal account limits apply; login and browser challenges require you.

Will it work headlessly?

Headless mode is experimental and has encountered browser verification. Visible mode is the default.

Is it reliable on Windows/Linux?

Client configuration is supported in documented environments, but equivalent live end-to-end acceptance hasn't been completed.

Where is my data?

Your profile, task history and local diagnostics stay on your machine. Task prompts and uploaded content are sent to ChatGPT.

Will it edit my repository?

No. It returns results to the MCP client, which decides what to do with them.

Security: Treat the saved browser profile and local tokens as credentials. Do not publish them, and only submit data you are authorized to share. Review the provider's applicable terms. Security and privacy · Known browser limitations.

Documentation

Contributing

Issues, bug reports and small pull requests are welcome. If a provider UI change breaks a task, please share a minimal reproduction without private prompts, screenshots of your account, browser profiles or credentials.

Open an issue · Contribute · Report a security issue privately

Licensed under GPL-3.0.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Connects ChatGPT and MCP clients to authorized local development environments, enabling secure file access, shell execution, persistent tasks, browser/desktop control, and remote management of projects.
    18
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables web-based AI chat clients to securely operate a local machine through one OAuth-gated MCP endpoint, exposing governed tools for file read/write/edit, whitelisted shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost fetches, clipboard, notifications, ports, and Postman. It lets users build and edit projects, inspect databases and local APIs, drive browser workflows, and manage long-running jobs from a browser or mobile device without granting unrestricted shell access.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI clients such as Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through natural language, using a hosted OAuth-authenticated endpoint or a local stdio package. It also ships an OpenAPI codegen tool for generating MCP tools from any OpenAPI spec.
    2,914 npm
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables MCP clients to drive Codex Desktop and codex-app-server as a durable asynchronous worker for long-running tasks, with polling, approvals, Plan Mode workflows, retry safety, diagnostics, and final reporting. It also provides recovery, queueing, and repair tools for reliable local automation.
    -