Error tracking and monitoring
## Raygun MCP Server: Error & Performance Monitoring The **Raygun MCP Server** integrates Raygun's application monitoring platform into Google Antigravity, enabling developers to track errors, monitor performance, and understand user impact through AI-assisted debugging and analysis. ### Why Raygun MCP? - **Crash Reporting**: Capture and group errors with full stack traces across platforms - **Real User Monitoring**: Track actual user performance experiences in production - **Deployment Tracking**: Correlate errors with deployments to identify regressions - **User Impact Analysis**: Understand which users are affected by each error - **Smart Grouping**: AI-powered error grouping reduces noise and highlights critical issues ### Key Features #### 1. Error Analysis and Management ```javascript // Query error groups const errors = await raygun.getErrorGroups({ application: "my-web-app", status: "active", timeframe: "7d", sort: "user_count", limit: 20 }); // Get detailed error information const errorDetail = await raygun.getErrorDetail({ application: "my-web-app", group_id: "error-123", include: ["stack_trace", "affected_users", "browsers"] }); console.log("Error:", errorDetail.message); console.log("Affected users:", errorDetail.affected_user_count); console.log("Occurrences:", errorDetail.occurrence_count); ``` #### 2. Performance Monitoring ```javascript // Get real user monitoring data const performance = await raygun.getRumData({ application: "my-web-app", timeframe: "24h", metrics: ["load_time", "dom_ready", "first_paint"] }); // Analyze performance by page const pagePerformance = await raygun.getPagePerformance({ application: "my-web-app", timeframe: "7d", group_by: "page_url", sort: "p95_load_time" }); // Track deployment impact const deploymentImpact = await raygun.getDeploymentMetrics({ application: "my-web-app", deployment_version: "2.5.0" }); ``` ### Configuration ```json { "mcpServers": { "raygun": { "command": "npx", "args": ["-y", "@anthropic/mcp-raygun"], "env": { "RAYGUN_API_KEY": "your-api-key", "RAYGUN_EXTERNAL_ACCESS_TOKEN": "your-access-token" } } } } ``` ### Use Cases **Production Debugging**: Quickly identify and fix production errors with full context and stack traces. **Performance Optimization**: Find and fix performance bottlenecks affecting real users in production. **Release Quality**: Monitor error rates after deployments to catch regressions before they impact users. The Raygun MCP Server connects production monitoring directly to your development workflow.
{
"mcpServers": {
"raygun": {
"mcpServers": {
"raygun": {
"env": {
"RAYGUN_API_KEY": "your-api-key"
},
"args": [
"-y",
"raygun-mcp-server"
],
"command": "npx"
}
}
}
}
}