MCP Connector

Integrate Sentry for Error Monitoring

MCP server that connects Claude to Sentry.io for viewing production errors, analyzing stack traces, and resolving issues directly from your AI workflow.

Works with sentry

78
Spark score
out of 100
Updated 7 months ago
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Connect your AI to Sentry.io to automatically view, analyze, and debug application errors. Streamline your DevOps workflow by gaining immediate insights into issues and their root causes.

Outcomes

What it gets done

01

List and retrieve details of Sentry issues.

02

Analyze error stack traces and event breadcrumbs.

03

Resolve issues directly through AI commands.

04

Monitor application health and error patterns.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-sentry | bash

Capabilities

Tools your agent gets

list_organizations

List all organizations you have access to.

list_projects

List projects in an organization.

list_issues

List issues for a project with optional query filtering.

get_issue

Get detailed information about a specific issue.

get_issue_events

Get events associated with an issue.

resolve_issue

Resolve an issue in Sentry.

Overview

Sentry MCP

The Sentry MCP server integrates Sentry.io error tracking and application monitoring into Claude's workflow. It enables AI-assisted debugging by exposing tools to list organizations and projects, view unresolved issues, analyze error stack traces, examine event details and breadcrumbs, and resolve issues directly through conversational commands. Use this connector when debugging production errors that require context from Sentry's error tracking data, prioritizing bug fixes based on error frequency and impact, investigating user-reported issues with full event history, or monitoring application health across multiple projects. Use it when you need to quickly triage issues and understand error patterns without leaving your AI assistant. Do NOT use this connector if you need to modify Sentry project settings, configure alerts, or manage team permissions - it provides read access to issues and events plus basic issue resolution, not adm

What it does

The Sentry MCP server integrates Sentry.io error tracking and application monitoring into Claude's workflow. It enables AI-assisted debugging by exposing tools to list organizations and projects, view unresolved issues, analyze error stack traces, examine event details and breadcrumbs, and resolve issues directly through conversational commands.

When to use - and when NOT to

Use this connector when debugging production errors that require context from Sentry's error tracking data, prioritizing bug fixes based on error frequency and impact, investigating user-reported issues with full event history, or monitoring application health across multiple projects. Use it when you need to quickly triage issues and understand error patterns without leaving your AI assistant.

Do NOT use this connector if you need to modify Sentry project settings, configure alerts, or manage team permissions - it provides read access to issues and events plus basic issue resolution, not administrative capabilities. Avoid it for real-time alerting workflows where Sentry's native notification system is more appropriate.

Inputs and outputs

You provide a Sentry auth token with project:read, issue:read, event:read, and org:read scopes. For queries, you supply organization slugs, project slugs, issue IDs, and optional query filters.

You receive structured data including organization lists, project lists, issue details with stack traces, event lists with breadcrumbs, error frequency metrics, issue status and assignments, and confirmation of resolution actions.

Integrations

This MCP server integrates exclusively with Sentry.io, the error tracking and application monitoring platform. It requires a valid Sentry account and auth token. Install via uvx (recommended) or pip:

uvx mcp-server-sentry

Configure in Claude Code settings:

{
  "mcpServers": {
    "sentry": {
      "command": "uvx",
      "args": ["mcp-server-sentry"],
      "env": {
        "SENTRY_AUTH_TOKEN": "your_auth_token_here"
      }
    }
  }
}

The connector provides tools including list_organizations(), list_projects(organization_slug), list_issues(organization_slug, project_slug, query?), get_issue(issue_id), get_issue_events(issue_id), and resolve_issue(issue_id).

Who it's for

Software engineers and DevOps teams who use Sentry for error tracking and want AI-assisted debugging workflows. Ideal for developers who triage production issues, investigate error patterns, and need quick access to stack traces and event context without switching between tools. Engineering managers can use it to understand error impact and prioritize fixes based on frequency data. On-call engineers benefit from rapid issue analysis during incident response.

Source README

The Sentry MCP server provides integration with Sentry.io for error tracking and application monitoring. It enables Claude to view issues, analyze errors, and help with debugging.

Installation

Using uvx (recommended):

uvx mcp-server-sentry

Using pip:

pip install mcp-server-sentry

Configuration

Add to your Claude Code settings:

{
  "mcpServers": {
    "sentry": {
      "command": "uvx",
      "args": ["mcp-server-sentry"],
      "env": {
        "SENTRY_AUTH_TOKEN": "your_auth_token_here"
      }
    }
  }
}

Getting an Auth Token

  1. Log in to Sentry.io
  2. Go to Settings → Auth Tokens
  3. Create a new token with the following scopes:
    • project:read
    • issue:read
    • event:read
    • org:read

Available Tools

list_organizations

List all organizations you have access to.

list_organizations(): OrganizationList

list_projects

List projects in an organization.

list_projects(organization_slug: string): ProjectList

list_issues

List issues for a project.

list_issues(
  organization_slug: string,
  project_slug: string,
  query?: string
): IssueList

get_issue

Get detailed information about an issue.

get_issue(issue_id: string): IssueDetails

get_issue_events

Get events associated with an issue.

get_issue_events(issue_id: string): EventList

resolve_issue

Resolve an issue.

resolve_issue(issue_id: string): ResolveResult

Features

  • View unresolved issues
  • Analyze error stack traces
  • See error frequency and impact
  • Track issue status and assignments
  • Access event details and breadcrumbs

Usage Example

Claude, show me the most recent unresolved issues in our
production project and analyze the top error's stack trace.

Use Cases

  • Debugging production errors
  • Prioritizing bug fixes
  • Understanding error patterns
  • Monitoring application health
  • Investigating user-reported issues

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.