Sentry MCP Server

Official
Observability
stdio

Connect AI agents to Sentry for error tracking and debugging. Query issues, view stack traces, analyze crash trends, and correlate errors with deployments. Essential for AI-assisted debugging workflows.

Quick Install

$ uvx mcp-server-sentry --auth-token sntrys_xxxx

Environment Variables

VariableDescriptionRequired
SENTRY_AUTH_TOKENSentry authentication tokenYes

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

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

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (4)

search_issuesget_issue_detailsget_eventlist_projects

Sentry FAQ

What is the Sentry MCP server?

Connect AI agents to Sentry for error tracking and debugging. Query issues, view stack traces, analyze crash trends, and correlate errors with deployments. Essential for AI-assisted debugging workflows.

How do I install the Sentry MCP server?

Run: uvx mcp-server-sentry --auth-token sntrys_xxxx

Which AI clients support the Sentry MCP server?

The Sentry MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Sentry MCP server provide?

The server provides 4 tools: search_issues, get_issue_details, get_event, list_projects.