Access ChatGPT Plus/Pro features—chat, deep research, image generation, code execution, agent mode—as MCP tools by reusing your existing Codex login credentials and the gpt2agent CLI.
ChatGPT Pro Deep Research via gpt2agent. Two modes: light (model=research, 30-120s, citations preserved) and heavy (gpt-5-5-pro + connector, 5-30 min, long-form report recovered from the connector widget state, citations included). Reuses ~/.codex/auth.json — no extra login. Costs 1 quota per call out of Pro monthly budget (248/cycle). Output saved as Markdown. Use when asked to "deep research", "DR", "ChatGPT deep research", "research <topic>", "go deep on <topic>", or when a question genuinely needs web-augmented multi-source synthesis beyond what training data covers.
Full ChatGPT Plus/Pro account access via MCP. 25 tools covering chat, agent mode, deep research, image generation, code execution, canvas, memory, custom instructions, conversations, Custom GPTs, and Codex. Reuses ~/.codex/auth.json (same as Codex CLI) — no extra login needed. Use when you need ChatGPT models, web research with citations, DALL-E image gen, Python sandbox execution, or ChatGPT account management.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
MCP server for your ChatGPT account:
codex login→ ChatGPT Plus/Pro inside any MCP client.
An MCP server that puts your ChatGPT Plus or Pro subscription — every model and the account-tier features below — inside Claude Code, Codex, Cursor, Windsurf, Zed, and any MCP client.
📖 Quickstart · Client setup · Troubleshooting · FAQ · Docs index
gpt2agent exposes 25 MCP tools that forward requests directly to ChatGPT's backend API.
No proxy process. No separate account. No platform API key. Your codex login,
your token, your quota.
If you already have the codex CLI logged in,
setup is zero extra steps — gpt2agent reuses the same ~/.codex/auth.json
bearer and picks up its background-refreshed token automatically.
Works with Claude Code, Codex CLI, and any client that speaks the MCP protocol over stdio.
curl -fsSL https://raw.githubusercontent.com/robotlearning123/gpt2agent/main/install.sh | bash
That command:
gpt2agent via pipx (creates an isolated env; falls back to a git install if PyPI is unreachable).~/.codex/auth.json if you've run codex login — no separate ChatGPT token paste needed.deep-research + gpt2agent) into ~/.claude/skills/.# 1. Install the package globally (isolated venv)
pipx install gpt2agent
# 2. Register with all detected MCP clients (Claude Code, Codex)
gpt2agent install # auto-detect everything
# Want only one client?
gpt2agent install --client claude-code # or: codex, cursor, windsurf, claude-desktop, zed
# (VS Code & Cline: see docs/clients.md for the manual snippet)
# HTTP transport instead of stdio?
gpt2agent install --transport http --http-port 9000
/plugin marketplace add robotlearning123/gpt2agent
/plugin install gpt2agent@gpt2agent
This bundles the MCP server registration + both skills in one step. You still need
the gpt2agent CLI on PATH (pipx install gpt2agent) — the plugin wires the server
(gpt2agent run --stdio) and skills, not the Python package itself.
The install subcommand writes the right thing for each:
| Client | File | Section |
|---|---|---|
| Claude Code | ~/.claude.json | mcpServers.gpt2agent (stdio: gpt2agent run --stdio) |
| Codex CLI | ~/.codex/config.toml | [mcp_servers.gpt2agent] |
Both are idempotent and back up the prior file as <name>.bak-gpt2agent.
After running install, restart Claude Code so it re-spawns the subprocess.
Codex picks up the new server on its next invocation automatically.
Claude Code — add to ~/.claude.json:
{
"mcpServers": {
"gpt2agent": {
"type": "stdio",
"command": "gpt2agent",
"args": ["run", "--stdio"]
}
}
}
Codex CLI — add to ~/.codex/config.toml:
[mcp_servers.gpt2agent]
command = "gpt2agent"
args = ["run", "--stdio"]
gpt2agent setup
Prompts for a ChatGPT session token (saved to ~/.gpt2agent/token.json, mode
600), detects your plan, and registers gpt2agent with your detected MCP clients
over stdio — the same wiring as gpt2agent install. The codex login flow is
preferred when available because codex auto-refreshes its token; gpt2agent reloads
~/.codex/auth.json on mtime change so long calls don't 401 mid-flight.
Copilot-style Claude Code context and token management. Doctor scans your past token usage, recommends official-docs-based fixes, and keeps watch from the statusline. Ships across four surfaces: CLI, MCP server, Claude Code plugin, slash-command skill.
Collection of scientific skills
npx claudepluginhub robotlearning123/gpt2agent --plugin gpt2agentDelegate plan execution to Codex CLI via ASP. Part of cc-multi-cli-plugin. Requires the `multi` plugin.
Transform Claude Code into a structured development platform with 29 /sc: commands, 23 specialized agents, 7 behavioral modes, and MCP server integration
One plugin to bridge and delegate across Claude Code, Codex CLI, and Gemini CLI — single-source AGENTS.md, shared skills, mirrored hooks and MCP servers, and full Claude↔Codex bidirectional delegation.
Configurable MCP wrapper that consolidates your tools into just 3, using semantic search for on-demand discovery and sandboxed TypeScript execution. Ships with 7 example servers (96 tools) - reduces context consumption by 97% (48k tokens down to 1.1k).
Sub-agent runner — runs agent definitions on Codex, Claude Code, Cursor CLI, or Gemini CLI from any host AI tool.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer