Retrieve and analyze issues from Sentry.io
## Sentry MCP Server: Error Tracking and Performance Monitoring The **Sentry MCP Server** integrates comprehensive error tracking and performance monitoring into Google Antigravity, enabling real-time issue detection, debugging, and application health monitoring through AI-assisted analysis. ### Why Sentry MCP? - **Real-Time Errors**: Capture and aggregate errors as they happen with full context - **Stack Traces**: Detailed stack traces with source maps for minified code debugging - **Performance Monitoring**: Track transaction performance and identify slow operations - **Release Tracking**: Correlate errors with releases to identify regression sources - **Issue Assignment**: Automatic issue routing and assignment for faster resolution ### Key Features #### 1. Error Monitoring ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show recent unresolved errors grouped by issue with affected user counts" }] ) ``` #### 2. Performance Analysis ```python # Analyze performance response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show slowest transactions and identify performance bottlenecks" }] ) ``` #### 3. Issue Management ```python # Manage issues response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Assign high-priority issues to team members and set resolution status" }] ) ``` #### 4. Release Health ```python # Check releases response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Compare error rates between current and previous release versions" }] ) ``` ### Configuration ```json { "mcpServers": { "sentry": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-sentry"], "env": { "SENTRY_AUTH_TOKEN": "your-auth-token", "SENTRY_ORG": "your-organization", "SENTRY_PROJECT": "your-project" } } } } ``` ### Use Cases **Production Debugging**: Quickly identify and fix production errors with full context. **Release Monitoring**: Track release health and catch regressions early. **Performance Optimization**: Identify and resolve performance bottlenecks systematically. **Incident Response**: Respond to incidents faster with real-time error alerts and context. The Sentry MCP Server brings production visibility to your workflow, enabling proactive error resolution and performance optimization.
{
"mcpServers": {
"sentry": {
"mcpServers": {
"sentry": {
"args": [
"mcp-server-sentry",
"--auth-token",
"YOUR_SENTRY_AUTH_TOKEN"
],
"command": "uvx"
}
}
}
}
}