Bug 描述 / Bug Description
在 Cursor 中接入蓝湖MCP 插件可正常连通、能识别并调用所有注册工具;但在 Trae 编辑器中,相同蓝湖 MCP 配置完全一致、连接状态正常,在AI联调对话里无法检测到MCP注册的任何工具,对应蓝湖功能完全无法使用,反复修改配置、重启软件均无效。
In Cursor, the Lanhu MCP plugin can be connected normally, and all registered tools can be identified and called. But in Trae editor, with the same Lanhu MCP configuration and normal connection status, the AI dialogue cannot detect any tools registered by MCP, the corresponding Lanhu function cannot be used at all, and repeated configuration modification and software restart are invalid.
复现步骤 / Steps to Reproduce
详细的复现步骤:
Steps to reproduce the behavior:
- 在 Cursor 配置蓝湖 MCP,连接成功,AI 可正常识别并调用工具
- 在 Trae 设置中复制完全一致的 MCP 配置,保存后显示连接正常
- 进入 Trae AI 对话联调场景
- 主动触发蓝湖相关能力调用,AI 无任何 MCP 工具匹配,功能不可用
- 重启 Trae、重新保存配置、重载 MCP 服务,问题依旧存在
期望行为 / Expected Behavior
Trae 中蓝湖 MCP 配置连通后,应和 Cursor 表现一致,AI 对话能自动识别 MCP 注册的所有工具,可正常调用蓝湖相关能力。
A clear and concise description of what you expected to happen.
实际行为 / Actual Behavior
Trae 端 MCP 配置显示已连通无报错,但 AI 对话上下文完全读取不到 MCP 注册的工具列表,无法触发任何蓝湖插件能力。
A clear and concise description of what actually happened.
截图 / Screenshots
If applicable, add screenshots to help explain your problem.
(自行补充:Trae MCP连通页面、AI无工具提示页面、Cursor正常可用对比截图)
cursor:
trae:

配置:
环境信息 / Environment
请完成以下信息:
Please complete the following information:
- 操作系统 / OS: macOS
- Python 版本 / Python Version: 3.11.4
- 项目版本 / Project Version: 蓝湖 MCP 最新正式版
- 依赖版本 / Dependencies:
fastmcp==0.4.2
httpx==0.27.2
playwright==1.48.0
beautifulsoup4==4.12.3
相关日志 / Related Logs
If there are related error logs or stack traces, please paste them here.
Trae 端无明显报错日志,MCP 进程启动正常、握手成功,无堆栈报错;仅 AI 层无法拉取工具列表。
附加信息 / Additional Context
同一套蓝湖 MCP 配置、本地环境、网络环境,Cursor 完美兼容可用,仅 Trae 存在工具发现逻辑异常;已排除路径权限、网络代理、配置格式错误等基础问题。
Bug 描述 / Bug Description
在 Cursor 中接入蓝湖MCP 插件可正常连通、能识别并调用所有注册工具;但在 Trae 编辑器中,相同蓝湖 MCP 配置完全一致、连接状态正常,在AI联调对话里无法检测到MCP注册的任何工具,对应蓝湖功能完全无法使用,反复修改配置、重启软件均无效。
In Cursor, the Lanhu MCP plugin can be connected normally, and all registered tools can be identified and called. But in Trae editor, with the same Lanhu MCP configuration and normal connection status, the AI dialogue cannot detect any tools registered by MCP, the corresponding Lanhu function cannot be used at all, and repeated configuration modification and software restart are invalid.
复现步骤 / Steps to Reproduce
详细的复现步骤:
Steps to reproduce the behavior:
期望行为 / Expected Behavior
Trae 中蓝湖 MCP 配置连通后,应和 Cursor 表现一致,AI 对话能自动识别 MCP 注册的所有工具,可正常调用蓝湖相关能力。
A clear and concise description of what you expected to happen.
实际行为 / Actual Behavior
Trae 端 MCP 配置显示已连通无报错,但 AI 对话上下文完全读取不到 MCP 注册的工具列表,无法触发任何蓝湖插件能力。
A clear and concise description of what actually happened.
截图 / Screenshots
If applicable, add screenshots to help explain your problem.
(自行补充:Trae MCP连通页面、AI无工具提示页面、Cursor正常可用对比截图)
cursor:
trae:
环境信息 / Environment
请完成以下信息:
Please complete the following information:
相关日志 / Related Logs
If there are related error logs or stack traces, please paste them here.
附加信息 / Additional Context
同一套蓝湖 MCP 配置、本地环境、网络环境,Cursor 完美兼容可用,仅 Trae 存在工具发现逻辑异常;已排除路径权限、网络代理、配置格式错误等基础问题。