Sentry MCP Server
Query Sentry error data and get AI-powered issue analysis
The Sentry MCP Server connects Claude to your Sentry error tracking. Ask about recent errors, get stack traces explained in plain English, and let Claude suggest fixes — without switching away from your development environment.
Installation & Configuration
Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": ["sentry-mcp"],
"env": { "SENTRY_AUTH_TOKEN": "your_sentry_auth_token" }
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Available Tools (5)
list_organizationslist_projectslist_issuesget_issue_detailsget_stacktrace
Use Cases
- Error triage — ask Claude to explain and categorize recent errors
- Debugging — get AI analysis of stack traces
- Incident response — query Sentry data during outages
Source & Documentation
GitHub Repository: https://github.com/getsentry/sentry-mcp
Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io