TapTap Maker 项目同步后 MCP cwd 与项目目录不匹配
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户2661
**客户端版本**: 0.1.69
---
## 问题概述
在 Windows 本地 Maker 项目中,通过插件选择项目、选择父目录并完成同步后,从该项目进入 TapTap Maker。项目绑定和同步均正常,但 Maker MCP 状态持续显示项目上下文 cwd 不匹配。
## 复现步骤
1. 在插件中选择一个 Maker 项目。
2. 选择项目父目录并执行同步。
3. 在同步后的项目工作区中访问 TapTap Maker。
4. 查看 Maker 状态诊断。
## 期望行为
MCP 服务应继承当前活动 Maker 项目目录作为工作目录,并将其识别为项目根目录。
## 实际行为
状态显示:
- inspected_target_dir:当前 Maker 项目目录
- maker_project_dir:当前 Maker 项目目录
- mcp_cwd:与项目目录不一致
- mcp_cwd_project_dir:未识别到 Maker 项目
- 状态:mismatch
## 复现频率
每次执行该流程并检查状态时均可复现。
## 影响
项目文件、绑定和同步本身不受影响,普通代码编辑通常正常。但依赖 MCP 默认工作目录的构建、预览、提交、远程同步或资源生成操作,可能找不到项目、执行失败,或解析到错误目录。显式指定当前项目目录时风险可降低。
## 已尝试
已确认项目配置、Git 根目录、Maker 工具注册和本地开发环境正常;未修改共享用户级 MCP 配置。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.22000)
**Harness**: Codex
**Model ID**: ` gpt-5.6-sol `
**界面语言**: zh-CN
Contributor guide
Research direction
Start by reproducing the Windows plugin sync flow described in the issue, then trace the Maker project sync and MCP status-diagnostic entry points. Compare the inspected project directory, maker_project_dir, mcp_cwd, and mcp_cwd_project_dir values; done means the MCP context inherits the active Maker project root and the status reports a match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100