Sentry
Sentry MCP Server
Monitor errors, search issues, and explore crash reports from Sentry in your AI coding assistant.
Last reviewed Mar 2, 2026
Install
claude mcp add sentry --transport stdio -- npx -y @sentry/mcp-serverEnvironment variables required:
SENTRY_AUTH_TOKEN=your-sentry-auth-tokenAvailable tools
| Tool | Description |
|---|---|
| list_issues | List error issues with filtering by project and status |
| get_issue | Get detailed information about a specific error issue |
| list_projects | List all projects in your Sentry organization |
| search_events | Search error events across projects |
What it does
The Sentry MCP Server connects your AI coding assistant to Sentry's error monitoring platform, giving it access to error reports, crash data, and issue tracking. This enables your assistant to help you investigate and fix bugs by looking at real error data, stack traces, and event context directly from your editor.
When debugging production issues, having Sentry data available to your AI assistant dramatically speeds up root cause analysis. The assistant can look up specific errors, analyze stack traces, identify patterns across events, and suggest fixes based on the actual error context.
Use cases
- Look up error details and stack traces while debugging issues in your codebase
- Search for specific error patterns to understand the scope and frequency of bugs
- List recent issues to prioritize which bugs to fix next
- Analyze error events to identify common causes and affected code paths
- Review project health and error trends during development
Getting started
- Create a Sentry Auth Token at sentry.io/settings/account/api/auth-tokens. Select the scopes
project:read,org:read, andevent:readat minimum. - Set the
SENTRY_AUTH_TOKENenvironment variable to your token value. - The server accesses all organizations and projects your token has permissions for. Use organization-scoped tokens to limit access if needed.
- For the best debugging experience, ensure your Sentry projects have source maps uploaded so stack traces show original source code rather than minified bundles.
Compatibility
Related MCP servers
AWS MCP Server
Interact with AWS services including S3, Lambda, CloudWatch, and ECS from your AI coding assistant.
Context7 MCP Server
Fetch up-to-date library documentation and code examples directly into your AI coding assistant.
Docker MCP Server
Manage Docker containers, images, and builds directly from your AI coding assistant.