Webhook Crash Lab

io.github.Krrishkumar125由 GitHub 帳號 Krrishkumar125 發布v0.2.4更新於 Oct 29, 2026

Lets coding agents crash-test webhook handlers and re-run until they survive retries.

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

概覽

AI 產生的概覽

本機 MCP 伺服器,讓編碼代理對 webhook 處理程式做崩潰測試,涵蓋重試、重複事件與偽造簽章,並反覆重跑直到通過。

可以做什麼
  • 依設定檔執行崩潰測試,可指定情境與報告路徑,並依修復順序回傳失敗項目與修復提示
  • 以 broken 或 fixed 模式執行內建示範,無需設定即可體驗整個流程
  • 解析既有的 JSON 報告,例如 CI 產生的報告
  • 列出所有情境,說明各自檢查什麼、為何重要以及如何修復
  • 結果同時以文字與結構化內容回傳,設定缺失或無效時以錯誤結果回傳而非崩潰
適用情境
適合代理撰寫或審查 webhook 處理程式(例如 Stripe 風格端點)時,用「執行、讀取結構化失敗、修復、重跑」的循環在上線前驗證。也適合解讀 CI 產生的崩潰測試報告。
執行需求
以本機 stdio 程序執行,通常透過 npx 啟動 npm 套件 webhook-crash-lab-mcp,需要 Node.js 以及下載該套件的網路存取。主要工具需要指向目標伺服器的崩潰測試設定檔(JavaScript 或 TypeScript);示範模式無需設定。未宣告帳號、API 金鑰或環境變數。
安裝前請注意
設定檔會以程式碼形式執行,只使用可信任的設定。工具會向設定中的目標送出請求,應僅指向本機伺服器以及測試資料庫與測試密鑰,切勿使用正式環境網址或真實密鑰。報告與失敗詳情會回傳給模型。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

webhook-crash-lab-mcp

[CI] [npm] [downloads]

Coding agents write webhook handlers that work for one test event and break in production on retries, duplicates and forged signatures. This package gives them a loop: run webhook-crash-lab → read structured failures with fix hints → fix → re-run.

It ships three things:

WhatWhere
MCP serverwebhook-crash-lab-mcp (stdio, official MCP TypeScript SDK)src/
Claude Code pluginskill + MCP server config.claude-plugin/, skills/, .mcp.json
Codex / any-agent skillsame skill in the open Agent Skills format, plus an AGENTS.md snippet.agents/skills/, docs/AGENTS-snippet.md

Tools

ToolInputReturns
run_crash_labconfigPath, cwd?, scenarios?, reportPath?ok, counts, failures[] (id, failed checks, why, fix) in fix order, notTested[], nextSteps[]
run_demomode: "broken" | "fixed"same shape, against the built-in demo app (no config needed)
explain_reportreportPath or report (JSON from webhook-crash-lab run --json)same shape, e.g. for a CI report
list_scenarios–every scenario with what / why / fix

Every result comes back as text for the model and structuredContent (with an outputSchema) for clients. Errors such as a missing or invalid config come back as isError results, not crashes.

60-second start

[Install in VS Code] [Install in Cursor]

Claude Code

sh
claude mcp add webhook-crash-lab -- npx -y [email protected]# or the full plugin (MCP server + skill):#   /plugin marketplace add Krrishkumar125/webhook-crash-lab-mcp#   /plugin install webhook-crash-lab@webhook-crash-lab

Codex

sh
codex mcp add webhook-crash-lab -- npx -y [email protected]mkdir -p .agents/skills && cp -r node_modules/webhook-crash-lab-mcp/.agents/skills/webhook-crash-lab .agents/skills/

Cursor / other MCP clients

json
{  "mcpServers": {    "webhook-crash-lab": { "command": "npx", "args": ["-y", "[email protected]"] }  }}

The examples pin the version so npx never silently runs a newer release. To update, check the latest with npm view webhook-crash-lab-mcp version, read the releases, then change @0.2.4 to the new version in your MCP config and restart the client.

Then ask: "Run the webhook crash lab demo", or "Make my Stripe webhook pass webhook-crash-lab". Paste docs/AGENTS-snippet.md into AGENTS.md / CLAUDE.md to make it a standing rule.

Safety

run_crash_lab imports your crash-lab config (.mjs/.js/.cjs, or .ts/.mts/.cts via the bundled jiti) (it is code, like any config file) and sends requests to its target. Point configs at a local server and a test database and secret only. The skill tells agents never to use production URLs or live secrets.

Related

Sibling packages

Other tools by the same author:

License

MIT © Krrish Kumar

來源:README.md,提交 477feed

工具

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

版本歷史

1
  1. v0.2.4最新Oct 29, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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