chatgpt-web-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHATGPT_WEB_CHROME | No | Absolute path to the browser executable | |
| CHATGPT_WEB_PROFILE | No | Dedicated browser profile directory | |
| CHATGPT_WEB_HEADLESS | No | Whether to run headless (default: 'false') | |
| CHATGPT_WEB_PRO_TIER | No | Name of the highest tier on the slider (default: 'Pro') | |
| CHATGPT_WEB_NETWORK_LOG | No | Path to network diagnostic log file | |
| CHATGPT_WEB_DEFAULT_TIER | No | Default tier for normal requests and fallback (default: '极高') | |
| CHATGPT_WEB_PROBE_PROMPT | No | Prompt used for temporary identity probe (default: '你是什么模型?') | |
| CHATGPT_WEB_AUTH_CACHE_MS | No | Local cache duration for login state in milliseconds | |
| CHATGPT_WEB_BROWSER_STATE | No | Path to browser state file | |
| CHATGPT_WEB_RUNTIME_STATE | No | Path to runtime state file | |
| CHATGPT_WEB_OPERATION_LOCK | No | Path to cross-process browser exclusive lock file | |
| CHATGPT_WEB_PROBE_ACCEPT_ID | No | Accepted classification ID for probe (default: 'gpt-5.6-pro') | |
| CHATGPT_WEB_SEND_INTERVAL_MS | No | Interval between sends in milliseconds (default: 30000) | |
| CHATGPT_WEB_ACTION_TIMEOUT_MS | No | Timeout for a single page action in milliseconds | |
| CHATGPT_WEB_PROBE_FALLBACK_ID | No | Fallback classification ID for probe (default: 'gpt-5.5-mini') | |
| CHATGPT_WEB_PRO_PROBE_CACHE_MS | No | Cache duration for reliable probe results in milliseconds | |
| CHATGPT_WEB_RECONNECT_DELAY_MS | No | Delay between browser reconnection attempts in milliseconds | |
| CHATGPT_WEB_RESPONSE_TIMEOUT_MS | No | Timeout for normal tier response in milliseconds | |
| CHATGPT_WEB_PROBE_ACCEPT_PATTERN | No | Regex pattern to match accepted probe answer (default: GPT-5.6 Pro regex) | |
| CHATGPT_WEB_PROBE_FALLBACK_PATTERN | No | Regex pattern to match fallback probe answer (default: GPT-5.5 mini regex) | |
| CHATGPT_WEB_HISTORY_QUIET_PERIOD_MS | No | Quiet period for history rate limiting in milliseconds (default: 300000) | |
| CHATGPT_WEB_SITE_ACTION_INTERVAL_MS | No | Interval between site actions in milliseconds (default: 5000) | |
| CHATGPT_WEB_POST_BREAKER_COOLDOWN_MS | No | Cooldown after manual breaker reset before site operations in milliseconds (default: 300000) | |
| CHATGPT_WEB_PAGE_INTERACTION_INTERVAL_MS | No | Interval between page interactions in milliseconds (default: 1000) | |
| CHATGPT_WEB_CONVERSATION_CHANGE_INTERVAL_MS | No | Interval between conversation changes in milliseconds (default: 30000) | |
| CHATGPT_WEB_POST_RESPONSE_CONVERSATION_COOLDOWN_MS | No | Cooldown after response before switching conversations in milliseconds (default: 30000) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| chatgpt_statusA | 检查专用浏览器、登录、当前对话、模式与临时对话状态。仅在诊断或确需状态时调用;正常发送无需预先调用。默认不展开高级菜单。 |
| chatgpt_browser_lifecycleA | 读取专用 ChatGPT 浏览器的常驻状态。MCP 调用结束后浏览器会继续保持打开,后续调用直接接管,不重复进站。 |
| chatgpt_close_browserA | 明确关闭 ChatGPT MCP 的专用常驻浏览器。仅在用户明确要求关闭时调用。 |
| chatgpt_capabilitiesA | 一次读取当前模式、模型、思考强度、临时状态和少量可见历史摘要;用于确需综合预检时,避免连续调用多个状态工具。不会展开模型或思考强度子菜单。 |
| chatgpt_list_modesA | 列出 ChatGPT 新版页面顶部当前可用的模式,例如“聊天”和“工作”。 |
| chatgpt_select_modeA | 选择 ChatGPT 新版页面顶部模式,例如“聊天”或“工作”,并校验选中状态。 |
| chatgpt_list_modelsA | 按“当前档位→高级→模型”的页面层级,动态列出当前 ChatGPT 账号实际可用的模型。不要猜测模型名称。 |
| chatgpt_select_modelA | 按“当前档位→高级→模型”选择当前对话使用的模型,并校验结果。 |
| chatgpt_list_thinking_levelsA | 按“当前档位→高级→思考强度”的页面层级,列出账号实际可用的思考强度。 |
| chatgpt_select_thinking_levelA | 选择 ChatGPT 网页当前对话的思考强度,并校验页面显示的结果。 |
| chatgpt_answer_tier_statusA | 读取输入框右侧能力滑杆的当前档位和可访问值域,例如“极高,第 4 项,共 5 项”。不会发送提示词。 |
| chatgpt_select_answer_tierA | 选择输入框右侧的能力档位。当前支持精确选择配置的最高档“Pro”,并校验页面显示结果。 |
| chatgpt_new_chatA | 创建新的普通或临时对话,并可同时选择模式、模型、思考强度和能力档位。 |
| chatgpt_set_temporaryA | 开启或关闭新对话的临时对话模式,并通过页面状态进行校验。切换可能会打开一个新对话。 |
| chatgpt_write_promptA | 把提示词准确写入 ChatGPT 网页输入框但不发送,适合先上传文件或让用户检查草稿。 |
| chatgpt_upload_filesA | 向当前 ChatGPT 对话上传用户明确授权的本地文件。路径必须是绝对路径。不会自动发送提示词。 |
| chatgpt_submit_promptB | 发送当前输入框中的提示词,并可等待 ChatGPT 网页回答完成。当前能力档位为“Pro”或模型名称带 Pro 时自动无限等待,timeoutMs 仅用于普通档位。 |
| chatgpt_send_messageA | 组合工具:可新建或继续对话、选择模式/模型/思考强度/能力档位、切换临时对话、上传文件、写入提示词、发送并取得回答。能力档位为“Pro”或模型名称带 Pro 时自动无限等待;普通档位仍使用 timeoutMs。只有用户明确要求上传时才传 files。 |
| chatgpt_probe_pro_identityA | 执行 Pro 身份探针:默认优先复用 30 分钟内同模式的可靠结果;没有缓存时才新建临时对话、切到“Pro”、发送“你是什么模型?”并无限等待。返回原回答及配置的接受/回退/unknown 分类,不创建正常对话。 |
| chatgpt_route_new_chatA | 按可配置策略新建并发送:普通请求使用“极高”;明确请求 Pro 时先执行临时身份探针,命中“gpt-5.6-pro”才在正常对话继续使用“Pro”,命中“gpt-5.5-mini”则回退默认档位,其他回答停止。浏览器始终常驻。 |
| chatgpt_list_historyA | 列出 ChatGPT 侧栏当前加载的历史对话,可按标题筛选。返回 title、conversationId 和 URL。 |
| chatgpt_search_historyA | 使用 ChatGPT 网页自带的“搜索聊天”界面查找历史对话,因此不受侧栏当前加载数量限制。返回 title、conversationId 和 URL。 |
| chatgpt_select_historyA | 通过 conversationId、ChatGPT /c/... URL 或唯一标题打开历史对话,并返回最近一条回答。优先使用 ID。 |
| chatgpt_get_latest_responseA | 读取当前 ChatGPT 对话最近一条完整回复和对话状态。默认不为状态展示额外展开高级菜单。 |
| chatgpt_circuit_breaker_statusA | 只读取本地安全熔断和未确认生成任务状态,不访问 ChatGPT 网页。 |
| chatgpt_clear_circuit_breakerA | 仅在用户已经人工确认 ChatGPT 限流提示消失后,清除本地安全熔断。不会访问网页。 |
| chatgpt_network_diagnosticsA | 读取本地脱敏网络异常记录。只包含时间、方法、脱敏路径、状态码和资源类型;不含查询参数、Cookie、请求体或响应体。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Goudu666/chatgpt-web-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server