CTC WorkVault 在同一 ChatGPT 对话的后续轮次中从工具层消失
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- express, node.js
- Domain
- api, backend, infrastructure
Research direction
No repository files or tests are named. Start by reproducing the failure with npx -y run-ctc@0.1.2 D:\WorkVault, the local MCP endpoint, and the Cloudflare Tunnel, comparing the original and newly opened ChatGPT conversations. Done means identifying a repository-side cause for tool disappearance or the proxy-header error, with a regression check for the affected behavior.
Written by the indexing model from the issue text.
Description
Bug:CTC WorkVault 在同一 ChatGPT 对话的后续轮次中从工具层消失
环境
- Windows
- 工作区:
D:\WorkVault - CTC 启动命令实际为:
npx -y run-ctc@0.1.2 D:\WorkVault - 本地 MCP:
http://127.0.0.1:5594/mcp - Cloudflare Tunnel:
cloudflared tunnel --url http://127.0.0.1:5594 - ChatGPT 中已安装个人开发者插件
CTC WorkVault
现象
首次进入由 CTC 打开的 ChatGPT 对话后,CTC 工具可以正常调用,包括 list_dir、read_file、apply_patch 等。
但经过若干轮对话后,下一条消息中 CTC 会突然从 ChatGPT 的工具层消失。此时模型无法再调用 CTC,即使本机 CTC 服务、MCP 端口、Cloudflare Tunnel 都仍正常运行。
典型错误:
No tool was defined under the given paths.
Valid namespaces are: 'Gmail', 'Google_Calendar',
'Google_Contacts', 'Plugin_Management', 'files'.
另一次实际调用返回:
The `CTC_WorkVault` tool has been disabled.
Do not send any more messages to=CTC_WorkVault.
已确认的排查结果
- 故障发生时,本机服务没有退出:
node.exe ... run-ctc@0.1.2 D:\WorkVault
node.exe ... coding-tools-conductor\dist\index.js D:\WorkVault
cloudflared.exe tunnel --url http://127.0.0.1:5594
127.0.0.1:5594 LISTENING
-
ChatGPT 的插件管理页仍显示
CTC WorkVault已安装。 -
插件“管理 → 刷新”后,管理页能正常列出二十多个 CTC 工具,说明 MCP 工具发现本身正常。
-
出故障的旧对话中,编辑框旁的“插件”入口消失,搜索插件时也找不到 CTC。
-
点击插件页的“在聊天中试用”后,新开的 ChatGPT 对话会重新出现“插件”入口,且
CTC WorkVault已勾选;在新对话中工具可再次使用。 -
旧对话和新对话使用的是同一个插件 App ID,不是重复安装或 App ID 不一致。
初步判断
问题似乎不在 CTC 服务、MCP 地址或 Cloudflare 隧道,而在 ChatGPT 对“个人开发者插件 / App”的对话级或轮次级工具挂载状态:
- 初始对话能挂载;
- 若干轮后挂载被移除或禁用;
- 刷新工具清单不能把工具重新挂回旧对话;
- 只能通过“在聊天中试用”创建新对话恢复;
- 但新对话会丢失旧对话上下文,影响长任务连续执行。
另一个相关错误
经 Cloudflare Tunnel 访问时,CTC 终端出现:
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false
code: ERR_ERL_UNEXPECTED_X_FORWARDED_FOR
这似乎是 express-rate-limit 与 Cloudflare 反向代理头之间的配置问题。它未导致 CTC 进程退出,但可能影响代理访问或限流判断。建议在经 Tunnel 提供服务时正确配置 Express trust proxy。
期望行为
- CTC 一旦被选入某个 ChatGPT 对话,应在后续轮次持续可调用。
- 即使工具暂时失效,也应提供“重新挂载到当前对话”的机制,而不是只能新开对话。
- Cloudflare Tunnel 场景不应触发
ERR_ERL_UNEXPECTED_X_FORWARDED_FOR。 - 建议启动脚本固定或明确提示版本;当前实际运行的是
0.1.2,容易误以为已升级到0.2.2。
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 190
- Avg merge
- 1d 44m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xyTom/coding-tools-mcp
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
xyTom/coding-tools-mcp#81 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xyTom/coding-tools-mcp#80 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
xyTom/coding-tools-mcp#79 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
xyTom/coding-tools-mcp#48 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
xyTom/coding-tools-mcp#47 ·
All issues in xyTom/coding-tools-mcp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100