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.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,打包六個 WhenLabs 開發工具,讓助理檢查連接埠衝突、環境變數結構、文件漂移、授權條款策略與任務計時。

可以做什麼
偵測專案技術堆疊並重新產生 CLAUDE.md、.cursorrules 等 AI 情境檔案,並在啟動開發伺服器前掃描連接埠衝突。依結構驗證 .env 檔案,並偵測文件與程式碼之間的漂移。掃描相依套件授權條款並依政策驗證。開始與結束編碼任務計時並記錄結果。一次呼叫彙整五個掃描器的統一報告。
適用情境
適合在 Claude Code 中工作的開發者,希望不離開編輯器就能讓助理執行專案健康檢查:技術堆疊情境檔案、連接埠衝突、環境變數驗證、文件漂移、授權條款策略與任務計時。
執行需求
透過 npm 套件安裝,以 stdio 在本機執行,需要 Node 20 或更新版本。install 指令會把伺服器註冊到 Claude Code 設定並注入 CLAUDE.md 內容;也提供手動設定方式。未宣告帳號、API 金鑰或環境變數。
安裝前請注意
安裝程式會修改 Claude Code 設定、加入 CLAUDE.md 內容並移除舊的 velocity-mcp 註冊。部分工具會寫入檔案(例如重新產生的 AI 情境檔案),掃描會讀取專案檔案,包括 .env 內容。提交前請檢查變更。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 When,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
npx @whenlabs/when install

One-time setup. The installer:

  1. Registers a single MCP server (whenlabs) in your Claude Code configuration
  2. Injects a CLAUDE.md block so Claude knows when to use each tool
  3. Cleans up any legacy velocity-mcp registration (velocity is now bundled)

The six tools

ToolPurpose
awareAuto-detect stack and generate AI context files (CLAUDE.md, .cursorrules, …)
berthDetect port conflicts before starting dev servers
envalidValidate .env files against a schema
staleDetect documentation drift between docs and code
vowScan dependency licenses and validate against policy
velocityTime coding tasks and learn from historical data

MCP tools

Eight endpoints across the six tools:

EndpointWhat it does
aware_syncDetect stack and regenerate AI context files
berth_checkScan project for port conflicts
envalid_validateValidate .env files against schema
stale_scanDetect documentation drift
vow_scanScan licenses and validate against policy
velocity_start_taskStart timing a coding task
velocity_end_taskEnd timing and record results
whenlabs_summaryUnified rollup across all five scanners in one call

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

bash
when init       # Onboard a project — detect stack, bootstrap configs, run all checkswhen doctor     # Run all six tools and show a unified health reportwhen install    # Register MCP server in Claude Codewhen uninstall  # Remove MCP server

For per-tool operations, use the tool directly:

bash
npx @whenlabs/stale scannpx @whenlabs/envalid validatenpx @whenlabs/berth checknpx @whenlabs/aware syncnpx @whenlabs/vow scan

Manual MCP configuration

If you're not using the install command, add this to your Claude Code MCP config:

json
{  "mcpServers": {    "whenlabs": {      "command": "npx",      "args": ["@whenlabs/when", "when-mcp"]    }  }}

License

MIT — see LICENSE


Built by Siddharth at WhenLabs

來源:README.md,提交 c389d5f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.12.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分