Integrate Sentry for Error Monitoring
MCP server that connects Claude to Sentry.io for viewing issues, analyzing error stack traces, and resolving bugs directly from the AI conversation.
Why it matters
Connect your AI to Sentry.io to automatically view, analyze, and debug application errors. Streamline your DevOps workflow by gaining immediate insights into issues and their root causes.
Outcomes
What it gets done
List and retrieve details of Sentry issues.
Analyze error stack traces and event breadcrumbs.
Resolve issues directly through AI commands.
Monitor application health and error patterns.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-sentry | bash Capabilities
Tools your agent gets
List all organizations you have access to.
List projects in an organization.
List issues for a project with optional query filtering.
Get detailed information about a specific issue.
Get events associated with an issue.
Resolve an issue in Sentry.
Overview
Sentry MCP
What it does
A Model Context Protocol server that integrates Sentry.io error tracking with Claude, enabling AI-assisted debugging through natural language queries about issues, stack traces, and error events.
How it connects
Best for development teams who want to investigate production errors, prioritize bug fixes, and understand error patterns by querying Sentry directly through Claude instead of switching between tools.
Source README
The Sentry MCP server provides integration with Sentry.io for error tracking and application monitoring. It enables Claude to view issues, analyze errors, and help with debugging.
Installation
Using uvx (recommended):
uvx mcp-server-sentry
Using pip:
pip install mcp-server-sentry
Configuration
Add to your Claude Code settings:
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": ["mcp-server-sentry"],
"env": {
"SENTRY_AUTH_TOKEN": "your_auth_token_here"
}
}
}
}
Getting an Auth Token
- Log in to Sentry.io
- Go to Settings → Auth Tokens
- Create a new token with the following scopes:
project:readissue:readevent:readorg:read
Available Tools
list_organizations
List all organizations you have access to.
list_organizations(): OrganizationList
list_projects
List projects in an organization.
list_projects(organization_slug: string): ProjectList
list_issues
List issues for a project.
list_issues(
organization_slug: string,
project_slug: string,
query?: string
): IssueList
get_issue
Get detailed information about an issue.
get_issue(issue_id: string): IssueDetails
get_issue_events
Get events associated with an issue.
get_issue_events(issue_id: string): EventList
resolve_issue
Resolve an issue.
resolve_issue(issue_id: string): ResolveResult
Features
- View unresolved issues
- Analyze error stack traces
- See error frequency and impact
- Track issue status and assignments
- Access event details and breadcrumbs
Usage Example
Claude, show me the most recent unresolved issues in our
production project and analyze the top error's stack trace.
Use Cases
- Debugging production errors
- Prioritizing bug fixes
- Understanding error patterns
- Monitoring application health
- Investigating user-reported issues
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.