Observability
Sentry
Official Sentry MCP server for querying errors, performance issues, and release health.
Install
npx -y @sentry/mcp-server
The Sentry MCP server connects LLMs to your Sentry projects. Query errors, performance traces, release health, and stack traces to help agents debug production issues.
## Capabilities
- Query error events and stack traces
- Search issues by message, title, or stack
- Get issue details with context and tags
- Access release health and deployment info
- Performance trace exploration
- Organization and project metadata
## Usage
```json
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["-y", "@sentry/mcp-server"],
"env": {
"SENTRY_AUTH_TOKEN": "<YOUR_TOKEN>",
"SENTRY_ORG": "<YOUR_ORG>"
}
}
}
}
```
## Setup
1. Go to sentry.io → Settings → Auth Tokens
2. Create a token with `event:read` and `project:read` scopes
3. Use your organization slug in `SENTRY_ORG`