MetorialDocs

Set up Bugsnag in Metorial for Claude, ChatGPT and Cursor

Share Bugsnag with your team in Claude, ChatGPT and Cursor through Metorial: personal auth token sign-in, 19 tools (13 read-only).

To give your team Bugsnag in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Bugsnag integration in a Metorial portal, and each person connects with a personal auth token. Agents can read and manage Bugsnag errors and projects. The integration has 19 tools, 13 read-only and 6 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Bugsnag in a portal and how each person connects
  • What Bugsnag asks for when you connect, and where to find it
  • How to keep the 13 read-only tools and reject the other 6

Before you start

Sign-in method

MethodTypeWhat a person provides
Personal Auth TokenAPI tokentoken

Personal Auth Token

To connect, a person enters:

  • token: Bugsnag Personal Auth Token. Generate one in the Bugsnag dashboard under My Account → Personal Auth Tokens.

Setup settings

Setup also asks for:

  • organizationId (optional): Default Bugsnag organization ID. If provided, tools will use this organization unless overridden.
  • projectId (optional): Default Bugsnag project ID. If provided, tools will use this project unless overridden.

Admin: share Bugsnag in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Bugsnag. For how members connect, choose Each person connects so everyone enters their own personal auth token, or Shared connection to enter one personal auth token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Bugsnag.

Choose who gets it

Add the access groups that should see Bugsnag. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Bugsnag integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search bugsnag

Employee: connect Bugsnag

In the portal

Open Bugsnag in the catalog

Sign in to your portal and open Bugsnag. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your personal auth token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search bugsnag
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Bugsnag connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list bugsnag
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_error and get_event, and lose the 6 destructive tools, such as delete_error or update_error.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list bugsnag
metorial tools <integration-id>
metorial call <integration-id> list_organizations -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_organizations takes no input. It lists a page of Bugsnag organizations the authenticated user belongs to.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (13)

  • get_pivots: Analyze error distributions by breaking down errors by dimensions such as device, browser, OS, or custom fields. Needs projectId.
  • list_event_fields: Discover the event-field keys, comparison types, and possible values available for filtering errors and events in a Bugsnag project.
  • get_error_trends: View error trend data over time for a project or specific error. Needs projectId.
  • get_stability: Get the stability trend for a Bugsnag project including release information, session counts, and stability scores over time. Needs projectId.
  • list_errors: List and search errors in a Bugsnag project. Needs projectId.
  • list_events: List error events for a project or specific error. Needs projectId.
  • get_project: Get detailed information about a specific Bugsnag project including its configuration, release stages, stability targets, and error counts. Needs projectId.
  • get_event: Get full details of a specific error event including stacktrace, user info, device info, app info, breadcrumbs, metadata, and feature flags. Needs projectId and eventId.
  • get_organization: Read an accessible Bugsnag organization and its billing and account metadata.
  • list_releases: List releases for a Bugsnag project. Needs projectId.
  • list_projects: List all projects in a Bugsnag organization. Needs organizationId.
  • get_error: Get detailed information about a specific Bugsnag error, including its class, message, severity, status, event/user counts, and recent event history. Needs projectId and errorId.
  • list_organizations: List a page of Bugsnag organizations the authenticated user belongs to.

Destructive tools (6)

  • manage_saved_searches: List, create, update, or delete saved searches in a Bugsnag project. Needs action.
  • update_error: Update the status or assignment of a Bugsnag error. Needs projectId.
  • manage_comments: List, create, update, or delete comments on a Bugsnag error. Needs action and projectId.
  • manage_collaborators: List, invite, update, or remove collaborators in a Bugsnag organization. Needs action and organizationId.
  • manage_project: Create, update, or delete a Bugsnag project. Needs action.
  • delete_error: Permanently delete one explicitly identified Bugsnag error and all its events.

Triggers

Bugsnag has 1 trigger, which fire on events in Bugsnag:

  • error_events: Triggers on Bugsnag webhook events including new errors, error occurrences, frequent errors, error milestones, error reopened, error spikes, new releases, rate limiting, and comments.

Next steps