Skip to main content
Glama
Sentry MCP Server

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"

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      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.
      MIT
    • 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
      34 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
      C
      maintenance
      Enables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.
      30 npm
      MIT