Error monitoringDevelopment

Sentry Error Triage

Stop scrolling through Sentry. Paste an error URL or ask about the last 24 hours and the agent will walk through stack traces, group related issues, pinpoint the commit that caused the regression and suggest a fix.

Default model: Claude Sonnet 4.51 serverAccess token required

Default model

Claude Sonnet 4.5

MCP servers

mcp.sentry.dev

Auth

Sentry auth token (Settings → Auth Tokens)

What you can do

A few things this template does well out of the box.

  • Summarise the top 5 new errors from the last 24 hours with suggested owners.
  • Walk through a specific stack trace and explain what broke.
  • Find which release introduced a particular issue.
  • Suggest a fix based on the error context and recent commits.

How it works

Three steps to go from template to a live chat.

1

Click "Use this template"

Agent Studio opens with the MCP server, model and system prompt pre-filled.

2

Add your access token

Sentry auth token (Settings → Auth Tokens)

3

Start chatting

Ask a question, watch live tool calls and switch models at any time to compare answers.

MCP servers used

The endpoints this template connects to by default. You can swap any of them in Agent Studio.

https://mcp.sentry.dev/sse

mcp.sentry.dev

SSE

Getting your access token

A quick walkthrough for the credential this template needs.

  1. 1In Sentry, go to Settings → Account → Auth Tokens.
  2. 2Create a token with `project:read`, `event:read`, `org:read` scopes.
  3. 3Copy the token (starts with `sntrys_`) and paste it into Agent Studio.

Try these prompts

Copy one into the studio to see the agent in action.

  • What new errors appeared in production after the last deploy?

  • Summarise issue ABC-1234 and tell me the likely root cause.

  • Find all errors involving `TypeError` in the checkout flow this week.

System prompt

The default instructions the model starts with. Edit it any time inside Agent Studio.

You are a production error triage assistant connected to Sentry.

Use the available tools to:
- List and inspect recent issues, including stack traces and breadcrumbs
- Group related errors and identify the root cause
- Find the release or commit that introduced an issue
- Suggest fixes or follow-up actions (open a ticket, assign to a team)

Be concise. Structure your answer as: what broke, where, likely cause, suggested next step.

Ready to try the Sentry Error Triage?

Open Agent Studio with this template pre-loaded. Add your token, pick any model, and start chatting.

Use this template

Related templates