Capture, replay, and debug failures with portable executable bug artifacts
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Executable bugs, not bug reports.
Capture a failing command into a portable .bug artifact that anyone can replay on their machine β same code, same env, same failure. Cryptographically signable. Cross-platform. Zero containers required.
https://github.com/user-attachments/assets/2315cfee-3ccf-40d7-830e-3a3d23731ab8
"Works on my machine" is not a bug report.
Filing a backend or CLI bug today usually looks like this:
Then the maintainer spends hours reconstructing the failure: matching versions, replicating the env, finding the right command, guessing at config. Most of that time is wasted.
BugProof captures the bug β not the description of it. One command produces a single .bug file containing the source snapshot, the exact command, the environment schema, the failure fingerprint, and replay metadata. Another developer runs bugproof replay bug.bug and reproduces the failure deterministically.
Think of it as Git for bugs: a portable, content-addressable, verifiable artifact that turns "can you reproduce?" into a one-liner.
bugproof capture -- and ship the result.bugproof keygen / --sign / verify.--self-heal auto-installs missing npm/pip deps in the sandbox and retries.Requirements: Node.js 18+ and Git. Optional language toolchains (Python, Java, Go, Rust, β¦) are only needed if your captured command uses them.
Run a one-off health check after install:
Add a single step to any GitHub Actions workflow to auto-capture flaky/failing commands as .bug artifacts.
How it works: The action installs bugproof from npmjs.org (npm install -g bugproof) β wraps your command with bugproof capture β on failure, the .bug artifact is uploaded to the Actions run. Developers download and repro locally with bugproof replay.
Use cases:
bugproof capture -- node app.js bundles the crash state, env, and sourceAll inputs:
| Input | Required | Default | Description |
|---|---|---|---|
command | β | β | Command to capture (e.g. npm test) |
name | β | bug_<timestamp> | Artifact name |
timeout | β | 300000 | Command timeout in ms |
skip-secrets | β | false | Skip env secret scanning |
upload-artifact | β | true | Upload .bug file as Actions artifact |
node-version | β | 24 | Node.js version for bugproof |
The action lives at .github/actions/bugproof-action/action.yml in this repo. Reference it via uses: sidinsearch/BugProof/.github/actions/bugproof-action@main. BugProof is always installed from npmjs.org β no GitHub Packages token needed.
BugProof ships a built-in MCP (Model Context Protocol) server that exposes 10 tools plus Resources and Prompts for AI agents. Listed on the Official MCP Registry as io.github.sidinsearch/bugproof.
Add to ~/.claude/settings.json:
Add to Cursor MCP config (Settings β Features β MCP):
Add to ~/.continue/config.json:
If you already have bugproof globally (npm install -g bugproof), omit npx -y:
No separate MCP install needed. npx -y bugproof mcp auto-downloads from npmjs.org and starts the server over stdio.
| Tool | Description | When an AI agent would use it |
|---|---|---|
capture | Run a command, capture as .bug artifact | "Capture this failing test and tell me what changed" |
replay | Replay a .bug file, return verdict | "Replay the artifact from CI and confirm it still fails" |
inspect | Show artifact metadata | "What's in this .bug file without running it?" |
diff | Compare two artifacts | "Compare the CI capture with my local capture β what's different?" |
doctor | Check sandbox capabilities | "Does this machine support full sandbox isolation?" |
share | Share artifact via GitHub Gist | "Share this bug with my team" |
pull | Download artifact from Gist | "Pull the bug artifact from this URL" |
watch | Auto-capture on command failure | "Watch npm test and capture if it fails" |
list | List .bug artifacts in directory | "Show me all bug artifacts in this project" |
clean | Remove .bug artifacts | "Clean up old bug artifacts from this directory" |
AI agents can read .bug artifact contents directly via resource URIs:
bugproof://artifact/{path} β Read the raw .bug artifact (base64-encoded ZIP)Pre-built workflows for common AI agent tasks:
| Prompt | Description |
|---|---|
capture-failure | Guide to capture a failing command as a .bug artifact |
replay-and-analyze | Replay an artifact and analyze the root cause |
compare-bugs | Compare two artifacts to find differences |
The MCP server communicates over stdio (JSON-RPC 2.0). It shells out to the local bugproof CLI with --json output and returns structured results with both human-readable summaries and raw data. If bugproof isn't installed, npx -y fetches it from npmjs.org β no global install required.
BugProof ships a distributable AI Agent Skill that teaches AI coding agents (Claude Code, Cursor, OpenCode, OpenClaw, Gemini CLI, GitHub Copilot, and others) how to use BugProof effectively. The skill follows the open Agent Skills standard β build once, use across any compatible agent.
When loaded, the skill gives AI agents complete knowledge of:
Agents auto-load the skill when users mention:
Or invoke directly: /bugproof
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bugproof)<a href="https://allmcps.com/mcp/bugproof"><img src="https://allmcps.com/api/badge/bugproof?style=directory" alt="BugProof on AllMCPs" /></a>