# webhook-crash-lab-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Krrishkumar125/webhook-crash-lab-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/webhook-crash-lab-mcp

## Description
MCP server that lets coding agents crash-test webhook handlers and re-run until they survive retries.

## Tools
Capabilities this server exposes over MCP:

- **run_crash_lab** — ok`, counts, `failures[]` in fix order (failed checks, `suggestions[]`, why, fix), `notTested[]`, `nextSteps[]`, `scannedFiles[]
- **run_demo** — "fixed"
- **explain_report** — same shape, e.g. for a CI report
- **list_scenarios** — every scenario with what / why / fix

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What webhook-crash-lab-mcp does

webhook-crash-lab-mcp exposes the webhook-crash-lab CLI/library through the Model Context Protocol. It gives coding agents a test-and-repair loop for webhook handlers: execute crash scenarios, return structured failures, apply fixes, and run the checks again.

The results include pass status and counts, failures ordered for remediation, the checks that failed, explanations, suggested fixes, scenarios that were not tested, and follow-up steps. This makes the output usable both as model context and as machine-readable client data.

## How it works

The server runs over stdio using the official MCP TypeScript SDK. A client starts the package with `npx`, then exposes its tools to an agent. Tool responses are available as readable text and as `structuredContent` validated by an output schema.

`run_crash_lab` loads a crash-lab configuration and sends requests to its configured target. The configuration can be JavaScript or TypeScript, including `.mjs`, `.js`, `.cjs`, `.ts`, `.mts`, and `.cts` files. `run_demo` avoids project configuration by testing the bundled demonstration application in either broken or fixed mode.

For existing automation output, `explain_report` accepts a report path or the JSON produced by `webhook-crash-lab run --json`. `list_scenarios` provides the complete scenario catalog, including what each scenario tests, why it matters, and the corresponding fix direction.

## Setup and configuration

Add the server to an MCP client with a command equivalent to:

```json
{
  "mcpServers": {
    "webhook-crash-lab": {
      "command": "npx",
      "args": ["-y", "webhook-crash-lab-mcp@latest"]
    }
  }
}
```

Claude Code and Codex can register the same stdio command through their MCP configuration commands. VS Code and Cursor provide MCP installation links, and the repository also includes a Claude Code plugin plus an Agent Skills package for Codex and other agents.

A configured crash lab needs a target and can be selected with `configPath`. Optional inputs include the working directory, a scenario selection, and a report path. Point the target at a local service using a test database and test secret; the configuration is executable code and should be treated accordingly. The package’s guidance specifically warns against production URLs and live secrets.

## Tools and capabilities

- `run_crash_lab` executes selected or configured scenarios and returns failures, counts, untested items, and next steps.
- `run_demo` tests the built-in application in `broken` or `fixed` mode without a configuration file.
- `explain_report` converts a crash-lab JSON report into the same structured diagnostic format.
- `list_scenarios` enumerates each scenario with its purpose and repair guidance.
- Structured tool output includes an output schema, while errors such as invalid or missing configuration are returned as MCP error results rather than process crashes.

## Limitations and notes

The server is an MCP wrapper around webhook-crash-lab; it is intended for webhook testing rather than general HTTP testing. Its configured runner can send requests to the target named by the project configuration, so choosing the target and credentials is a safety responsibility. Use isolated test resources when exercising handlers.

The provided integration is stdio-based. The package also ships optional agent-oriented materials: a Claude Code plugin containing a skill and MCP configuration, and an open Agent Skills version with an `AGENTS.md` snippet. These materials can make the crash-testing workflow a standing instruction, but the MCP tools themselves remain available through a normal client configuration.

_Full upstream README: https://allmcps.com/mcp/webhook-crash-lab-mcp/readme_

