Tech
[分享创造] code-deep:给 Coding Agent 的两个 MCP 工具 —— 改代码前 explore,改完 review
用 Coding Agent 改代码时的一个常见浪费:上来 grep 关键字 → 读五个文件 → 发现方向不对 → 再 grep ,token 烧完了还没定位准,改完也说不清影响面有多大。
做了个 MCP server 解决这个,MIT ,已发 npm 。
https://github.com/team-harness/code-deep
npm i -g @team-harness/code-deep
code-deep install --target codex,claude
install 会自动给 Codex 和 Claude Code 注册全局 MCP server 、往 ~/.codex/ AGENTS.md 和 ~/.claude/ CLAUDE.md 写一段带标记的指引、给 Claude 加上对应权限。它保留无关配置、每个改动的文件备份成 <file>.code-deep.bak 、可重复执行。装完重启一下 host 。
暴露给 Agent 的接口刻意做得很小, 只有两个 。
explore:改之前先搞清...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX