Skip to main content
Glama
mjavadalavi

Sentry MCP Server

by mjavadalavi

Sentry MCP Server

MCP Server for comprehensive Sentry monitoring including:

  • 📊 Performance Analysis

  • 🐛 Issues Tracking

  • 🔍 Transaction Tracing

  • ⚡ Bottleneck Detection

Features

Performance Tools

  • get_slow_transactions - Get slow API endpoints with detailed stats

  • analyze_transaction_trace - Deep dive into specific transaction traces

  • get_performance_overview - Overall performance metrics

  • compare_performance - Compare performance across time periods

Issues Tools

  • get_recent_issues - Get latest errors and exceptions

  • get_issue_details - Detailed issue analysis with stack traces

  • get_issues_by_route - Group issues by API route

Related MCP server: Sentry MCP Server

Installation

cd ~/sentry-mcp
pip install -e .

Configuration

Create .env file:

SENTRY_TOKEN=sntryu_your_token_here
SENTRY_ORG=org-name
SENTRY_PROJECT_ID=547
SENTRY_PROJECT_SLUG=project-slug
SENTRY_BASE_URL=https://sentry.your-org.com

Usage with Claude Desktop

Add to claude.json:

{
  "mcpServers": {
    "sentry": {
      "command": "python",
      "args": ["-m", "sentry_mcp"],
      "cwd": "~/sentry-mcp",
      "env": {
        "SENTRY_TOKEN": "your_token",
        "SENTRY_ORG": "org-name",
        "SENTRY_PROJECT_ID": "547",
        "SENTRY_BASE_URL": "https://sentry.your-org.com"
      }
    }
  }
}

Example Queries

  • "Show me the slowest API endpoints in the last 24 hours"

  • "Analyze the performance of YOUR_ROUTE"

  • "What are the most common errors in production?"

  • "Show me transaction traces for requests over 3 seconds"

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Integrates Sentry error monitoring with AI-powered analysis to automatically capture frontend JavaScript errors and provide intelligent repair suggestions through multiple AI models including OpenAI, Claude, and Gemini.
    -
  • F
    license
    B
    quality
    D
    maintenance
    Enables interaction with Sentry's error tracking platform to fetch and manage issue details, events, and project information through the Sentry API.
    4
    52 npm
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Sentry's error tracking and monitoring tools through a unified API, allowing natural language access to Sentry services.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.
    28 npm
    MIT