← All integrations
Monitoring

Sentry AI Agent

Let an AI agent triage your Sentry errors. Daily digests, root-cause first passes, and channel alerts with Oido — scheduled, self-hostable, multi-provider LLM.

What you can automate with Sentry + Oido

  • Post a morning digest of new and trending issues to your team channel.
  • Pull the stack trace for an issue and draft a first-pass root-cause analysis.
  • Answer 'what's the top error this week?' from a channel message.
  • Flag a sudden spike in a specific error and ping on-call.

Oido connects to Sentry through the Sentry MCP server, exposing issues, events, and stack traces as agent tools. Instead of another alert feed to scan, your agent reads Sentry, reasons about it, and reports what actually matters.

How it works

The Sentry MCP server wraps Sentry's API so the agent can list issues, read events, and pull stack traces. Oido runs it on a schedule for digests or on demand for investigation, delivering to the channel where your team already responds to incidents.

Chain it with GitHub and a triage agent can go from a Sentry stack trace to a drafted issue with the suspect commit linked — a real first pass before a human picks it up.

Setup

Install the Sentry MCP server as an Oido extension:

oido extensions install @modelcontextprotocol/server-sentry

Or add it directly to ~/.config/oido/mcp-servers.json:

{
  "servers": {
    "sentry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sentry"
      ],
      "env": {
        "SENTRY_AUTH_TOKEN": "${SENTRY_AUTH_TOKEN}"
      },
      "transport": "stdio"
    }
  }
}

SENTRY_AUTH_TOKENAuth token from Sentry → Settings → Auth Tokens with project read scope.

Confirm the exact source and env vars against the Sentry MCP server — package names occasionally change.

Related integrations
GitHubSlack
Run Sentry agents with Oido →← All integrations