Skip to main content

Usage

Tools

The Bugsee MCP server exports the following tools for AI agents:

list_applications

List all applications accessible to the current user. This tool takes no parameters and returns the applications available under your account. Use it to discover application keys before querying issues.

list_issues

List issues for a given application. Returns a paginated response (50 issues per page) with issue metadata.

Parameters:

ParameterTypeRequiredDescription
application_id_or_keystringYesThe application ID or key (e.g., "MYAPP")
typestringNoFilter by issue type: "bug", "error", or "crash"
statusstringNoFilter by issue status: "open" or "closed"
versionstringNoFilter by application version (e.g., "1.2.3")
reporter_emailstringNoFilter by reporter email address
sortstringNoSort order. One of: "date_desc" (default), "date_asc", "events_desc", "events_asc", "users_desc", "users_asc"
cursorstringNoPagination cursor from a previous response to fetch the next page

Response fields:

  • issues — array of issues, each containing id, key, type, status, severity, summary, created_on, updated_on; plus events_count and users_count for crashes/errors, or description for bugs
  • total — total number of matching issues
  • nextCursor — present if more pages exist; pass it as cursor to fetch the next page

get_issue

Get a single issue by its key (e.g., "MYAPP-123"). Returns a plain-text report with markdown sections covering timing, environment, summary, exception details, and optionally logs.

Parameters:

ParameterTypeRequiredDescription
issue_keystringYesThe issue key in "APPKEY-NUMBER" format (e.g., "MYAPP-123"). Use list_issues first to discover available keys.
include_logsobjectNoLog filter configuration. If omitted, logs are not included. See below.

Log filter options (include_logs):

ParameterTypeDescription
entriesstringRequired. Which log entries to include: "all", "errors", or "range".
max_log_entriesnumberMaximum number of log entries to return. For "all", keeps the last N entries (closest to crash). For "errors" and "range", keeps the first N. Recommended: start with 50–100 for initial triage.
deduplicate_errorsbooleanWhen true and entries="errors", groups identical error messages and returns a count summary.
errors_surroundingobjectContext around error entries (only with entries="errors"). Fields: entries_before, entries_after (number of entries), time_before, time_after (milliseconds).
rangeobjectRange specification (only with entries="range"). Fields: from_index, to_index (entry positions), from_time, to_time (timestamps in ms).
Recommended workflow
  1. Call get_issue without include_logs to inspect the issue first.
  2. If logs are needed, use entries="errors" with deduplicate_errors=true or max_log_entries to limit output.
  3. Use entries="all" only when you specifically need the full session log.

Response sections:

  • Issue timing — start/end timestamps
  • Environment — device, OS, app version (YAML format)
  • Runtime — React Native, Flutter, Unity, etc. (if applicable)
  • Summary — issue title
  • Description — bug reports only
  • Exception — crash/error type, signal, reason, stack trace
  • Logs — only when include_logs is provided

Prompts

Note: While most AI agents that support the MCP Protocol also support tools, prompts are less widely adopted and may not be available in your AI agent of choice.

  • /bugsee_fix

Usage examples

In the following contrived example, a crash was deliberately planted within a test iOS app which had Bugsee pre-configured. Once triggered, a new crash was intercepted and symbolicated by Bugsee and a new issue was created (IOS-1443):

Bugsee Crash

Having a working folder open in Cursor, and having Bugsee MCP Server configured, using it is as simple as just asking the agent to fix the issue using the following prompt:

Help analyze and fix IOS-1443 from Bugsee

The result:

Cursor successfully fetches all the relevant context (including the stack traces) from Bugsee MCP tool, locates the relevant files and methods, analyzes the issue and proposes ways to fix it:

Cursor fix