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
- A portal with at least one access group
- A personal auth token from Bugsnag for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Personal Auth Token | API token | token |
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:
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
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.
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 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. NeedsprojectId.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. NeedsprojectId.get_stability: Get the stability trend for a Bugsnag project including release information, session counts, and stability scores over time. NeedsprojectId.list_errors: List and search errors in a Bugsnag project. NeedsprojectId.list_events: List error events for a project or specific error. NeedsprojectId.get_project: Get detailed information about a specific Bugsnag project including its configuration, release stages, stability targets, and error counts. NeedsprojectId.get_event: Get full details of a specific error event including stacktrace, user info, device info, app info, breadcrumbs, metadata, and feature flags. NeedsprojectIdandeventId.get_organization: Read an accessible Bugsnag organization and its billing and account metadata.list_releases: List releases for a Bugsnag project. NeedsprojectId.list_projects: List all projects in a Bugsnag organization. NeedsorganizationId.get_error: Get detailed information about a specific Bugsnag error, including its class, message, severity, status, event/user counts, and recent event history. NeedsprojectIdanderrorId.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. Needsaction.update_error: Update the status or assignment of a Bugsnag error. NeedsprojectId.manage_comments: List, create, update, or delete comments on a Bugsnag error. NeedsactionandprojectId.manage_collaborators: List, invite, update, or remove collaborators in a Bugsnag organization. NeedsactionandorganizationId.manage_project: Create, update, or delete a Bugsnag project. Needsaction.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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Bugsnag there
- Tool permissions: tool filters and what employees see
- Bugsnag on metorial.com: the integration overview