Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Bugsnag MCP server

Vendor MCP
Open markdown

The Bugsnag MCP connector routes your AI agent's tool calls to Bugsnag's own MCP server through Scalekit. Each user signs in to Bugsnag once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 19 tools.

Tools
19
What they doRead · write · destructive
17 · 2 · 017 read2 write0 destructive
Users sign in with
OAuth app
Scalekit's or your own

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Bugsnag MCP connection

    In AgentKit > Connections, create a Bugsnag MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Scalekit credentials are available for Bugsnag MCP server, so you don't need to register an OAuth app.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'bugsnagmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Bugsnag MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'bugsnagmcp_bugsnag_get_current_project',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • bugsnagmcp_bugsnag_get_buildRetrieve details for a specific build by its ID, including source control metadata.Read-only

    Get Build

    Retrieve details for a specific build by its ID, including source control metadata.

    Inputs

    buildIdstringrequired
    Unique identifier of the app build
    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • bugsnagmcp_bugsnag_get_current_projectRetrieve the default project set for the current session.Read-only

    Get Current Project

    Retrieve the default project set for the current session. Tools use this project when no projectId is specified.

    Inputs

    This tool takes no inputs.

  • bugsnagmcp_bugsnag_get_errorRetrieve full details on an error, including aggregated stats across all occurrences and the latest event's stacktrace, breadcrumbs, and metadata.Read-only

    Get Error

    Retrieve full details on an error, including aggregated stats across all occurrences and the latest event's stacktrace, breadcrumbs, and metadata.

    Inputs

    errorIdstringrequired
    Unique identifier of the error to retrieve
    filtersobject
    Apply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • bugsnagmcp_bugsnag_get_eventRetrieve detailed information about a specific error event by its ID.Read-only

    Get Event

    Retrieve detailed information about a specific error event by its ID.

    Inputs

    eventIdstringrequired
    Unique identifier of the event
    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • bugsnagmcp_bugsnag_get_event_details_from_dashboard_urlRetrieve event details using a Bugsnag dashboard URL.Read-only

    Get Event From Dashboard URL

    Retrieve event details using a Bugsnag dashboard URL.

    Inputs

    linkstringrequired
    Full URL to the event details page in the BugSnag dashboard (web interface), containing project slug and event_id parameter.
  • bugsnagmcp_bugsnag_get_events_on_an_errorList events (occurrences) grouped under a specific error.Read-only

    Get Events On Error

    List events (occurrences) grouped under a specific error.

    Inputs

    errorIdstringrequired
    Unique identifier of the error
    directionstring
    Sort direction for ordering resultsone of ascdescdefault desc
    filtersobject
    Apply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
    nextUrlstring
    URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
    perPagenumber
    How many results to return per page.default 30
    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • bugsnagmcp_bugsnag_get_network_endpoint_groupingsRetrieve the network endpoint grouping rules configured for a project.Read-only

    Get Network Endpoint Groupings

    Retrieve the network endpoint grouping rules configured for a project.

    Inputs

    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • bugsnagmcp_bugsnag_get_releaseRetrieve details for a specific release by its ID, including source control info and associated builds.Read-only

    Get Release

    Retrieve details for a specific release by its ID, including source control info and associated builds.

    Inputs

    releaseIdstringrequired
    Unique identifier of the app release
    projectIdstring
    Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.