Sentry MCP
Official Sentry MCP server — query errors, analyze issues, and get AI-powered debugging help directly from your Sentry account.
// Add to your client
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.sentry.dev/sse"]
}
}
}Paste into your client's MCP configuration file.
// Try it now
"Show me the top 3 unresolved errors in my Sentry project from the last 24 hours"
- ! Sentry auth tokens should be scoped to the specific organization and project — avoid broad scopes
- ! Issue IDs and slugs differ — some endpoints need one, some the other
- ! High-frequency error projects can return huge result sets — use time ranges and filters
API key or simple config
// When to use
- You use Sentry for error tracking and want AI-assisted triage
- You need to investigate a specific error without opening the Sentry UI
- You want to summarize top errors across projects for a standup
- You're building workflows that auto-investigate new issues
// When NOT to use
- You use Rollbar, Datadog, or another error tracking service
- You need real-time streaming of new errors as they happen
- You only use Sentry for performance monitoring (not its focus)
// Usage Scenarios
Error Triage
Get a daily summary of the top errors across your projects.
Example prompt
"Show me the top 5 unresolved errors in the production project from the last 24 hours"
Stack Trace Analysis
Pull a specific issue's stack trace and have AI explain what's happening.
Example prompt
"Look up Sentry issue PROD-1234 and explain what the stack trace suggests is wrong"
Trend Investigation
Check if an error is getting worse or fading out.
Example prompt
"Show me the trend of this error over the last 7 days — is it getting worse?"
// About
Plain English
Imagine asking your AI: 'What are our top 5 production errors from the last 24 hours?' or 'Summarize the stack trace of this issue' — and it pulls real data from Sentry. This server connects your AI to Sentry so it can query issues, read stack traces, and help you debug production errors through conversation.
The official Sentry MCP server connects AI assistants to your Sentry error monitoring data. Query issues, analyze error patterns, get stack traces, and let AI help you prioritize and fix bugs faster.
Maintained by Sentry with OAuth authentication support. One of the most useful devtools integrations for production debugging.
// Use Cases
- Ask Claude to analyze and fix production errors
- Get AI-powered root cause analysis for issues
- Query Sentry issues by release or time period
- Prioritize error fixes with AI triage
// Works With
// Related Servers
Git MCP
Official Git MCP server — read repository history, diffs, blame, and status through AI without leaving your conversation.
Puppeteer MCP
Official Puppeteer browser automation server — let AI control a real browser for scraping, screenshots, and UI testing.
GitHub MCP
Official GitHub MCP server — manage repos, issues, PRs, and code search directly from your AI assistant.