← Back to Cookbook

Connect Sentry to Devin Oncall

Give Devin access to Sentry context to help it investigate active issues, propose code fixes, and help with incidents affecting production.

Features
Category Workflow
Time
~5 minutes
Complexity
Beginner
Steps
4 steps

Before you start

Accounts & access
  • A Sentry account with at least one project receiving errors
  • A Devin organization with access to the Oncall panel
Knowledge

1
Get started with Devin Oncall

Devin Oncall is a way for organizations to automatically deploy Devin to investigate and help resolve issues. By connecting Devin Oncall to Sentry, you gain a powerful new debugging assistant that helps you respond to issues in real time.

Sentry supports Devin Oncall with:

  • Alerts & Bugs: Have Devin investigate application alerts or active bugs as they are detected in Sentry. Give Devin access to Sentry context through the Sentry plugin.
  • Incidents: Automatically add Devin to incident channels when they get created and use Sentry as the primary data source for gathering information about the incident-causing issue.
Learn more about Devin Oncall
Devin Oncall Connect tools dialog listing Sentry alongside Datadog, Grafana, Honeycomb, and New Relic

2
Install the Sentry plugin

Ensure that Devin has access to your Sentry projects using the Sentry plugin. The plugin includes access to the Sentry MCP server and can be installed for your entire organization or by individual users. You can even make sure the MCP server is installed for everyone by default.

To set up the plugin, go to Customize -> Select Browse Marketplace -> Search for Sentry -> Install and authenticate

Learn more about the Sentry MCP server

3
Create a responder for alerts & bugs

Devin Oncall lets organizations determine which alerts or active bugs they want Devin to investigate and then Devin can use the Sentry MCP server to triage those bugs using relevant Sentry information like:

What context Sentry captures on an issue

4
Deploy Devin with Sentry for incidents

No more weekend pages being sent to your engineers. Instead you can set up Devin Oncall to automatically include Devin in incident responses and resolve issues using Sentry data.

Devin can be automatically deployed into incident Slack channels, configured to be more proactive or reactive resolving issues, and you can configure which modes you want Devin to run in at various stages of the incident response.

Ensure you send the right data to Sentry
Devin Oncall incident settings with auto-join for incident Slack channels and the Sentry MCP selected

That's it.

Help Devin debug better with Sentry context.

Give Devin access to Sentry context to help it investigate active issues, propose code fixes, and help with incidents affecting production.

  • Introduced Devin Oncall for investigating and resolving bugs using Sentry data
  • Installed the Sentry plugin so Devin can read issues, stack traces, breadcrumbs, and Seer RCAs
  • Created a responder for active Sentry issues and alerts
  • Enabled Devin to assist with active incidents using Sentry data

Pro tips

  • 💡 Authenticate the Sentry connection with a dedicated user whose organization role and team membership cover only the projects Devin should investigate.
  • 💡 Connect your repositories in Sentry so Seer and Devin can reason over your actual source code, not just telemetry.
  • 💡 Start responders on one or two high-signal projects, then widen the scope once you trust the results.

Common pitfalls

  • ⚠️ Pointing a responder at every alert. Each investigation spends Devin ACUs, so scope responders to issues and incidents that matter.
  • ⚠️ Treating alert text as instructions. Issue titles and payloads are untrusted input; let Devin investigate the issue itself.
  • ⚠️ Forgetting the Sentry MCP can write. It can update issue status, assignments, tags, and alerts with the permissions of the account you connect.

Frequently asked questions

No. Sentry hosts and manages a remote MCP server with OAuth authentication. You just add the URL to your client and log in.

No. The Sentry MCP server works with any Sentry plan, including the free tier. Access to specific data (e.g. longer retention windows, Seer root-cause analysis) depends on your plan, but the core issue-fetching and log-reading tools are available to all users.

No. The Sentry MCP server is free and only works with data you already have in Sentry, so it doesn't send new events or count against your event quota. Seer usage itself is billed separately; see Sentry's pricing for current Seer details.

The MCP server provides over 16 tools. You can query issues, search for errors across files and projects, check releases, look up project DSNs, investigate performance data through traces and spans, and trigger Seer analysis, all through natural language prompts.

Seer works best with a GitHub repository connected in your Seer settings. With a linked codebase it can point to the exact culprit lines and generate a concrete fix; without one, it still reasons over your issue details, traces, logs, and profiles to explain the likely root cause.

Fix it, don't observe it.

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.