# Sentry

> Monitor and debug application errors via Sentry MCP and CLI. Use when triaging production errors or managing releases.

- Skill: `fworks-tech/sentry` (Agent Skill)
- Install (CLI): `npx skillmds@latest add fworks-tech/sentry`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fworks-tech/sentry/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: fworks-tech (https://skillmd.com/u/fworks-tech)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/fworks-tech/sentry

---


# 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), then `get_issue_details` for the full stack trace
- Correlate the issue `release` tag with `git log` before 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_ORG` env vars

