
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 分