Skip to main content
MCP Server

Retrieving and analyzing issues from Sentry.io

Share
720 stars TypeScript MIT Updated: 2025-04-12

Send to Your Agent

Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.

Install the Sentry MCP server for me.

Server: Sentry
Description: Retrieving and analyzing issues from Sentry.io
Install command: npx -y @modelcontextprotocol/server-sentry

Environment variables needed:
- SENTRY_AUTH_TOKEN: Sentry authentication token (required)

GitHub: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sentry

Please install this MCP server and confirm when ready.

Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.

Quick Install

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

  1. Open Claude Desktop app
  2. Go to Settings → Developer → Edit Config
  3. Paste the config below into the file
  4. Restart Claude Desktop
{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sentry"
      ],
      "env": {
        "SENTRY_AUTH_TOKEN": "sntrys_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json

Installation Methods

npx Run directly with npx
npx -y @modelcontextprotocol/server-sentry

Tools (3)

get_issue

Retrieve detailed information about a Sentry issue

list_issues

List issues in a Sentry project

get_event

Get details of a specific error event

Environment Variables

SENTRY_AUTH_TOKEN Required

Sentry authentication token

Example: sntrys_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Compatibility

Claude Desktop
Cursor
Cline
VS Code
Devin (formerly Windsurf)

About

A Model Context Protocol server that provides integration with Sentry error tracking. This server enables LLMs to retrieve and analyze error issues from Sentry projects.

Key Features

  • Issue retrieval — Get detailed error information including stack traces
  • Issue listing — Browse and filter issues by status, priority, and time
  • Event inspection — Examine specific error events with context
  • Error analysis — Understand patterns and frequencies

Authentication

Requires a Sentry authentication token. Create one at: https://sentry.io/settings/account/api/auth-tokens/

Use Cases

  • Bug triage — "Show me the highest priority issues from last 24 hours"
  • Error analysis — "Analyze this stack trace and suggest a fix"
  • Monitoring — "How many new issues appeared after the last deployment?"
  • Debugging — "Find all occurrences of this error across projects"
  • Reporting — "Summarize error trends for this week"

Related Resources

Compare LLM Pricing

This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.