Sentry Server
Overview
The Sentry server provides comprehensive error tracking and performance monitoring capabilities. Built by Sentry, this server enables AI assistants to access error data, manage issues, analyze performance traces, and help teams maintain healthy applications.Getting Started
1
Connect to Sentry
Add the Sentry server to your Nexus environment through the server directory.
2
Authenticate with Sentry
Connect your Sentry account using OAuth to access your organizations and projects.
3
Test Connection
Start with
whoami
to verify authentication and find organizations
to see your available data.What You Can Do
Error Tracking
Monitor, analyze, and resolve application errors and exceptions across projects
Performance Monitoring
Analyze traces, identify bottlenecks, and optimize application performance
Issue Management
Assign issues, update status, and manage the resolution workflow
Team Collaboration
Create teams, find projects, and coordinate error resolution efforts
Use Cases
Error Investigation & Resolution
Error Investigation & Resolution
- Issue Analysis: Get detailed stacktraces, error context, and affected user data
- Root Cause Analysis: Analyze error patterns and identify common failure points
- Resolution Tracking: Update issue status, assign to team members, and track fixes
- Event Attachments: Access screenshots, log files, and diagnostic data
Performance Optimization
Performance Optimization
- Trace Analysis: Examine detailed performance traces and identify slow operations
- Bottleneck Detection: Find database queries, API calls, and operations causing delays
- Resource Monitoring: Track memory usage, response times, and throughput metrics
- Trend Analysis: Search events and perform aggregations to understand patterns
Release Management
Release Management
- Release Tracking: Monitor which versions contain specific errors
- Deployment Analysis: Compare error rates between releases and environments
- Version Health: Identify problematic releases and plan rollbacks
- Environment Comparison: Analyze differences between staging and production
Team Management
Team Management
- Organization Setup: Manage organizations and access controls
- Team Creation: Set up teams for different projects and responsibilities
- Project Discovery: Find and organize projects across your organization
- Workflow Management: Assign issues and track resolution progress
Available Tools (12)
Authentication & Discovery (4 tools)
Authentication & Discovery (4 tools)
Essential tools for authentication and exploring your Sentry environment.Account & Organization Management
whoami
whoami
Identify the authenticated user and get account information
- Use Cases: Verify authentication, get user ID for assignments
find_organizations
find_organizations
List all organizations you have access to in Sentry
- Use Cases: Discover available organizations, get organization slugs
find_teams
find_teams
List teams within a specific organization
- Parameters: organizationSlug (required), regionUrl (optional)
find_projects
find_projects
List projects within a specific organization
- Parameters: organizationSlug (required), regionUrl (optional)
Organization Slugs: Found via
find_organizations
, these are required for most other operations.Error & Issue Management (3 tools)
Error & Issue Management (3 tools)
Comprehensive tools for managing and resolving application issues.
get_issue_details
get_issue_details
Get detailed information about specific issues including stacktraces and context
- Input Methods: Issue ID (e.g., ‘PROJECT-123’), Issue URL, or event ID
- Use Cases: Analyze specific errors, understand failure context
update_issue
update_issue
Change issue status, assignment, and resolution state
- Status Options: resolved, resolvedInNextRelease, unresolved, ignored
- Assignment: Assign to users (‘user:123’) or teams (‘team:456’)
get_event_attachment
get_event_attachment
Download attachments from events (screenshots, logs, diagnostic files)
- Parameters: organizationSlug, projectSlug, eventId, attachmentId
- Use Cases: Access diagnostic data, screenshots, and log files
When updating issues, use numeric IDs for assignment (e.g., ‘user:123456’ or ‘team:789’).
Performance & Monitoring (2 tools)
Performance & Monitoring (2 tools)
Advanced tools for performance analysis and application monitoring.
get_trace_details
get_trace_details
Analyze performance traces with span breakdown and statistics
- Input: Trace ID (32-character hex string)
- Output: High-level overview, span details, performance metrics
search_events
search_events
The primary tool for statistics and event search - supports both aggregations and individual events
- Aggregation Queries: “how many errors this week”, “count of timeouts”
- Event Search: “show me errors from last hour”, “find database exceptions”
- Natural Language: Use plain English to describe what you’re looking for
Trace IDs: 32-character hexadecimal strings (e.g., ‘a4d1aae7216b47ff8117cf4e09ce9d0a’).
Release & Team Management (3 tools)
Release & Team Management (3 tools)
Tools for managing releases, teams, and organizational structure.
find_releases
find_releases
List and search releases across projects
- Parameters: organizationSlug (required), projectSlug, query (optional)
- Use Cases: Find recent releases, check deployment status
create_team
create_team
Create new teams for organizing projects and responsibilities
- Parameters: organizationSlug (required), name (required)
- Use Cases: Set up teams for new projects, organize development efforts
Release Management: Use
find_releases
with query parameters to search for specific version patterns.Configuration Requirements
Authentication Setup
The Sentry server uses OAuth2 authentication with Sentry’s API:Authentication Flow
Authentication Flow
- OAuth Authorization: Authenticate via Sentry’s OAuth flow
- Organization Access: Ensure you have appropriate permissions in target organizations
- API Permissions: Verify your account has API access enabled
- Regional URLs: Some operations may require region-specific URLs
Required Permissions
Required Permissions
- Read Access: View issues, events, traces, and project data
- Write Access: Update issues, create teams (if using management tools)
- Organization Access: Access to organizations you want to monitor
- Project Access: View and manage specific projects
Server Configuration
- Transport: HTTP-based remote server
- Endpoint:
https://mcp.sentry.dev/mcp
- Region Support: Supports both SaaS (sentry.io) and self-hosted installations
- API Version: Compatible with Sentry’s REST API
The Sentry server is hosted remotely and connects directly to Sentry’s API infrastructure for optimal performance and security.
Best Practices
Error Investigation Workflow
- Start with Search: Use
search_events
with natural language queries to find relevant errors - Get Issue Details: Use
get_issue_details
for specific issues that need investigation - Analyze Context: Review stacktraces, user context, and related events
- Track Resolution: Use
update_issue
to assign, resolve, or prioritize issues
Performance Monitoring
- Trace Analysis: Use
get_trace_details
for specific slow requests or transactions - Pattern Detection: Use
search_events
for performance aggregations and trends - Release Comparison: Compare performance across releases using
find_releases
- Bottleneck Identification: Focus on spans with high duration or error rates
Team Collaboration
- Organization Setup: Use
find_organizations
andfind_teams
to understand structure - Project Discovery: Use
find_projects
to map applications and ownership - Issue Assignment: Use
update_issue
with team assignments for collaborative resolution - Status Tracking: Maintain clear issue status to track resolution progress
Always verify organization and project slugs using the discovery tools before performing operations on specific resources.