sentry
Use the hosted Sentry MCP in OpenCode for triage; use sentry-cli for releases and source maps.
MCP use (primary)
Hosted endpoint https://mcp.sentry.dev/mcp via OAuth — see docs/portals/sentry.md for setup.
- Find orgs/projects:
find_organizations,find_projects - Triage:
search_issues(filter by impact, time range; sort by impact), thenget_issue_detailsfor the full stack trace - Correlate the issue
releasetag withgit logbefore forming a hypothesis - Verify access with:
What organizations do I have access to in Sentry?
Seer escalation
- Escalation criteria live in
docs/portals/sentry.md("Seer escalation criteria") - Record the Seer plan link in the PR description
CLI use (releases, source maps)
Use sentry-cli for Sentry error monitoring.
Common Commands
Issues
- List issues:
sentry-cli issues list --org <org> - Resolve issue:
sentry-cli issues resolve <id> - Ignore issue:
sentry-cli issues ignore <id>
Releases
- Create release:
sentry-cli releases new <version> - Finalize release:
sentry-cli releases finalize <version> - List releases:
sentry-cli releases list
Source Maps
- Upload:
sentry-cli sourcemaps upload ./dist
Notes
- Auth token from https://sentry.io/settings/account/api/auth-tokens/
- Set
SENTRY_AUTH_TOKEN,SENTRY_ORGenv vars