BACK TO DIRECTORY
mcpintermediate
Sentry
Integrates Sentry error tracking into your Claude Code workflow. Browse recent errors with full stack traces, investigate specific issues, view error frequency trends, manage alert rules, and search across events. Enables Claude to help debug production issues by correlating errors with recent code changes.
890 STARS
12.3k DOWNLOADS
sentry
sentryerrorsmonitoringdebuggingobservability
INSTALL COMMAND
npx @anthropic-ai/claude-code mcp add sentry -- npx -y @sentry/mcp-server-sentryCONFIGURATION
json
1{2 "mcpServers": {3 "sentry": {4 "command": "npx",5 "args": [6 "-y",7 "@sentry/mcp-server-sentry"8 ],9 "env": {10 "SENTRY_AUTH_TOKEN": "<your-sentry-auth-token>",11 "SENTRY_ORG": "<your-sentry-org-slug>"12 }13 }14 }15}1617// Setup steps:18// 1. Go to Sentry > Settings > Auth Tokens19// 2. Create a token with project:read, event:read scopes20// 3. Set SENTRY_AUTH_TOKEN and SENTRY_ORG21//22// Available tools:23// - list_issues: Get recent issues with error counts24// - get_issue: Get full issue details and stack trace25// - search_events: Search across all error events26// - get_issue_events: List events for a specific issue27// - resolve_issue: Mark an issue as resolved28// - list_projects: List Sentry projects in the org29//30// Debugging workflow:31// 1. Ask Claude to check Sentry for recent errors32// 2. Claude inspects the stack trace and error context33// 3. Claude locates the relevant source code34// 4. Claude suggests a fix based on the error pattern