Sentry MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SENTRY_DSNNoYour Sentry DSN (Data Source Name)
SENTRY_AUTHYesYour Sentry authentication token with appropriate permissions

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_projects

List accessible Sentry projects. View project slugs, IDs, status, settings, features, and organization details.

resolve_short_id

Retrieve details about an issue using its short ID. Maps short IDs to issue details, project context, and status.

get_sentry_event

Retrieve a specific Sentry event from an issue. Requires issue ID/URL and event ID.

list_error_events_in_project

List error events from a specific Sentry project. View recent errors, frequency patterns, and occurrence timestamps.

create_project

Create a new project in Sentry. Track deployments, releases, and health metrics.

list_project_issues

List issues from a Sentry project. Monitor issue status, severity, frequency, and timing.

list_issue_events

List events for a specific Sentry issue. Analyze event details, metadata, and patterns.

get_sentry_issue

Retrieve and analyze a Sentry issue. Accepts issue URL or ID.

list_organization_replays

List replays from a Sentry organization. Monitor user sessions, interactions, errors, and experience issues.

setup_sentry

Set up Sentry for a project returning a dsn and instructions for setup.