# FailTrace MCP server

> Enables coding agents to reproduce intermittent test failures, minimize reproduction inputs, and verify code fixes with empirical evidence.

- Repository: https://github.com/LBarimi/FailTrace
- Page: https://hostedmcp.org/servers/lbarimi/failtrace
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 1.5.0

## Install

### Claude Code

```sh
claude mcp add failtrace -- npx -y failtrace
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "failtrace": {
      "command": "npx",
      "args": [
        "-y",
        "failtrace"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "failtrace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "failtrace"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"failtrace","type":"stdio","command":"npx","args":["-y","failtrace"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "failtrace": {
      "command": "npx",
      "args": [
        "-y",
        "failtrace"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add failtrace -- npx -y failtrace
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.failtrace]
command = "npx"
args = ["-y", "failtrace"]
```

### Gemini CLI

```sh
gemini mcp add -s user failtrace npx -- -y failtrace
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "failtrace": {
      "command": "npx",
      "args": [
        "-y",
        "failtrace"
      ]
    }
  }
}
```

## FAQ

### Does FailTrace require an AI API or account?

No, it performs local execution without requiring any AI API, account, or telemetry.

### Can I use FailTrace with NUnit tests?

Yes, NUnit support is included in version 1.3.0 and higher through both the CLI and MCP.

### What are the resource limits for logs?

Retained stdout/stderr is capped at 16 MiB per trial and 256 MiB per run, bisect, or minimization.

### Does a passing sample prove a bug is fixed?

No, a passing sample does not provide absolute proof that a bug is gone.
