
When
io.github.WhenLabs-org由 GitHub 账号 WhenLabs-org 发布v0.12.3更新于 Oct 24, 2026
The WhenLabs developer toolkit — 6 tools, 7 MCP endpoints, one install.
概览
一个本地 MCP 服务器,打包六个 WhenLabs 开发工具,让助手检查端口冲突、环境变量架构、文档漂移、许可证策略和任务计时。
- 可以做什么
- 检测项目技术栈并重新生成 CLAUDE.md、.cursorrules 等 AI 上下文文件,并在启动开发服务器前扫描端口冲突。按架构校验 .env 文件,并检测文档与代码之间的漂移。扫描依赖许可证并按策略校验。开始和结束编码任务计时并记录结果。一次调用汇总五个扫描器的统一报告。
- 适用场景
- 适合在 Claude Code 中工作的开发者,希望不离开编辑器就能让助手执行项目健康检查:技术栈上下文文件、端口冲突、环境变量校验、文档漂移、许可证策略和任务计时。
- 运行要求
- 通过 npm 包安装,以 stdio 在本地运行,需要 Node 20 或更高版本。install 命令会把服务器注册到 Claude Code 配置并注入 CLAUDE.md 内容;也提供手动配置方式。未声明账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 When,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@whenlabs/when
Six tools. One install.
A single installable toolkit that brings six WhenLabs developer tools into your Claude Code workflow. After install, the tools are exposed over a single MCP server and Claude calls them automatically when relevant.
[when doctor — six tools, one unified health report]
Install
One-time setup. The installer:
- Registers a single MCP server (
whenlabs) in your Claude Code configuration - Injects a CLAUDE.md block so Claude knows when to use each tool
- Cleans up any legacy
velocity-mcpregistration (velocity is now bundled)
The six tools
MCP tools
Eight endpoints across the six tools:
All eight are served by the single whenlabs MCP server (stdio, Node 20+). Fix/init/auxiliary commands remain available via each tool's CLI (npx @whenlabs/<tool> --help).
CLI
For per-tool operations, use the tool directly:
Manual MCP configuration
If you're not using the install command, add this to your Claude Code MCP config:
License
MIT — see LICENSE
来源:README.md,提交 c389d5f
工具
0版本历史
1- v0.12.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分