MCP
Connect bugAgent to any MCP-compatible AI client.
File, classify, and manage bugs, feature requests, and more directly from your AI coding assistant. No context switching, no copy-paste — just describe the issue and bugAgent handles the rest.
Getting Started
The bugAgent MCP server lets AI clients create, query, and manage bug reports, feature requests, enhancements, and more through the Model Context Protocol. It runs locally and communicates with bugAgent's cloud API.
Sign up at app.bugagent.com and generate an API key from the console.
Add bugAgent as an MCP server in your client's config (see setup below).
Describe a bug in natural language and bugAgent auto-classifies, enriches, and stores it.
# Create a bug report
"File a bug: Login button is unresponsive on iOS Safari.
Steps: tap login, nothing happens. Expected: navigate to
dashboard. Severity: high."
# bugAgent auto-classifies as UI bug, severity high
# File a feature request
"Feature request: Add dark mode toggle to the
settings page. Users have asked for this in surveys."
# Auto-classified as feature-request, severity medium Setup
Install
No global install required. Use npx to run the MCP server on demand:
npx @bugagent/mcp-server Configure your API key
When you first connect, bugAgent will prompt you for your API key. You can also set it via environment variable:
export BUGAGENT_API_KEY=ba_live_your_key_here Get your API key from the bugAgent console.
MCP Client Configuration
Add the following to your MCP client's configuration file:
{
"mcpServers": {
"bugagent": {
"command": "npx",
"args": ["-y", "@bugagent/mcp-server"],
"env": {
"BUGAGENT_API_KEY": "ba_live_your_key_here"
}
}
}
} ba_live_your_key_here with your actual API key from the console.Connect to the Server
The bugAgent MCP server is live at https://mcp.bugagent.com/mcp over Streamable HTTP transport. You can connect from six different clients depending on what you're using. Pick the one that fits your workflow.
ba_live_). You’ll only see it once, so paste it somewhere safe. Every example below uses this key.
Option 1 — MCP Inspector (Web UI, recommended for first-time testing)
The official Anthropic tool. Spins up a local web UI where you can click through every tool, fill in parameters, and see responses. Zero config, no IDE required.
macOS (Terminal)
npx @modelcontextprotocol/inspector Windows (PowerShell or CMD)
npx @modelcontextprotocol/inspector In the browser UI that opens:
- Transport Type: select
Streamable HTTP - URL:
https://mcp.bugagent.com/mcp - Connection Type: select Proxy (the default — the Inspector proxies through a local Node process to bypass browser CORS)
- Click the Authentication tab → add a custom header:
- Header Name:
Authorization - Value:
Bearer ba_live_YOUR_KEY_HERE
- Header Name:
- Click Connect. You’ll see all 60+ bugAgent tools in the left panel.
- Click any tool (e.g.
list_bug_reports), fill in parameters, click Run Tool. Response shows on the right.
Prerequisites: Node.js 18 or later. Install from nodejs.org if you don’t have it.
Option 2 — Claude Desktop (Mac + Windows)
If you use the Claude Desktop app, you can add bugAgent as a permanent MCP server. Claude will then have all bugAgent tools available in every conversation.
macOS
- Open Claude Desktop → menu bar Claude → Settings → Developer → Edit Config. This opens
~/Library/Application Support/Claude/claude_desktop_config.json. - Add the bugAgent entry under
mcpServers:claude_desktop_config.json{ "mcpServers": { "bugagent": { "type": "http", "url": "https://mcp.bugagent.com/mcp", "headers": { "Authorization": "Bearer ba_live_YOUR_KEY_HERE" } } } } - Save the file and fully quit Claude Desktop (Cmd+Q, not just close the window).
- Relaunch Claude Desktop. The tools hammer icon at the bottom of the chat input should now show bugAgent tools.
- Try it: type “List my 5 most recent bug reports” — Claude will call
list_bug_reportsautomatically.
Windows
- Open Claude Desktop → File → Settings → Developer → Edit Config. This opens
%APPDATA%\Claude\claude_desktop_config.json(typicallyC:\Users\YourName\AppData\Roaming\Claude\claude_desktop_config.json). - Add the same JSON block shown in the macOS section.
- Save the file and fully quit Claude Desktop from the system tray (right-click the Claude icon → Quit), then relaunch.
- The tools hammer icon will show bugAgent tools.
Option 3 — Claude Code (CLI)
If you use Claude Code from your terminal (the CLI version of Claude), register the bugAgent server with one command. Works identically on macOS, Linux, and Windows.
claude mcp add --transport http bugagent https://mcp.bugagent.com/mcp \
--header "Authorization: Bearer ba_live_YOUR_KEY_HERE" Then restart your Claude Code session. Verify it’s connected:
claude mcp list You should see bugagent in the list with a green dot. Start using tools in any chat: “Show me my exploration usage for this month.”
To remove it later:
claude mcp remove bugagent Option 4 — Cursor (Mac + Windows)
Cursor has built-in MCP support. Add bugAgent once and the AI assistant inside Cursor can file bugs, list reports, run scans, etc. without leaving your editor.
- Open Cursor → Settings (Cmd+, on Mac / Ctrl+, on Windows) → MCP in the left sidebar.
- Click + Add new MCP server.
- Select HTTP transport type.
- Fill in:
- Name:
bugagent - URL:
https://mcp.bugagent.com/mcp - Header name:
Authorization - Header value:
Bearer ba_live_YOUR_KEY_HERE
- Name:
- Click Save. Cursor shows a green indicator when connected.
- Open Cursor’s chat (Cmd+L / Ctrl+L) and type “Create a bug report titled ‘Login broken’ with severity high.” Cursor will invoke
create_bug_report.
Alternative: Cursor also reads ~/.cursor/mcp.json (Mac) or %USERPROFILE%\.cursor\mcp.json (Windows). Add the same JSON format shown in the Claude Desktop section.
Option 5 — VS Code with Continue extension (Mac + Windows)
If you prefer VS Code, the Continue extension supports MCP servers natively.
- Install the Continue extension from the VS Code marketplace.
- Open Continue’s config: Command Palette (Cmd+Shift+P / Ctrl+Shift+P) → Continue: Open config.json. The file is at:
- macOS:
~/.continue/config.json - Windows:
%USERPROFILE%\.continue\config.json
- macOS:
- Add an
mcpServersentry:~/.continue/config.json{ "mcpServers": [ { "name": "bugagent", "type": "streamable-http", "url": "https://mcp.bugagent.com/mcp", "requestOptions": { "headers": { "Authorization": "Bearer ba_live_YOUR_KEY_HERE" } } } ] } - Save. Continue will auto-reload and show the bugAgent tools in the sidebar.
- Open the Continue chat panel and try: “List my security scans.”
Other VS Code MCP-capable extensions: Cline, Roo Code, and Windsurf (fork) all follow similar JSON config patterns with an mcpServers key and HTTP transport.
Option 6 — OAuth-aware hosts (Claude.ai web shown as the example)
Some MCP hosts authenticate via OAuth 2.0 and ask for a static client_id and client_secret upfront instead of accepting a bearer API key. For those hosts you generate a workspace-scoped OAuth credential pair from the bugAgent dashboard and paste it into the host’s connector form. The credentials are MCP-host-agnostic — any OAuth client supporting Authorization Code + PKCE can use them. The walkthrough below uses the Claude.ai web app as the most common example.
- In bugAgent: open Settings → Developers → MCP Connectors. Click Generate connector, give it a name describing the host (e.g. “Claude.ai (work)”), paste the redirect URI your MCP host requires (for the Claude.ai web app that’s
https://claude.ai/api/mcp/auth_callback— check your host’s connector docs for others), and choose Confidential for the auth method. Copy theclient_idandclient_secretshown once on the success screen. - In your MCP host’s connector / OAuth settings, paste:
- Server URL:
https://mcp.bugagent.com/mcp - Client ID + Client Secret: from step 1
- Authorization URL:
https://mcp.bugagent.com/authorize - Token URL:
https://mcp.bugagent.com/token
- Server URL:
- Save. The host redirects you to bugAgent to sign in (Google or email/password — whichever method you use for the dashboard) and approve consent, then completes the OAuth handshake.
- Manage and revoke generated connectors from the same Settings page. Revoking is immediate — the next request from that connector returns
invalid_client.
Note: Claude Code, Cursor, VS Code, and the MCP Inspector don’t need this flow — they handle dynamic client registration (RFC 7591) automatically and authenticate via API key as shown above. The MCP Connectors form is only for hosts that require static OAuth credentials.
Option 7 — Direct HTTP with curl (Terminal)
If you want to test the server directly without any client, or integrate it into a script, you can hit the HTTP endpoint with curl. The MCP protocol is JSON-RPC 2.0 over Streamable HTTP.
macOS / Linux
# Set your API key as a variable
export BUGAGENT_API_KEY="ba_live_YOUR_KEY_HERE"
# 1. List all available tools
curl -N -s https://mcp.bugagent.com/mcp \
-H "Authorization: Bearer $BUGAGENT_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# 2. Call a tool — list your 5 most recent bug reports
curl -N -s https://mcp.bugagent.com/mcp \
-H "Authorization: Bearer $BUGAGENT_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc":"2.0",
"id":2,
"method":"tools/call",
"params":{
"name":"list_bug_reports",
"arguments":{"limit":5}
}
}' Windows (PowerShell)
# Set your API key
$env:BUGAGENT_API_KEY = "ba_live_YOUR_KEY_HERE"
# Use Invoke-RestMethod (PowerShell's curl equivalent)
$headers = @{
"Authorization" = "Bearer $env:BUGAGENT_API_KEY"
"Content-Type" = "application/json"
"Accept" = "application/json, text/event-stream"
}
# 1. List all tools
$body = '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Invoke-RestMethod -Uri "https://mcp.bugagent.com/mcp" `
-Method Post -Headers $headers -Body $body
# 2. Call list_bug_reports
$body = @{
jsonrpc = "2.0"
id = 2
method = "tools/call"
params = @{
name = "list_bug_reports"
arguments = @{ limit = 5 }
}
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Uri "https://mcp.bugagent.com/mcp" `
-Method Post -Headers $headers -Body $body Responses arrive as Server-Sent Events (the MCP Streamable HTTP standard). Each chunk is a line prefixed with data: followed by a JSON object. The Accept: application/json, text/event-stream header is required — the server rejects requests without it.
ba_live_. If you’re still stuck, regenerate the key and retry.MCP Features
The bugAgent MCP server provides tools for:
Bug Report Management
create_bug_report— File a new report with auto-classification across 19 types — bugs, feature requests, enhancements, technical debt, and more (title: 3-500 chars). Optionalattachmentsarray accepts base64-encoded files up to 400 MB each: any image, video, audio, PDF, or text/JSON. Setformat_description: trueto auto-reformat the description into a structured template using AI. Passtime_spent_secondsto track QA effort.list_bug_reports— List and filter reports (max 100 per page). Filter bytype(one of 19 dashboard categories),severity(s1-s4 or legacy critical/high/medium/low),status(using the dashboard's exact values:new,awaiting-triage,confirmed,in-progress,resolved,retesting,closed,reopened— hyphens are deliberate),resolution(fixed/duplicate/works-as-designed/cannot-reproduce/will-not-fix/need-more-info), orroot_cause(open-ended kebab-case tag — common values:regression,missing-requirement,documentation,incomplete-refactor,not-a-bug,requirements-mismatch).pick_next_bug— Returns the next bug(s) the agent loop should work on, in priority order (S1 → S2 → S3, oldest first within each bucket). Wraps thepublic.agent_priority_queueSQL view that materializes the agent's "what to pick up" rule (project=bugagent, status=new, severity in S1-S3). Read-only — does not atomically claim tickets. Optionalseverity(single tier),limit(1-50, default 1). Returns rows in the same shape aslist_bug_reportsfor tool composability. Pair withclaim_bugfor the read-then-claim pattern.claim_bug— Atomically transition a bug fromstatus='new'tostatus='in-progress', setassigned_toto the calling user, and stampclaimed_at=NOW(). Race-free across concurrent callers via Postgres' UPDATE-WHERE-RETURNING pattern — if two agents callclaim_bugon the same id in close succession, exactly one getsclaimed:truewith the bug body and the other getsclaimed:falsewith a reason string. A pg_cron reaper releases stale claims (status=in-progress+claimed_at> 30 minutes old) back tonewautomatically, so a crashed agent's tickets re-enter the queue without manual intervention. Inputs:id(UUID or short ID).get_bug_report— Get full details of a report by ID. ID formats: accepts either the UUID (e.g.1fb72a2c-87c7-...) or the workspace-scoped short ID (e.g.WRKID-545). Short-ID lookups are team-scoped — guessing another workspace's short ID returns 404. ReturnsqualityScore(integer 1–10),ticket_number, andqualityBreakdown(object with 10 dimension scores: reproductionSteps, expectedVsActual, environmentDetails, evidence, rootCauseAnalysis, impactAssessment, contextAndHistory, heuristicsAndOracles, clarityAndStructure, actionability — each 0.0–1.0).update_bug_report— Update fields on an existing report. Accepts UUID or short ID (WRKID-545). Updatable fields includetitle,description,type(any of 19 dashboard categories),severity,status(matches the dashboard exactly:new,awaiting-triage,confirmed,in-progress,resolved,retesting,closed,reopened— hyphens are deliberate),resolution(fixed/duplicate/works-as-designed/cannot-reproduce/will-not-fix/need-more-info), androot_cause(open-ended kebab-case tag — common values:regression,missing-requirement,documentation,incomplete-refactor,not-a-bug,requirements-mismatch). The agent-loop convention requires bothresolutionandroot_causeto be set wheneverstatustransitions out ofnew; the dashboard, analytics, and the futureclaude-bottraining corpus all depend on those fields. Also includesassigned_to(user ID fromlist_team_members) andtime_spent_secondsfor timer tracking. Changingassigned_toautomatically triggers the in-app bell notification AND a courtesy email to the new assignee (respecting their per-user opt-out in Account Settings — same pipeline as the dashboard endpoints).add_comment— Add a comment to a bug report (UUID or short ID, body 1-10000 chars). If the report is synced to Jira, the comment is automatically pushed to the linked Jira issue.list_comments— List a report's full comment thread, oldest first — each comment with author name,parentId(threaded replies), and timestamps. Comments are not part ofget_bug_report, so this is how you read a ticket's discussion. Accepts UUID or short ID.classify_bug— Classify a description into one of 19 report types (bugs, features, enhancements, etc.) with confidence scoreflush_reports— Bulk delete old reports (admin only)
Usage & Analytics
get_usage— Check usage against plan limitsget_stats— Daily counts, type/severity/status breakdowns
Project Management
list_projects— List available projectscreate_project— Create a new project (auto-becomes default if first)delete_project— Permanently delete a project and all associated data (bug reports, automations, test cases, mobile apps, schedules, geo snaps, notes, time entries). Only owner/manager. Cannot delete last project. Storage is freed automatically
Authentication & Account
register_account— Create a new account (password: 8-128 chars, rate limited: 5/15min)login— Sign in and receive access tokens (rate limited: 5/15min)update_profile— Update display namechange_password— Change account passwordget_settings/update_settings— Manage preferences
API Key Management
generate_api_key— Create a named API keylist_api_keys— List active keys (prefix only)regenerate_api_key— Revoke and replace a keydelete_api_key— Permanently revoke a key
Team Management
list_team_members— List all members of your workspace with roles, status, and booster flagsinvite_team_member— Invite a user by email (managers can invite contributors and managers; only owners can invite admins). 5-day expiry link
Integrations
sync_to_jira— Sync a report to Jira using team's shared connectionpush_to_claude— Generate (or regenerate) the Developer Notes for a bug report — root cause, suggested fix, verification steps, and risk assessment. Accepts UUID or short ID (WRKID-545). Uses platform keys — no per-team Claude connection required. Runs an adaptive chain: three steps ons3/mediumors4/lowbugs (Sonnet draft → OpenAIgpt-5critique → Sonnet synthesis), five steps on the top-two severity buckets —s1/criticalors2/high— (draft → critique → Sonnet rebuttal → Claude Opus adjudicator that reads the full transcript and writes the final notes with independent judgment). Response exposes every round:analysis,draft,critique,rebuttal,challenger_model,adjudicator_model, and adebatedflag. Any step failing falls through to the next-best answer. Auto-fires on bug creation; usually only called for manual regenerate.analyze_fix_area— Generate (or regenerate) the "Likely Fix Area" sub-block of Developer Notes — a narrow Sonnet output that names where in the codebase the fix most likely belongs. Accepts UUID or short ID. Uses the platform Anthropic key. When the team has agithub_connectionsrow and the project has agithub_repomapped, output is grounded in real file snippets from the connected repo; otherwise falls back to general guidance with a nudge to connect a repo. Returnslikely_fix_areatext,generated_at,repo_used, and agroundedflag. Auto-fires on bug creation — agents typically only need to call this for manual regenerate.upgrade_plan— Upgrade subscription via Stripe
Performance Testing
create_performance_test— Create a performance test config with URL, device, virtual users, duration, score threshold, and auto-bug creation toggle. Pro/Team/Enterprise plans onlyrun_performance_test— Trigger a page audit and load test, or a mobile app profiling session on real Android/iOS devices via BrowserStack. Returns a run ID to poll for resultsget_performance_results— Get full results including Lighthouse scores (Performance, Accessibility, Best Practices, SEO), Core Web Vitals (LCP, FID, CLS, FCP, TTFB, INP, TBT, SI), and load test metrics (VUs, requests, RPS, p50/p90/p95/p99 latencies)list_performance_tests— List all performance test configurations for the current teamget_performance_usage— Check monthly performance test usage against plan limits. Free=0, Pro=1/mo, Team=50/mo, Enterprise=unlimited. Top-up: 5 tests for $499 (Pro/Team)
Example Workflow
get_performance_usage→ check remaining quotacreate_performance_test→ configure a test for your URLrun_performance_test→ trigger the audit + load testget_performance_results→ review scores and vitals
Security Scanning
create_security_scan— Create a security scan configuration. Web scans use Quick Scanner + Nuclei (4,000+ templates) with three depth levels and optional authenticated scanning. Mobile scans use MobSF for APK/IPA binary analysis. Configurable auto-bug creation with severity thresholds. Pro/Team/Enterprise plans onlyrun_security_scan— Trigger a vulnerability scan. Web scans require DNS domain verification. Mobile scans require an uploaded app. Returns a run ID to poll for resultsget_security_results— Get full results including security score (0-100), findings categorized by severity (Critical, High, Medium, Low, Info) with CWE references, OWASP mappings, evidence, and remediation guidancelist_security_scans— List all security scan configurations for the current team with last score and auth/depth badgesget_security_usage— Check monthly security scan usage against plan limits. Pro=2/mo, Team=50/mo, Enterprise=unlimited. Top-up: 10 scans for $299 (Pro/Team)list_security_schedules— List all scheduled security scans for the team with cron, timezone, enabled state, next run, and notification settings. Joins with the parent scan config (name, scan_type, target_url)create_security_schedule— Create a recurring schedule for a security scan. Requiresscan_idandcron_expression. One schedule per scan config. Optionaltimezone,notify_on_fail(none/email/slack/both),notify_email,slack_channel_id. Every run counts against your monthly cap; Security+ and admin users bypass the cap. Scan depth is always read from the scan config at run timedelete_security_schedule— Delete a scheduled security scan. Does not affect the parent scan config or completed runs
Example Workflow
get_security_usage→ check remaining quotacreate_security_scan→ configure a scan for your URL or reporun_security_scan→ trigger a one-off vulnerability scancreate_security_schedule→ automate recurring runs (e.g. weekly SAST on main branch)get_security_results→ review findings and remediation
Code Review
list_code_reviews— List recent AI code reviews for the team. Returns quality scores, severity counts, PR info, and timestamps. Team/Enterprise onlyget_code_review— Get a code review with all findings. Each finding includes severity, category (bug/security/performance/style/logic/maintainability), title, description, code suggestion, file path, and line numbersget_code_review_usage— Check code review usage. Unlimited on Pro, Team, and Enterprise plansget_code_review_analytics— Get review analytics: trends, finding categories/sources, severity breakdown, velocity metrics, top repos/authors. Supports 7/30/90-day lookback
Example Workflow
get_code_review_usage→ check remaining reviews- Review a PR in the dashboard at
/dashboard/code-review list_code_reviews→ see recent reviewsget_code_review→ get findings and suggestions
Exploratory AI
Multi-agent autonomous website bug finder with up to 10 parallel agents, each using a different testing strategy.
list_explorations— List Exploratory AI configs for the teamcreate_exploration— Create a new exploration. Acceptsagent_count(1–10, Pro: max 3, Team: max 10) to run multiple parallel agents with unique strategies: happy_path, edge_case, security, accessibility, error_path, performance, mobile, data_integrity, navigation, customget_exploration— Get exploration config with agent settings and recent runsget_exploration_run— Get run results with per-agent progress, phase data, findings with agent attribution (agent_index,agent_strategy), and linked bugsget_exploration_usage— Check monthly usage. Pro: 3/mo (3 agents), Team: 50/mo (10 agents), Enterprise: 50/mo (10 agents)
Example Workflow
create_explorationwithagent_count: 5→ configure 5 parallel agents- Trigger a run from the dashboard or via
POST /api/explorations/run get_exploration_run→ poll for per-agent progress and findings- View deduplicated findings with agent attribution in the dashboard
Notes
list_notes— List notes with optional keyword search, project filter, author filter, and date range. Returns notes the user owns or shared notes within the team.create_note— Create a note in one of 5 formats:markdown,plain_text,rich_text,checklist,outline. Setvisibilitytoprivateorshared. Auto-title from first 30 characters if no title provided. Optionalattachmentsarray accepts base64-encoded files up to 400 MB each: any image, video, audio, PDF, or text/JSON. Passtime_spent_secondsto track QA effort.get_note— Get full note details including content and attachments. Requiresid.update_note— Update title, content, format, visibility, project, ortime_spent_seconds. Pass anattachmentsarray to append new files (max 400 MB each) to the note’s existing attachments without replacing them. Only the author can update. Requiresid.delete_note— Permanently delete a note and its attachments. Only the author can delete. Requiresid.
Example Workflow
create_note→ start a testing session noteupdate_note→ append observations as you testlist_notes→ search past notes by keyword or projectget_note→ retrieve full note with attachments
Automation
create_automation— Create a new automation with a custom Playwright script (no FAB recording required). Requiresname. Optional:target_url(auto-derived from the firstpage.goto(...)URL in the script if omitted),script(Node.js/JavaScript/TypeScript or Python — language is auto-detected; defaults to a placeholder),status(draftoractive, default:draft),project_id. Returns the automationid. Pro/Team plan required. Tip — Duplicate an automation: useget_automationto fetch the original script, then callcreate_automationwithnameset to"[Copy] Original Name"and pass the originalscript,target_url, andproject_id. The duplicate starts indraftstatus with no version history.list_automations— List Playwright automation scripts. Filter byproject_idorstatus(draft,active,paused). Returns array of automations with name, target_url, last_run_status, and run_count.get_automation— Get full automation details including Playwright script and recent runs. Requiresid. Returns the automation with the livescript, ascript_versionsstack (oldest-first, up to 100 prior entries, each{ script, source, timestamp }), and arecent_runsarray where each run carries thescript_version_label/script_version_sourcethat executed. Call this beforerun_automationif you need to pick a specific historical version.run_automation— Trigger an immediate run of a Playwright test. Requiresautomation_id. Virtual mode (default): optionaldevicefor viewport emulation (e.g.desktop,iphone-15). Live mode: setbrowserstack: truewithbs_browser(chrome,firefox,safari,edge),bs_os(Windows,OS X), andbs_os_versionto run on a real desktop browser. Live real-mobile: setbs_os: "android"(devices:"Samsung Galaxy S25 Ultra","Google Pixel 10","OnePlus 13R") orbs_os: "ios"(devices:"iPhone 17 Pro Max","iPhone 16 Pro Max","iPhone 15 Pro Max") and pass the device name inbs_os_version. Node.js scripts route throughbrowserstack-node-sdk(covers desktop + Android + iPhone). Python scripts route throughbrowserstack-sdk(pytest-playwright) and cover desktop only — real mobile via Python isn't supported because pytest-playwright'sbrowser_type.connect()can't drive BrowserStack's real-mobile endpoints. Video and network logs captured automatically; console logs desktop-only. Version replay: pass optionalversion_index(integer, 0-indexed) to execute a prior entry from the automation'sscript_versionshistory. Default: whenversion_indexis omitted or null, the current live script runs — don't pass a placeholder value just to "pick current". Out-of-range, negative, or non-integer values are rejected. The run record stores the exact snapshot that ran, and any bug report auto-created from a failed run deep-links back to that version in the editor.list_automation_runs— List recent runs for an automation. Requiresautomation_id. Returns runs with status, duration_ms, and error_message.list_schedules— List all scheduled web automation runs with cron, timezone, device, and notification settingscreate_schedule— Create a scheduled web automation run. Requiresautomation_idandcron_expression. Supports device, timezone, notify_on_fail (email/slack/both), and Slack channel options. BrowserStack Live on scheduled runs: passbrowserstack: truewithbs_browser,bs_os, andbs_os_version— same device matrix asrun_automation(Node = desktop + real Android + real iPhone; Python = desktop only).delete_schedule— Delete a scheduled web automation runlist_mobile_schedules— List all scheduled mobile automation runs with devices, cron, timezone, and notificationscreate_mobile_schedule— Create a scheduled mobile automation run on real devices. Requiresautomation_id,cron_expression, anddevicesarraydelete_mobile_schedule— Delete a scheduled mobile automation runoptimize_automation_script— Send a Playwright script to Sonnet 4 for AI-powered optimization. Applies a 12-point checklist that fixes selectors, wait strategies, assertions, error handling, auth patterns, mobile compatibility, and strict mode. Requiresautomation_id. The current script version is saved before optimization. Returns the optimized script and a changes summary.undo_automation_script— Revert an automation script to its previous version. Up to 10 previous versions are retained. Requiresautomation_id. Returns the restored script and the number of versions remaining.
Example Workflow
create_automation→ create a test with a custom scriptlist_automations→ browse available testsget_automation→ inspect the Playwright scriptrun_automation→ trigger the testlist_automation_runs→ check results and duration
Time Tracking
list_time_entries— List time entries for the team. Filter byperiod(today,week,month,all),project_id,category, andsort(newest,oldest,most_time,least_time). Team plan only.create_time_entry— Log time spent on QA tasks. Requiresdescription,category, andduration_minutes. Optionally setproject_idandentry_date(defaults to today). Team plan only.update_time_entry— Update an existing time entry. Requiresid. Can updatedescription,category,duration_minutes,project_id, orentry_date. Team plan only.delete_time_entry— Permanently delete a time entry. Requiresid. Team plan only.
Example Workflow
create_time_entry→ log 45 minutes of regression testinglist_time_entries→ view this week's time entriesupdate_time_entry→ adjust duration or categorydelete_time_entry→ remove an incorrect entry
Test Cases
Full test management with hierarchical folders, nested suites (up to 3 levels deep with sub-suite auto-expansion on runs), drag-drop reorder, AI-assisted case generation, and an analytics Reports tab with KPI trends, failure analysis, suite health, coverage, and tester productivity. All tools call Supabase directly — no HTTP roundtrip, same latency as the dashboard.
Hands-free execution: the run review page is a carousel with one case visible at a time, keyboard shortcuts (P Pass · F Fail · B Block · S Skip), and voice control. Click the mic, then say "Pass", "Fail", "Block", "Skip", "Next", "Previous", "Add notes" (transcribes into the notes field), "Save notes", or "Voice off". Auto-advances to the next untested case on success results; stays put on Fail so testers can dictate details and spawn a bug. Works in Chrome, Edge, and Safari.
Cases & Folders
list_test_cases— List test cases with optionalsearch,priority(critical,high,medium,low),type(functional,regression,smoke,integration,performance,security,usability,exploratory),status(active,draft,deprecated), andsort(newest,oldest,name,priority).create_test_case— Create a test case. Two template variants:steps(default) — per-step{ action, expected }grid via thestepsarray;text— single free-form description viatext_content. Both fields can be sent in the same call (the platform stores them independently so a tester switchingtemplate_typelater doesn't lose either side's data). Optionalurlsarray (max 10 http/https URLs) attaches reference links. Requiresname. Optional:description,preconditions,template_type,steps,text_content,urls,priority,type,tags,estimated_time(seconds). File attachments are uploaded via the dashboard'sPOST /api/test-cases/:id/attachmentsendpoint (multipart) — not yet exposed as an MCP tool.get_test_case— Get full test case details including steps and execution history.list_test_case_folders— List the team's folders (one folder per case viafolder_id; distinct from suites, which are many-to-many test-plan groupings). Capped at 500; honorsproject_idandparent_folder_idfilters (use"root"for top-level only).create_test_case_folder— Create a folder (nests up to 3 levels viaparent_folder_id). Usebulk_update_test_casesto move cases into it.bulk_update_test_cases— Apply one action to up to 500 cases at once:set_priority,set_status,set_type,add_tags,remove_tags,add_to_suite,pin,unpin.link_test_case_to_bug— Establish traceability between a test case and a bug report (verified_by,covers, orrelates).list_test_case_links— List all traceability links for a test case.list_test_case_review_candidates— Dead-test flags:never_run(90+ days since creation),always_passes(5+ consecutive passes in 90d),always_skipped(3+ consecutive skips).mark_test_case_review_flags— Persist current archive-candidate flags ontotest_cases.review_flag. Runs automatically every Monday 09:00 UTC via pg_cron.
Imports
- Figma import (dashboard UI + REST): upload a zip export of Figma frames (up to 100 MB), Claude analyzes each screen and drafts test cases into a folder you pick or create. Multi-pass pipeline (classify → per-screen cases → flow-level cases across shared-prefix screens → self-critique) with prompt caching, 429 retry, and per-frame error isolation so one bad frame doesn't fail the batch. Cases land as
status=active, taggedai_generated=true, withsource='figma'andsource_frame_namepreserving a link to the original frame. Uses the platform Anthropic key — no per-team Claude connection required. Endpoints:POST /api/test-cases/import/figma/request,POST /api/test-cases/import/figma/start,GET /api/test-cases/import/figma/:id.
Suites & Runs
list_test_suites— List test suites with case count and last run status.create_test_suite— Create a suite. Nests up to 3 levels viaparent_suite_id.list_test_runs— List test runs with suite name, assignee, and pass/fail summary.create_test_run— Snapshot a suite into a new run. Running a parent suite automatically includes every case in every descendant sub-suite (a case linked to both is added exactly once). Eachtest_run_resultsrow records which originating sub-suite the case came from, so result pages can group by origin.
Reports (Tier 1 + Tier 4 analytics)
get_test_reports_overview— Headline KPIs for a window (pass rate, runs completed, cases executed) with deltas vs the prior equivalent window. Same numbers the Reports tab KPI strip shows.get_test_reports_failures— Four "what to fix?" lists:failing_cases(≥50% fail, min 3 runs),flaky_cases(most pass/fail flips),failing_suites(≥30% fail, min 5 runs),regressed_cases(most-recent fail with an earlier pass in the window).
Example Workflow
create_test_case_folder→ make a folder tree (e.g. Smoke → Auth)create_test_case→ define cases; move them into folders withbulk_update_test_casescreate_test_suite→ build a test plan (sub-suites optional, up to 3 levels deep)create_test_run→ snapshot a run from a parent suite — sub-suites auto-includedget_test_reports_failures→ ask "what to fix this week?" once the run completesget_test_reports_overview→ track the pass-rate trend week over week
Team Booster
scale_team— Instantly scale your QA team with booster testers. Accounts are provisioned automatically with tester access. Specifyteam_size(1–10),location,duration,budget, and optionallyproduct_url,product_types, andtech_levels. Pro and Team plans only. You will not be charged until approval has been given.
Example Workflow
scale_team→ provision 5 senior testers in the US for 1 monthlist_team_members→ verify new testers appear in your teamlist_reports→ review reports filed by booster testers
Geo-Snap
create_geo_snap— Capture screenshots of a URL from multiple countries simultaneously. Requiresurl(string) andcountries(array of country codes, e.g.["US", "DE", "JP"]). Free plan: 1 country per capture, 10 saved screenshots. Pro/Team: up to 5 countries, unlimited saved screenshots. Returns an array of snap objects withid,url,country,screenshot_url,status, andcreated_at.
Example Workflow
create_geo_snap→ capturehttps://example.comfrom US, DE, and JP- Compare screenshots to verify localization, geo-redirects, and compliance
Mobile Testing
upload_mobile_app— Upload an APK (Android) or IPA (iOS) app for testing on real devices. Requiresname,platform(android/ios), andfile_url. For iOS: upload the IPA for real-device runs, then upload a simulator.appbuild on the app detail page to enable recording.update_mobile_app— Replace an app binary with a new version. Clears cached URLs and simulator builds so all automations use the new version on next run. Requiresapp_idandfile_url. Optional:version.create_mobile_automation— Create a test script. Requiresname,app_id,script_type(maestrofor YAML,appiumfor Appium Python,appium_jsfor Appium JavaScript), andscript(the test script content).run_mobile_test— Trigger a test run on a real BrowserStack device. All script types run via the Appium 2.x W3C WebDriver protocol. Requiresautomation_idanddevice(e.g."Google Pixel 8","iPhone 15 Pro"). Returns run ID for tracking. Video, Appium logs, device logs, and network logs are collected automatically.list_mobile_runs— Get results for mobile test runs. Optional filters:automation_id,status(queued,running,passed,failed,error,archived),limit. Archived runs excluded from default listing.
Example Workflow — Android
upload_mobile_app→ upload your APK- Record test in browser → actions captured automatically
run_mobile_test→ run on Google Pixel 8 (real device)list_mobile_runs→ check results with video and logs- Failures auto-create bug reports with failure snapshot and step breakdown
Example Workflow — iOS
upload_mobile_app→ upload your IPA (for real-device runs)- Upload simulator
.appbuild on app detail page (for recording) - Record test in browser → actions captured from simulator
run_mobile_test→ run on iPhone 15 Pro (real device, uses IPA)update_mobile_app→ replace IPA with new version when ready
Compliance & Evidence (Team/Enterprise)
collect_compliance_evidence— Trigger automated evidence collection from connected services (Cloudflare, GitHub, Sentry, Supabase, Railway). Returns run ID. Collects SSL/TLS settings, WAF status, Dependabot alerts, error trends, deploy history, and more.check_config_drift— Check all connected services for security configuration drift from baselines (SSL mode, TLS version, HSTS, WAF rules, security headers).generate_access_review— Create a quarterly access review report. Audits team members, roles, MFA status, API key usage, and generates recommendations (e.g., revoke inactive keys).get_security_events— Query the cross-service security event timeline. Filter by source (cloudflare, sentry, github) and severity (critical, high, medium, low, info). Events are auto-correlated across services.
Compliance Coverage
These tools help with SOC2 (CC4.1, CC6.1, CC7.2, CC8.1), ISO 27001 (A.5.18, A.8.8, A.8.9, A.8.15-16, A.8.29), and GDPR (Art. 5, 25, 32, 33) compliance requirements.
Compatible Clients
bugAgent works with any client that supports the Model Context Protocol. Here are setup guides for popular clients:
Claude Desktop
Open Settings → Developer → Edit Config, then add:
{
"mcpServers": {
"bugagent": {
"command": "npx",
"args": ["-y", "@bugagent/mcp-server"],
"env": {
"BUGAGENT_API_KEY": "ba_live_your_key_here"
}
}
}
} Restart Claude Desktop after saving.
Cursor
Open Settings → MCP Servers → Add Server, or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"bugagent": {
"command": "npx",
"args": ["-y", "@bugagent/mcp-server"],
"env": {
"BUGAGENT_API_KEY": "ba_live_your_key_here"
}
}
}
} Windsurf
Open Settings → MCP → Add Server, or edit your MCP config file:
{
"mcpServers": {
"bugagent": {
"command": "npx",
"args": ["-y", "@bugagent/mcp-server"],
"env": {
"BUGAGENT_API_KEY": "ba_live_your_key_here"
}
}
}
} Claude Code (CLI)
Add bugAgent directly from the terminal:
claude mcp add bugagent -- npx -y @bugagent/mcp-server Set your API key with export BUGAGENT_API_KEY=ba_live_... before launching.
Other MCP Clients
Any client supporting MCP stdio transport works with bugAgent. Use the standard configuration:
- Command:
npx - Args:
["-y", "@bugagent/mcp-server"] - Env:
BUGAGENT_API_KEY
Getting Started with CLI
The bugAgent CLI gives you full control over bug reports, feature requests, projects, and integrations from your terminal. Use it to:
- Automate workflows — Integrate bug reporting into CI/CD pipelines, scripts, and cron jobs
- Bulk operations — List, filter, and manage reports without leaving your terminal
- Pipe-friendly output — JSON, YAML, and raw formats for composing with
jq,yq, and other tools - Fast iteration — No browser needed — create and update reports in seconds
Installation
npm install -g @bugagent/cli Verify the installation:
bugagent --version Authentication
Set your API key as an environment variable:
export BUGAGENT_API_KEY=ba_live_your_key_here Or pass it directly with the --api-key flag:
bugagent reports list --api-key ba_live_your_key_here ba_live_.For persistent auth, add the export to your shell profile (~/.bashrc, ~/.zshrc, etc.).
Usage
Commands follow the pattern:
bugagent <resource> <action> [flags] Resources can also use colon syntax for subresources:
bugagent reports comments add --report-id WRKID-545 --body "Reproduced on v2.1" Use --help on any command for details:
bugagent reports --help
bugagent reports create --help Example Session
# List your projects
bugagent projects list
# Create a bug report in your default project
bugagent reports create \
--title "Checkout 500 on discount code" \
--description "Applying SAVE20 returns HTTP 500" \
--severity critical \
--type logic
# View recent reports
bugagent reports list --limit 5 --format pretty
# Get full details on a report (use the short ID or UUID)
bugagent reports get WRKID-545
# Sync a report to Jira
bugagent jira sync --report-id WRKID-545
# Check your usage
bugagent usage get --format json CLI Features
The CLI provides commands for:
reports Create, list, get, update, and flush bug reports projects Create, list, update, and delete projects keys Generate, list, regenerate, and revoke API keys jira Connect, sync reports, and configure Jira settings usage Check current usage against plan limits stats View analytics and breakdowns profile View and update your profile and settings auth Login, register, and manage credentials Global Flags
--api-key <key> Override the API key for this command --format <fmt> Output format: json, yaml, pretty, raw --debug Show request/response details for troubleshooting --help Show help for any command --version Print the CLI version Output Formats
The CLI supports multiple output formats for different use cases:
json
Machine-readable JSON. Ideal for piping to jq or other tools.
yaml
Human-friendly YAML output for config files and readability.
pretty
Default. Colorized, formatted output designed for the terminal.
raw
Unformatted output. Useful for scripting and automation.
Filtering with --transform
Use --transform with GJSON syntax to query and filter output data:
# Default pretty output
bugagent reports list
# JSON for piping to other tools
bugagent reports list --format json
# YAML
bugagent reports list --format yaml
# Raw (no formatting)
bugagent reports get rpt_abc123 --format raw
# Filter with GJSON syntax
bugagent reports list --format json \
--transform "items.#(severity==critical).title" AI Skill
The CLI is also available as an AgentSkill, allowing AI coding assistants to use bugAgent on your behalf.
AgentSkills let AI coding assistants (Claude Code, Cursor, etc.) invoke CLI tools contextually. The bugAgent skill gives your AI assistant the ability to file bugs, check project status, and sync to Jira — all without you typing a command.
Install the Skill
claude skills install bugagent --from @bugagent/mcp-server Once installed, the context-aware AI Assistant can use bugAgent commands naturally — with full knowledge of your product, testing guidelines, and uploaded documentation:
"File a critical bug: the payment webhook is returning
a 403 after the latest deploy. It affects all Stripe
events. Assign it to the payments project." The skill translates the natural language into the appropriate CLI commands and executes them.
Get Help
Need assistance? We're here to help.