Sentry

Author:@modelcontextprotocol
View on GitHub

Overview

What is Sentry? It is a Model Context Protocol server for retrieving and analyzing issues from Sentry.io. It enables developers to inspect error reports, stack traces, and debugging details.

How to use Sentry? Install it via pip install mcp-server-sentry or the recommended uv tool. Set your Sentry authentication token and invoke it through command line or integrations like Claude Desktop.

Key features include retrieving issues by ID or URL, providing detailed insights like title, status, timestamps, and stack traces. It supports debugging with the MCP inspector tool.

Use cases cover analyzing application errors in real-time, retrieving historical reports for diagnostics, and debugging by inspecting stack traces to improve reliability.

Frequently asked questions: It can be used with any language that communicates with Sentry.io. It supports multiple projects as long as the correct authentication token is provided for each.

Configuration

{
  "mcpServers": {
    "sentry": {
      "command": "uvx",
      "args": [
        "mcp-server-sentry",
        "--auth-token",
        "YOUR_SENTRY_TOKEN"
      ]
    }
  }
}