
Triage Sentry errors into Linear issues
Error alerts pile up and nobody knows which ones matter or who owns them.
How it connects
This setup is for engineering leads and on-call developers who get more Sentry alerts than they can triage. Claude reads unresolved Sentry issues and their stack traces, checks the related code in GitHub, and drafts Linear issues for the right team. You end up with a short list of tickets that explain the error, its impact and the likely file, created only after you approve them.
Set it up
1Connect Sentry
Add Sentry's hosted MCP server to Claude Desktop or Claude Code and sign in to your Sentry organization through OAuth. Ask Claude to list the top unresolved issues in one project from the last 24 hours to confirm access. Claude sees the organizations and projects your Sentry account can see.
Tip: Start with a single project so the first triage stays small.
2Connect Linear
Add Linear's hosted MCP server and authorise it with your Linear workspace. Ask Claude to list your teams and labels so it uses the right team key, labels and priority values. Tell it which team owns which service, for example in a short mapping you paste at the start.
Tip: Keep a saved prompt with your service-to-team mapping and reuse it each time.
3Add code context
Connect GitHub's MCP server with read access to the repositories behind your Sentry projects. Claude can then open the file and line from a stack trace and check recent commits that touched it. Use a fine-grained token or OAuth scoped to those repositories only.
Tip: Read-only repository access is enough for this setup.
4Approve the tickets
Ask Claude to propose one Linear issue per Sentry problem, with the error message, event count, affected users, a link to the Sentry issue and the suspected file. Review the drafts, drop duplicates and noise, then approve each create call. Ask Claude to add the Linear link back as a comment on the Sentry issue if your team tracks it there.
Tip: Ask Claude to check Linear for an existing ticket with the same error before drafting a new one.
Then just ask
Good to know
What you need
- Sentry organization access
- Linear workspace with permission to create issues
- GitHub access to the related repositories
- Claude Desktop or Claude Code
Limits
- Claude's guess at the faulty file comes from stack traces and recent commits and can be wrong.
- Minified or unsymbolicated stack traces give Claude much less to work with; upload source maps to Sentry.
- It does not know team ownership unless you tell it.
Keep it safe
- Sentry access is read-only.
- Keep approval on for creating Linear issues.






