Install guide and config at curatedmcp.com
Sentry MCP: Stop Copy-Pasting Stack Traces Into Claude
Error debugging just got faster. The official Sentry MCP server connects Claude, Cursor, and Windsurf directly to your Sentry project—pulling live error data, stack traces, and performance metrics without leaving your AI agent. No more screenshotting, no more manual context gathering. Ask Claude about an issue, and it has the full picture: what broke, who it affected, and what changed in the last deployment.
What It Does
Sentry MCP bridges the gap between error monitoring and AI-assisted debugging. When you ask Claude to help with a bug, it can now:
- Query issues by project, environment, and time range — find the right error in seconds
- Pull full stack traces with local variables — Claude sees exactly what your code had in memory when it crashed
- Correlate errors with recent deployments — understand if a recent release introduced the problem
- Access performance bottlenecks — get transaction data and slow query details
- Search by user, URL, or tag — narrow scope to specific scenarios or affected customers
- Suggest fixes with context — because Claude has breadcrumbs, release history, and affected user counts, not just a screenshot
The workflow is radically simpler: Claude sees an error → queries Sentry → gets full context → proposes a fix. No copy-paste friction. Built and maintained by Sentry, with OAuth-based auth so API keys never sit in plaintext configs.
How to Install
npx -y @sentry/sentry-mcp
Add to your Claude Desktop config:
{
"mcpServers": {
"sentry-mcp": {
"command": "npx -y @sentry/sentry-mcp"
}
}
}
Authenticate via OAuth when you first use it. That's it.
Real-World Use Cases
"Claude, what caused the spike in 500 errors this morning?" — Point it at your Sentry project. Claude fetches issues from the last 2 hours, reads the stack traces, cross-references with your recent deploy, and tells you exactly which code change broke what.
"Help me fix this performance problem" — Claude pulls slow transaction data, sees which function is the bottleneck, and suggests optimizations with full context about user impact and affected endpoints.
"Which users hit this bug, and should I roll back?" — Claude queries affected users, reads breadcrumbs to understand their actions, checks release health metrics, and gives you a rollback recommendation backed by actual error data.
Full install guides for Claude Desktop, Cursor, Windsurf, and more at CuratedMCP.
Top comments (0)