MCP

Integrate Sentry for Error Monitoring

MCP server that connects Claude to Sentry.io for viewing issues, analyzing error stack traces, and resolving bugs directly from the AI conversation.

Works with sentry

90
Spark score
out of 100
Updated 4 months ago
Version 1.0.0

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

What it does

A Model Context Protocol server that integrates Sentry.io error tracking with Claude, enabling AI-assisted debugging through natural language queries about issues, stack traces, and error events.

How it connects

Best for development teams who want to investigate production errors, prioritize bug fixes, and understand error patterns by querying Sentry directly through Claude instead of switching between tools.

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

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.