BugPack logo

BugPack

Community
duhuazhu

Package bug screenshots into AI-ready fix instructions with MCP Server

Publisherduhuazhu
RepositoryBugPack
LanguageTypeScript
Forks
3
Stars
33
Available tools
5
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    BugPack exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 5 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    33 stars and 3 forks from the linked repository.


BugPack Demo


What is BugPack?

BugPack is a local-first tool that packages bug screenshots into structured, AI-ready fix instructions.

QA drops a screenshot in the chat → you Ctrl+V paste it into BugPack → annotate the issue → generate structured instructions → feed them to your AI coding agent.

Or skip the copy-paste entirely: BugPack's built-in MCP Server lets any MCP-compatible AI coding tool (Claude Code, Cursor, Windsurf, Cline, etc.) read bug context and fix code automatically.

Why BugPack?

AI coding agents changed how we write code, but not how we communicate bug context.

Every bug fix still requires: save screenshot → create file → write paths → describe the issue → paste to AI. 10 bugs a day = 1-2 hours of pure repetition.

BugPack compresses this to 30 seconds.

Requirements

  • Node.js >= 18
  • OS — Windows / macOS / Linux
  • Browser — Chrome / Edge / Firefox (Chrome recommended)

Quick Start

bash
npx bugpack-mcp

Open http://localhost:3456 and Ctrl+V your first bug screenshot to get started.

MCP Configuration

BugPack works with any MCP-compatible AI coding tool. Here are common examples — configure other tools the same way.

Claude Code — add to ~/.claude.json:

json
{
  "mcpServers": {
    "bugpack": {
      "type": "stdio",
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

Cursor (.cursor/mcp.json):

json
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json):

json
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

VS Code (.vscode/mcp.json):

json
{
  "servers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

Cline / Roo Code (VS Code Settings):

json
{
  "cline.mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

Trae (trae/mcp.json):

json
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

MarsCode (Settings → MCP):

json
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

Augment (augment/mcp.json):

json
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": ["bugpack-mcp", "--mcp"]
    }
  }
}

All other MCP-compatible tools follow the same pattern — just point command to npx and args to ["bugpack-mcp", "--mcp"].

Once configured, just tell your AI:

  • "Show me pending bugs" → AI calls list_bugs
  • "Fix bug #3" → AI calls get_bug_context, locates code, and fixes it
  • "Mark bug #3 as fixed" → AI calls mark_bug_status

OpenClaw Skills

BugPack provides OpenClaw Skills for AI agents that support the OpenClaw protocol.

Install via CLI:

bash
clawhub install bugpack

Or add to ~/.openclaw/openclaw.json:

json
{
  "skills": {
    "entries": {
      "bugpack": {
        "enabled": true
      }
    },
    "extraDirs": ["./skills"]
  }
}

Or manually: copy the skills/ directory from this repo into your workspace or ~/.openclaw/skills/.

BugPack includes 3 built-in skills:

SkillTriggersDescription
bugpack-list-bugs"show me bugs" / "list bugs"List all bugs with status filtering
bugpack-view-bug"view bug" / "bug context"Get full bug details with screenshots and related files
bugpack-fix-bug"fix bug" / "repair bug"Read context → locate code → apply fix → update status

Once installed, just tell your AI:

  • "Show me bugs" → AI calls bugpack-list-bugs
  • "View bug details" → AI calls bugpack-view-bug, shows screenshots and context
  • "Fix this bug" → AI calls bugpack-fix-bug, locates code, fixes it, and marks as done

Note: OpenClaw Skills require BugPack server running (npx bugpack-mcp). Skills communicate with the local server via REST API on http://localhost:3456.

Features

Screenshots & Annotations

  • Clipboard paste — Ctrl+V to paste screenshots directly from any chat tool
  • Drag & drop — drop image files onto the canvas
  • 9 annotation tools — drag/pan, select, rectangle, arrow, text, numbering, highlight, pen, mosaic
  • Compare mode — side-by-side comparison of "current" vs "expected" behavior
  • Undo / Redo — full operation history

AI Instruction Generation

  • One-click generation — produces structured Markdown fix instructions
  • Universal MCP support — works with any MCP-compatible AI coding tool

MCP Server

Built-in MCP Server lets AI coding agents directly access bug context:

ToolDescription
list_bugsList all bugs with status/project filtering
get_bug_contextGet full bug context (description + screenshots + environment + files)
get_bug_screenshotGet a single annotated screenshot (base64)
mark_bug_statusUpdate bug status
add_fix_noteAdd fix notes after repair

Platform Integrations

Import bugs from project management platforms, sync fix status back:

  • Zentao · Jira · Linear · TAPD

More

  • 100% local — data never leaves your machine, SQLite storage
  • Multi-project — manage bugs independently per project
  • Dark / Light theme — follow your preference
  • i18n — Chinese / English
  • Keyboard shortcuts — efficient workflow

Workflow

Paste screenshot → Describe issue → Generate instructions → AI fixes code
       │                             │                      │
       │              ┌──────────────┘                      │
       ▼              ▼                                     ▼
   BugPack       Copy Markdown                        MCP Server
    Canvas      paste to AI tool                 AI reads & fixes directly

Data Storage

All data is stored locally:

  • Data directory: ~/.bugpack/data/
  • Database: bugpack.db (SQLite)
  • Screenshots: uploads/{ProjectName}/{uuid}.{ext}

Tech Stack

LayerTechnology
FrontendReact 18 · TypeScript · Tailwind CSS · Zustand
AnnotationFabric.js v6
BackendNode.js · Express
DatabaseSQLite (better-sqlite3, WAL mode)
MCP@modelcontextprotocol/sdk

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT


If BugPack saves you time, give it a Star!

ko-fi

    

Installation

TypingMind
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": [
        "bugpack-mcp",
        "--mcp"
      ]
    }
  }
}

Available Tools

  • list_bugs

    List all bugs grouped by project. Filter by project name or status

  • get_bug_context

    Get full bug context (annotated screenshots + fix instructions) for AI repair

  • get_bug_screenshot

    Get annotated screenshot of a bug

  • mark_bug_status

    Update bug status (pending/fixed/closed etc.)

  • add_fix_note

    Add fix notes to bug description after AI repair

Use BugPack MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once BugPack is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add BugPack as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the BugPack MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "bugpack": {
      "command": "npx",
      "args": [
        "-y",
        "bugpack-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the BugPack MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the BugPack MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use BugPack to help me with this task?
BugPack
Sure. I read it.
Here is what I found using BugPack.

Frequently asked questions

What is the BugPack MCP server used for?

BugPack is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use BugPack MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use BugPack with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use BugPack MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With BugPack connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect BugPack MCP to TypingMind?

BugPack runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does BugPack MCP provide in TypingMind?

BugPack exposes 5 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use BugPack MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If BugPack requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇