
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.
概覽
本機 MCP 伺服器,讓編碼代理對 webhook 處理程式做崩潰測試,涵蓋重試、重複事件與偽造簽章,並反覆重跑直到通過。
- 可以做什麼
- 依設定檔執行崩潰測試,可指定情境與報告路徑,並依修復順序回傳失敗項目與修復提示
- 以 broken 或 fixed 模式執行內建示範,無需設定即可體驗整個流程
- 解析既有的 JSON 報告,例如 CI 產生的報告
- 列出所有情境,說明各自檢查什麼、為何重要以及如何修復
- 結果同時以文字與結構化內容回傳,設定缺失或無效時以錯誤結果回傳而非崩潰
- 適用情境
- 適合代理撰寫或審查 webhook 處理程式(例如 Stripe 風格端點)時,用「執行、讀取結構化失敗、修復、重跑」的循環在上線前驗證。也適合解讀 CI 產生的崩潰測試報告。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx 啟動 npm 套件 webhook-crash-lab-mcp,需要 Node.js 以及下載該套件的網路存取。主要工具需要指向目標伺服器的崩潰測試設定檔(JavaScript 或 TypeScript);示範模式無需設定。未宣告帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Webhook Crash Lab,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
webhook-crash-lab-mcp
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:
Tools
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
Codex
Cursor / other MCP clients
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
- webhook-crash-lab: the CLI/library this wraps
- eslint-plugin-webhook-safety and eslint-plugin-bullmq: the same bugs, caught statically
Sibling packages
Other tools by the same author:
- secret-blast-radius: what a malicious npm install could steal, plus a rotation plan
- zod-india: Zod schemas for GSTIN, PAN, IFSC, UPI and Aadhaar
- create-bullmq-app: scaffold a production BullMQ + TypeScript service
- webhook-crash-lab: crash-test webhook handlers against duplicates and races
- eslint-plugin-bullmq: lint rules for BullMQ production pitfalls
- eslint-plugin-webhook-safety: lint rules for unsafe Stripe webhook handlers
License
MIT © Krrish Kumar
來源:README.md,提交 477feed
工具
0版本歷史
1- v0.2.4最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分