BugPack
AI-powered bug tracking and fixing toolkit. List, view, and fix bugs from BugPack.
Prerequisites
Start BugPack server first:
npx bugpack-mcp
Skill 1: List Bugs
Query all tracked bugs with optional filtering.
Instructions
- Call
GET http://localhost:3456/api/bugsto fetch all bugs.- Optional:
?project_id=<id>to filter by project.
- Optional:
- Each bug has:
id,title,description,status,priority,project_id,created_at. - Present results grouped by status (
pending/fixed/closed).
Example
GET http://localhost:3456/api/bugs
Skill 2: View Bug Details
Fetch full bug context including screenshots, environment, and related files.
Instructions
- Call
GET http://localhost:3456/api/bugs/:idfor full details. - Response includes:
title,description,status,priority,pagePath,device,browser,relatedFiles,screenshots. - Use
relatedFilesto locate relevant source code. - Screenshots have
original_pathandannotated_path.
Example
GET http://localhost:3456/api/bugs/abc-123
Skill 3: Fix Bug
Read bug context, locate code, apply fix, and update status.
Instructions
- Get context:
GET http://localhost:3456/api/bugs/:id - Analyze: Read description and examine screenshots.
- Locate code: Use
relatedFilesor search bypagePathanddescription. - Apply fix: Edit source code following project conventions.
- Mark fixed:
PATCH http://localhost:3456/api/bugs/:idwith{ "status": "fixed" } - Add note (optional): Update description to document what was changed.
Example
# Get bug context
GET http://localhost:3456/api/bugs/abc-123
# Mark as fixed
PATCH http://localhost:3456/api/bugs/abc-123
Content-Type: application/json
{ "status": "fixed" }