Sentry MCP
Error tracking and triage via MCP (Model Context Protocol).
Setup
Install the MCP server:
npx -y @sentry/mcp-server --skills=inspect,triage
Configure in your MCP client (e.g., ~/.mcporter/mcporter.json):
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["-y", "@sentry/mcp-server", "--skills=inspect,triage"],
"env": {
"SENTRY_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Set SENTRY_ACCESS_TOKEN to a Sentry User Auth Token with API access.
Tools (8 total)
Organizations & Projects
list_organizations— List organizations available to the tokenlist_projects— List projects in an organization
Issues
list_issues— List issues in an organization (requiresorganizationSlug)get_issue— Get details for a specific issue (requiresorganizationSlug,issueId)
Events
list_events— List events for an issue (requiresorganizationSlug,issueId)get_event— Get details for an event (requiresorganizationSlug,eventId)
AI Workflows
inspect— AI-powered issue inspectiontriage— AI-powered triage assistance
Common Patterns
List organizations
mcporter call sentry.list_organizations
List projects
mcporter call sentry.list_projects organizationSlug=xferops
List issues
mcporter call sentry.list_issues organizationSlug=xferops
Get issue details
mcporter call sentry.get_issue organizationSlug=xferops issueId=XFEROPS-AUTH-1
List events for an issue
mcporter call sentry.list_events organizationSlug=xferops issueId=XFEROPS-AUTH-1
XferOps Notes
- Default organization:
xferops - Token may be stored in Secrets Manager as
xferops/sentry/api-token - This setup is already configured on Adam's machine