Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mains.dev/llms.txt

Use this file to discover all available pages before exploring further.

The Sentry integration syncs error tracking data from your selected projects into Mains. Use Sentry issues as context when asking agents to investigate and fix bugs.

Authentication

Sentry uses an Auth Token with an Organization Slug for authentication. Generate a token from your Sentry organization’s settings under Auth Tokens.
Mains stores your Sentry credentials encrypted in the local database. They never leave your machine.

Setup

1

Connect Sentry

Go to Settings > Apps and click Connect next to Sentry. Enter your Auth Token and Organization Slug.
2

Select projects

After authentication, choose which Sentry projects to sync.
3

Initial sync

Mains fetches existing issues from the selected projects. Subsequent syncs happen incrementally.

Revoking access

To disconnect Sentry, go to Settings > Apps and click Revoke next to Sentry. This removes all synced Sentry data and deletes the stored credentials.