Skip to main content
Connect your PraisonAI agents to Sentry so they can fetch recent production exceptions, inspect stack traces, correlate regressions with releases, and draft root-cause summaries.
The user asks about recent production failures; PraisonAI pulls live stack traces from Sentry and summarizes probable root causes.

How It Works

PraisonAI connects to Sentry’s official hosted MCP endpoint (https://mcp.sentry.dev/mcp) over Streamable HTTP using OAuth 2.1 PKCE and caches tokens at 0600 in ~/.praisonai/mcp-auth.json.

Step-by-Step Setup

1

Prerequisites

  • A Sentry account with access to at least one organization and project
2

Install PraisonAI with MCP support

3

Add and authenticate Sentry

4

Verify and inspect tools

5

Combine Sentry with GitHub (optional)


Scope Tools for Safety

Keep incident-triage agents read-only so they don’t prematurely resolve or ignore active alerts:

Common Workflows

  • Post-Deploy Regression Check: "List any new Sentry issues introduced after today's release and group by service."
  • Root-Cause Brief: "Fetch full stack trace and breadcrumbs for Sentry issue PROJ-123 and suggest a fix."

Troubleshooting


Best Practices

Mention your Sentry organization and project slug so the agent avoids scanning unrelated projects.
Pass multiple MCP(...) instances in tools=[...] β€” PraisonAI automatically namespaced tool names when multiple servers are loaded via load_mcp_tools().
Sentry event breadcrumbs can contain request metadata; avoid forwarding raw event payloads to external channels without redaction.

List of Connectors

Browse all popular connectors and step-by-step guides

GitHub Connector

Pair Sentry stack traces with GitHub code and PRs

Remote MCP Connectors

Full CLI commands and Dashboard setup

MCP OAuth Authentication

OAuth 2.1 PKCE flow and token management