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 分