Skip to main content
Glama
Firebase Crashlytics MCP

Firebase Crashlytics MCP

by hram

Firebase Crashlytics MCP

Инструкция на русском

A standalone stdio MCP server for Firebase Crashlytics issue investigations. It supports ranked reports, Firebase Console links, crash events and developer notes.

Setup

  1. Install Node.js 22+, clone this repository, and run npm ci.

  2. Find the Firebase project ID and app ID in Firebase Console. Ask for the Firebase Crashlytics Viewer role or equivalent access on the project.

  3. Configure the MCP server and start a fresh session. Use a protected service account credential file, or supply a short-lived OAuth access token through FIREBASE_CRASHLYTICS_TOKEN.

{
  "mcpServers": {
    "firebase-crashlytics-mcp": {
      "command": "node",
      "args": ["/absolute/path/firebase-crashlytics-mcp/src/mcp.mjs"],
      "env": {
        "FIREBASE_CRASHLYTICS_SERVICE_ACCOUNT_FILE": "/private/firebase-credentials.json",
        "FIREBASE_CRASHLYTICS_PROJECT_ID": "example-project",
        "FIREBASE_CRASHLYTICS_APP_ID": "android:com.example.demo"
      }
    }
  }
}

In meta-agent use a custom stdio entry with id, command, args and env or envFrom.

Call crashlytics_setup for the setup checklist. It works without credentials. Pass check_access: true to test read access using the configured app or explicit project_id and app_id. The probe does not return crash data.

Tool

Purpose

firebase_list_top_crash_issues

Read and save an issue ranking

firebase_get_ranked_crash_issue_details

Investigate a position in the last saved ranking

firebase_get_crash_issue_from_url

Read an issue and match the event referenced by a Firebase Console URL

firebase_get_crash_issue

Read an issue by ID

firebase_list_crash_events

List events with filters and pagination

firebase_get_crash_event

Read one event

firebase_list_crash_issue_notes

Read developer notes

firebase_create_crash_issue_note

Publish a developer note with explicit confirmation

Use FIREBASE_CRASHLYTICS_ALLOW_WRITE=true to enable notes. The tool also requires confirmed: true and an identity with permission to create notes.

The server stores rankings and query responses locally. Set FIREBASE_CRASHLYTICS_STATE_DIR to a private, dedicated directory. By default it uses firebase-crashlytics-mcp under XDG_STATE_HOME or ~/.local/state. Separate state directories keep saved rankings and crash data isolated. Crash responses may contain user data.

GOOGLE_APPLICATION_CREDENTIALS can point to the service account file. FIREBASE_CRASHLYTICS_REQUEST_TIMEOUT_MS defaults to 30000 per HTTP request. Run npm test to test the client without live credentials.

Available Tools

9 tools
crashlytics_setupC
Read-only

Помогает настроить Crashlytics MCP без авторизации. При check_access=true выполняет пробный запрос на чтение к выбранному Firebase-приложению.

Inputs: app_id, project_id, check_access.

firebase_create_crash_issue_noteB

Publish a developer note in Firebase. Requires explicit user confirmation and enabled writes.

Inputs: body (required), app_id (required), issue_id (required), confirmed (required), +1 more.

firebase_get_crash_eventC
Read-only

Read a Crashlytics event by ID or full resource name.

Inputs: app_id (required), project_id (required), event_id, read_mask, +1 more.

firebase_get_crash_issueC
Read-only

Read a Crashlytics issue by ID.

Inputs: app_id (required), issue_id (required), project_id (required).

firebase_get_crash_issue_from_urlB
Read-only

Read an issue from its Firebase Console URL, including a matching session event when available.

Inputs: url (required), page_size, read_mask.

firebase_get_ranked_crash_issue_detailsB
Read-only

Investigate an issue by its position (starting at 1) in the last locally saved ranking.

Inputs: rank (required), page_size, read_mask.

firebase_list_crash_eventsC
Read-only

List Crashlytics events with optional filters and pagination.

Inputs: app_id (required), project_id (required), states, signals, +14 more.

firebase_list_crash_issue_notesC
Read-only

Read developer notes for a Crashlytics issue.

Inputs: app_id (required), issue_id (required), project_id (required), page_size, +1 more.

firebase_list_top_crash_issuesC
Read-only

Rank frequent Crashlytics issues for an app and save the ranking for follow-up by rank.

Inputs: app_id (required), project_id (required), days, limit, +7 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 9 tools

    Disambiguation4/5

    Three tools retrieve a single crash issue (by ID, by console URL, by rank in the last saved ranking), which is an inherent overlap, but the descriptions clearly state the different lookup keys so an agent can pick correctly. The list/get pair for events and the notes pair (list vs. create) are cleanly separated. Setup and note-writing tools are distinct from the rest.

    Naming Consistency4/5

    All names are snake_case verb_noun with a firebase_ prefix, except crashlytics_setup which uses a different prefix and no verb, and the noun number varies inconsistently between create_crash_issue_note (singular) and list_crash_issue_notes (plural). The pattern is still highly predictable overall.

    Tool Count5/5

    Nine tools is well within the ideal range and each earns its place: one setup/verification tool, discovery (top issues, ranked details), targeted reads (by ID, by URL, events, notes) and one write. Nothing looks like padding or a leftover.

    Completeness4/5

    Read coverage for investigation is strong (rankings, ranked details, ID/URL lookup, events, notes), but the write side is a dead end: issues cannot be closed, resolved, or have their state/assignee updated, and notes cannot be edited or deleted. Also no tool to list the Firebase apps/projects that the app-scoped calls require, though setup partially covers access verification.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables crash dump analysis and kernel debugging by integrating the real crash utility with automatic dump discovery, kernel matching, and session management.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to query the Google Play Developer Reporting API for Android production stability data, including crash and ANR issue clusters, de-obfuscated stack traces, release track discovery, startup and crash metric trends, version-to-version comparisons, and anomaly alerts. It also provides guided prompts for incident triage, baseline profile verification, and weekly stability reporting with built-in token compression and caching.
      10
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents and humans to analyze Apple .ips crash reports, symbolicate them against dSYMs, and obtain evidence-cited ranked diagnoses as structured analysis.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables turning pasted or logged crash output from Python, Node, Java, Go, Rust, and .NET into compact root-cause reports, mapping frames onto project code, fingerprinting and comparing traces, explaining exceptions, and redacting secrets over MCP.
      7
      MIT