cursor-chatgpt-web

cursor-chatgpt-web

MCP server enabling Cursor to delegate complex coding tasks to ChatGPT Web (GPT-5.6 Sol High) via Temporary Chats, supporting parallel batch reviews and up to five concurrent sessions.

Category
访问服务器

README

ChatGPT Web for Cursor

Use your ChatGPT Web account from Cursor as a GPT-5.6 Sol High specialist.

Cursor stays the parent agent (Grok / Claude / Composer). When a task needs stronger independent reasoning, it delegates through MCP. Each job gets its own ChatGPT Temporary Chat. Up to five specialists can run at once.

This is a Cursor-oriented fork of miuuyy/codex-chatgpt-web. It reuses that project's launcher, login, Temporary Chat worker, High → Sol slider mapping, and five-tab cap. It does not live inside Automationation or any other product repo.

The source path requires Bun 1.3.14.

What V1 feels like

You work in Cursor on Grok (or Claude / Composer):

Repair the assistant confirmation system and don't regress tenant isolation.

Cursor investigates with its own tools. When the architecture is genuinely hard, it calls:

chatgpt_web_turn({
  mode: "high",
  prompt: "<focused envelope: task, goal, relevant code, constraints, deliverable>"
})

GPT-5.6 Sol High runs in a fresh Temporary Chat and returns root cause, risk, a safest fix, and tests. Cursor edits, runs tests, and continues.

For independent parallel review:

chatgpt_web_batch({
  mode: "high",
  tasks: [
    { id: "architecture", prompt: "Review architecture." },
    { id: "tests", prompt: "Analyze failing tests." },
    { id: "security", prompt: "Look for authorization risks." }
  ]
})

Modes

Path Status How
MCP specialist Supported V1 Parent agent calls chatgpt_web_turn / chatgpt_web_batch
Model picker Experimental Custom model chatgpt-web-high through a local OpenAI-compatible bridge, only after capturing your Cursor build's traffic
Native Task(model=chatgpt-web-high) Probe only Enabled only if Cursor actually honors the custom model

Default specialist:

chatgpt-web-high → GPT-5.6 Sol → High reasoning (slider index 2)

The selected model ID is authoritative. Cursor Fast/Effort must never silently change High into another mode.

Session rules

  • No threadId → one job, one Temporary Chat, then the browser slot is released.
  • Same in-flight job (cancel, later tool roundtrips) → same Temporary Chat. If GPT Web returns awaitingTools, Cursor executes the toolCalls and continues with the same jobId.
  • Explicit threadId → persist specialist history across later MCP calls. The physical tab is still recycled; history is replayed into a new Temporary Chat.
  • Max 5 live browser sessions. A sixth concurrent job fails with chatgpt_web_tab_limit (HTTP 429).
  • Cursor owns project memory. GPT Web only sees the compiled envelope for that job.

Quick start

git clone https://github.com/Rakeem-C/cursor-chatgpt-web.git cursor-chatgpt-web
cd cursor-chatgpt-web
bun install --frozen-lockfile
bun run src/cli.ts setup --browser-only --acknowledge-unofficial

setup --browser-only writes ~/.cursor/mcp.json unless you pass --skip-cursor-install, and writes the Codex MCP specialist unless you pass --skip-codex-install. Then restart Cursor and/or Codex. The parent agent should see MCP tools:

  • chatgpt_web_turn
  • chatgpt_web_batch
  • chatgpt_web_status
  • chatgpt_web_cancel

The Cursor specialist server is cursor-chatgpt-web cursor-mcp. Codex uses that same server via install-codex (~/.codex/config.toml [mcp_servers.chatgpt-web]). The original ChatGPT-side Codex connector remains cursor-chatgpt-web mcp. Do not set Override OpenAI Base URL / openai_base_url for this path. See Codex GPT Web.

Sign-in still uses the upstream launcher/browser flow. Being logged in at https://chatgpt.com/ in everyday Chrome is not enough: setup / login opens a dedicated Chrome window, copies allowlisted ChatGPT cookies into a private profile, then closes that window. Use passkeys or the same Google account in that window. Temporary Chat is a ChatGPT privacy mode, not anonymity. This project is unofficial.

Simulated MCP (no ChatGPT login)

CURSOR_CHATGPT_WEB_SIMULATE=1 bun run src/cli.ts cursor-mcp

Use this only to verify Cursor can call the tools. It does not contact ChatGPT.

Autonomy policy

Use GPT Web High when:

  • architecture is ambiguous
  • root cause is difficult
  • several plausible implementations exist
  • security or authorization needs independent review
  • a large refactor needs a second opinion
  • repeated tests are failing without an obvious cause

Do not use GPT Web for trivial edits, formatting, simple searches, or one-line fixes.

install-cursor writes that policy to ~/.cursor/agents/chatgpt-web.md. install-codex writes the Codex wrapper to ~/.codex/agents/chatgpt-web.toml and ~/.codex/skills/gpt-web-use.

Experimental picker

Do not enable Override OpenAI Base URL until you capture real traffic from your installed Cursor:

bun run probe

Point Cursor at http://127.0.0.1:17843/v1, send Ask and Agent prompts, then inspect src/cursor/fixtures/captured/. If the shapes are safe, cursor-serve exposes /v1/models, /v1/chat/completions, and /v1/responses for unique IDs only (chatgpt-web-high, never gpt-5.5).

Commands

cursor-chatgpt-web setup --browser-only
cursor-chatgpt-web login
cursor-chatgpt-web doctor
cursor-chatgpt-web cursor-mcp
cursor-chatgpt-web install-cursor
cursor-chatgpt-web install-codex
cursor-chatgpt-web uninstall-codex
cursor-chatgpt-web cursor-status
cursor-chatgpt-web test-gpt-web --simulate
cursor-chatgpt-web cursor-serve
cursor-chatgpt-web probe --checklist
cursor-chatgpt-web probe-subagent
cursor-chatgpt-web mcp          # original Codex Native connector

Development

bun run app
bun test tests/*.test.ts
bun run typecheck
bun run verify

Disclaimer

Independent software, not affiliated with OpenAI or Cursor. Use only with your own ChatGPT account and in accordance with applicable terms. It does not bypass authentication or usage limits. UI drift fails closed.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选