Sentry Integration

Pro v1.0.0

Manage error tracking, releases, and application monitoring through Sentry's CLI

Requires Claude Code CLI

This skill integrates with Sentry through Claude Code. Install Claude Code and add this skill to use it.

Available Actions

Create Release

Create a new release in Sentry to track deployments and associate errors

Parameters

Name Type Required Description
version string Required Version identifier for the release (e.g., 1.2.3, v2.0.0-beta)
auto boolean Optional Automatically associate commits from git repository

Try saying...

  • "Create a new release for version 1.2.3"
  • "Create release 2.0.0 with automatic commit tracking"
  • "Start a new release deployment"

List Releases

View all releases for the configured project

Try saying...

  • "Show all releases"
  • "List recent releases"
  • "What releases exist in Sentry?"

Finalize Release

Mark a release as finalized/deployed

Parameters

Name Type Required Description
version string Required Version identifier of the release to finalize

Try saying...

  • "Finalize release 1.2.3"
  • "Mark version 2.0.0 as deployed"

Delete Release

Delete a release from Sentry

Parameters

Name Type Required Description
version string Required Version identifier of the release to delete

Try saying...

  • "Delete release 1.2.3"
  • "Remove version 2.0.0 from Sentry"

Upload Source Maps

Upload source maps for JavaScript error tracking and debugging

Parameters

Name Type Required Description
version string Required Release version to associate source maps with
path string Required Path to directory containing source maps

Try saying...

  • "Upload source maps from ./dist for release 1.2.3"
  • "Upload JavaScript source maps for the latest release"

List Issues

View issues (errors) tracked in Sentry

Try saying...

  • "Show recent issues"
  • "List all errors in Sentry"
  • "What issues are currently tracked?"

Send Event

Manually send an event (error, message) to Sentry

Parameters

Name Type Required Description
message string Required Message text to send as an event
level string Optional Event severity level

Try saying...

  • "Send a test error message to Sentry"
  • "Report a custom event with message 'Database connection failed'"
  • "Send an error event for testing"

List Monitors

View all cron monitors configured in Sentry

Try saying...

  • "Show all monitors"
  • "List cron job monitors"
  • "What monitors are configured?"

Get CLI Info

Display current Sentry CLI configuration and connection status

Try saying...

  • "Show Sentry configuration"
  • "Check CLI connection"
  • "Verify Sentry setup"

Getting Started

CLI Authentication Easy Setup
  1. 1 Install the CLI: brew install sentry-cli (macOS) or curl -sL https://sentry.io/get-cli/ | bash (Linux)
  2. 2 Run: sentry-cli login
  3. 3 Follow the browser prompts to create an auth token
  4. 4 CLI stores the token automatically in ~/.sentryclirc

Verify Setup

sentry-cli info

Success: Displays configured organization and project information

Security & Access

Access Scope

Auth tokens can be scoped to specific permissions (e.g., project:read, project:write, release:admin). Tokens grant access to organization and project data based on configured scopes.

  • Auth tokens grant access to your Sentry organization and projects based on their scopes
  • Store tokens securely - they are stored in ~/.sentryclirc by default
  • Use organization tokens instead of personal tokens for CI/CD pipelines
  • Create separate tokens for different use cases (e.g., one for source maps, one for releases)
  • Revoke compromised tokens immediately in Sentry settings
  • Avoid committing .sentryclirc files to version control

Limitations

  • Some commands require project or organization to be specified via flags or environment variables
  • CLI version 3.0+ removed legacy API key support - only auth tokens are supported
  • Source map uploads may be slow for large bundles

Get This Skill

Requires Pro subscription ($9/month)

Quick Reference

Type
CLI
Auth
CLI Authentication
Setup
Easy Setup
Tools Required
Bash
CLI Dependencies
sentry-cli

Have Feedback?

Help us improve this skill by sharing your ideas and suggestions.

Request Improvements