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
- CLI (Interactive OAuth)
- Headless / SSH (--manual)
- PraisonAI Dashboard
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
Specify organization and project slugs in prompts
Specify organization and project slugs in prompts
Mention your Sentry organization and project slug so the agent avoids scanning unrelated projects.
Pair Sentry with GitHub or Linear for end-to-end triage
Pair Sentry with GitHub or Linear for end-to-end triage
Pass multiple
MCP(...) instances in tools=[...] β PraisonAI automatically namespaced tool names when multiple servers are loaded via load_mcp_tools().Watch for PII in error payloads
Watch for PII in error payloads
Sentry event breadcrumbs can contain request metadata; avoid forwarding raw event payloads to external channels without redaction.
Related
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

