Skip to main content
Glama
Airbrake MCP Server

Airbrake MCP Server

by Dach3r

Airbrake MCP Server

Model Context Protocol (MCP) server for Airbrake. It lets you query errors, manage deploys, and fetch project stats directly from your MCP client.

Requirements

  • Node.js 18+ (recommended 20+)

  • Airbrake API key with read/write permissions

  • Airbrake Project ID

Related MCP server: Telebugs MCP Server

Install

npm install
npm run build

VS Code MCP

This repo now includes the pieces needed to run as a VS Code MCP server and to publish to the MCP Registry:

  • .vscode/mcp.json for direct workspace installation

  • server.json for MCP Registry publication

  • mcpName in package.json for npm ownership verification

Quick start in VS Code

  1. Open this folder in VS Code.

  2. Run MCP: Open Workspace Folder Configuration or MCP: List Servers.

  3. The committed .vscode/mcp.json points to npx -y airbrake-mcp-server.

  4. Enter your Airbrake API key and project ID when VS Code prompts for them.

Once the package is published to npm and registered in the MCP Registry, it can be installed from the VS Code MCP gallery by searching for @mcp airbrake.

Automated publishing

This repo includes a GitHub Actions workflow at .github/workflows/publish-mcp-registry.yml that publishes to the MCP Registry on version tags like v1.0.0 using GitHub OIDC.

Configuration

Set the following environment variables:

export AIRBRAKE_API_KEY="your_api_key"
export AIRBRAKE_PROJECT_ID="your_project_id"
export AIRBRAKE_HOST="https://api.airbrake.io"  # optional

Where to get credentials

  1. Open your project in Airbrake

  2. Go to Settings → API Keys

  3. Create a new API key with read/write permissions

  4. Your Project ID is in the project URL

Configure in Cursor

Edit your global MCP config:

/Users/<your-username>/.cursor/mcp.json

Example:

{
  "mcpServers": {
    "airbrake": {
      "command": "/absolute/path/to/node", // which node
      "args": ["/absolute/path/to/airbrake-mcp-server/dist/index.js"],
      "env": {
        "AIRBRAKE_API_KEY": "your_api_key",
        "AIRBRAKE_PROJECT_ID": "your_project_id"
      }
    }
  }
}

Notes

  • Use absolute paths for command and args. Relative paths may fail because MCP is started from a different working directory.

  • If you use a version manager (mise, nvm, asdf), point command to the actual Node binary shown by which node.

  • If you want logs during startup, set AIRBRAKE_MCP_DEBUG=1 in env.

  • If you use the workspace configuration in this repo, VS Code will prompt for the Airbrake credentials instead of requiring you to edit the file manually.

Tools (Available Commands)

Error Queries

  • list_errors: List recent errors (pagination supported)

  • get_error_details: Full details for a specific error group

  • get_error_notices: All occurrences (notices) for an error group

  • get_notice_details: Full details of a single notice

Search & Filter

  • search_errors: Text search across errors

  • filter_errors_by_status: Filter by open, resolved, or ignored

  • get_error_trend: Occurrence trend over time

Error Management

  • resolve_error: Mark error as resolved

  • ignore_error: Mark error as ignored

  • reopen_error: Reopen a resolved/ignored error

Deploys

  • list_deploys: List recent deploys

  • create_deploy: Create a deploy notification

Stats

  • get_project_stats: Project health and statistics

Usage Examples

These depend on your MCP client, but typical prompts look like:

List the last 20 Airbrake errors
Get details for error 123456
Search errors for "NoMethodError"
Resolve error 123456

Development

npm run watch
npm run dev

Resources

Available Tools

16 tools
add_error_commentC

Add a comment to an error group

Inputs: body (required), error_id (required).

create_deployC

Create a deployment notification in Airbrake

Inputs: environment (required), version, revision, username, +1 more.

filter_errors_by_statusB

Filter errors by their status (open, resolved, ignored)

Inputs: status (required), limit, environment.

get_error_commentsC

Get all comments for a specific error group

Inputs: error_id (required).

get_error_detailsB

Get comprehensive information about a specific error group including all occurrences, stack traces, and metadata

Inputs: error_id (required), include_notices.

get_error_noticesA

Get all individual occurrences (notices) of a specific error group with full stack traces and context

Inputs: error_id (required), limit.

get_error_trendC

Get occurrence trend data for a specific error over time

Inputs: error_id (required), end_date, start_date.

get_notice_detailsB

Get complete details of a specific error occurrence including full stack trace, parameters, session, and environment data

Inputs: notice_id (required).

get_project_statsC

Get project statistics and health metrics

Inputs: no named parameters.

ignore_errorC

Mark an error as ignored

Inputs: error_id (required).

list_deploysB

List recent deployments for the project

Inputs: limit.

list_errorsC

List errors from Airbrake project. Returns recent errors with their details.

Inputs: page, limit, environment.

reopen_errorB

Reopen a resolved or ignored error

Inputs: error_id (required).

resolve_errorC

Mark an error as resolved

Inputs: error_id (required).

search_errorsB

Search errors by text query, filtering by message, class, file, or any text content

Inputs: query (required), limit, environment.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 16 tools

    Disambiguation3/5

    Several tools overlap: list_errors, search_errors, and filter_errors_by_status all return error groups, and get_error_details vs get_error_notices vs get_notice_details (error group vs occurrences vs single occurrence) require careful reading to distinguish. The descriptions do clarify the group/notice hierarchy, but an agent could easily pick search_errors when filter_errors_by_status was intended.

    Naming Consistency5/5

    All 16 tools follow a strict snake_case verb_noun pattern (list_errors, get_error_details, resolve_error, add_error_comment), with no camelCase or vague verbs mixed in. The plural/singular variation (errors vs error) tracks the resource being acted on and remains predictable.

    Tool Count4/5

    16 tools is slightly on the heavy side but each maps to a concrete Airbrake operation (error lookup, triage, trends, deploys, comments, issue linking). Nothing feels purely redundant, though the three error-listing variants could plausibly be consolidated.

    Completeness4/5

    Error lifecycle (list, inspect, search, filter, trend, resolve/ignore/reopen, link, comment) is fully covered with no obvious dead ends. Minor gaps exist in the deploy surface (list/create only, no get or update) and there is no project-listing operation, but core triage workflows are complete.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server implementation that enables LLMs to interact with Rollbar error tracking data, allowing users to list and analyze errors, view occurrences, track deployments, and access project information.
      13
      22 npm
      6
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that enables AI agents to retrieve and analyze error reports from a self-hosted Telebugs instance. It provides tools for listing projects, searching error groups, and fetching detailed reports directly from the Telebugs SQLite database.
      4
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.
      17 npm
      MIT