Mitigate AI Platform

Sentry

How to configure the Sentry MCP connector

The Sentry connector allows the chatbot to search issues, analyze errors, and get AI-powered fix recommendations through the Sentry MCP server.

Connector Settings

FieldValue
Integration TypeMCP
NameSentry
URLhttps://mcp.sentry.dev/mcp
Transport TypeStreamable HTTP
Authentication TypeOAuth 2.1
OAuth Scopes(not required — scopes are managed by Sentry during OAuth authorization)

This MCP server supports Dynamic Client Registration (RFC 7591) — OAuth Client ID and Client Secret are not required.

When joining new Sentry organizations, users must log out and log back in to refresh access permissions.

Usage Examples

Once connected, users can interact with Sentry through natural language:

  • "Show me unresolved issues in the backend project"
  • "What are the most critical errors this week?"
  • "Analyze issue PROJECT-123 and suggest a fix"
  • "Find recent releases for the frontend project"

Tools

Whoami

whoami

Identify the authenticated user in Sentry. Returns the user's name and email address.

Find Organizations

find_organizations

Find organizations that the user has access to in Sentry. Returns up to 25 results.

Parameters:

  • query - Search query to filter results by name or slug

Find Projects

find_projects

Find projects in a Sentry organization. Returns up to 25 results.

Parameters:

  • query - Search query to filter results by name or slug
  • organizationSlug - The organization's slug
  • regionUrl - The region URL for the organization, if known

Find Teams

find_teams

Find teams in a Sentry organization. Returns up to 25 results.

Parameters:

  • query - Search query to filter results by name or slug
  • organizationSlug - The organization's slug
  • regionUrl - The region URL for the organization, if known

Find Releases

find_releases

Find releases in a Sentry organization. Useful for checking recent versions and deployment history.

Parameters:

  • query - Search for versions containing the provided string
  • organizationSlug - The organization's slug
  • projectSlug - The project's slug to filter releases
  • regionUrl - The region URL for the organization, if known

Search Issues

search_issues

Search for grouped issues in Sentry using natural language. Returns a list of issues with metadata like title, status, and user count.

Parameters:

  • naturalLanguageQuery - Natural language description of issues to search for (e.g., critical bugs from last week, unhandled errors affecting 100+ users)
  • organizationSlug - The organization's slug
  • projectSlugOrId - The project's slug or numeric ID
  • limit - Maximum number of issues to return
  • includeExplanation - Include explanation of how the query was translated
  • regionUrl - The region URL for the organization, if known

Get Issue Details

get_issue_details

Get detailed information about a specific Sentry issue, including stacktrace and error context.

Parameters:

  • issueId - The issue ID (e.g., PROJECT-123)
  • issueUrl - The full Sentry issue URL
  • eventId - The ID of a specific event
  • organizationSlug - The organization's slug
  • regionUrl - The region URL for the organization, if known

Get Issue Tag Values

get_issue_tag_values

Get tag value distribution for a specific issue. Useful for understanding how an issue is distributed across browsers, environments, URLs, or users.

Parameters:

  • tagKey - The tag key to get values for (e.g., url, browser, environment, release)
  • issueId - The issue ID (e.g., PROJECT-123)
  • issueUrl - The full Sentry issue URL
  • organizationSlug - The organization's slug
  • regionUrl - The region URL for the organization, if known

Search Issue Events

search_issue_events

Search and filter events within a specific issue using natural language queries. Supports filtering by time, environment, release, user, trace ID, or other tags.

Parameters:

  • naturalLanguageQuery - Natural language description of events to find (e.g., from last hour, production with release v1.0)
  • issueId - The issue ID (e.g., PROJECT-123)
  • issueUrl - The full Sentry issue URL
  • organizationSlug - The organization's slug
  • projectSlug - The project's slug for better tag discovery
  • limit - Maximum number of events to return (1–100, default: 50)
  • includeExplanation - Include explanation of how the query was translated
  • regionUrl - The region URL for the organization, if known

Search Events

search_events

Search for events and perform aggregations such as counts, sums, and averages. Supports both individual event retrieval and statistical queries across errors, logs, and spans.

Parameters:

  • naturalLanguageQuery - Natural language description of what to search for (e.g., how many errors today, total tokens used by model)
  • organizationSlug - The organization's slug
  • projectSlug - The project's slug
  • limit - Maximum number of results to return
  • includeExplanation - Include explanation of how the query was translated
  • regionUrl - The region URL for the organization, if known

Get Trace Details

get_trace_details

Get detailed information about a specific trace, including statistics and span breakdown.

Parameters:

  • traceId - The trace ID (a 32-character hexadecimal string)
  • organizationSlug - The organization's slug
  • regionUrl - The region URL for the organization, if known

Analyze Issue With Seer

analyze_issue_with_seer

Use Sentry's AI agent (Seer) to perform root cause analysis and get code-level fix recommendations for an issue.

Parameters:

  • issueId - The issue ID (e.g., PROJECT-123)
  • issueUrl - The full Sentry issue URL
  • organizationSlug - The organization's slug
  • instruction - Optional custom instruction for the AI analysis
  • regionUrl - The region URL for the organization, if known

Get Event Attachment

get_event_attachment

Download or list attachments from a Sentry event, such as screenshots, log files, or other uploaded files.

Parameters:

  • eventId - The ID of the event
  • organizationSlug - The organization's slug
  • projectSlug - The project's slug
  • attachmentId - The ID of a specific attachment to download. If omitted, lists all attachments
  • regionUrl - The region URL for the organization, if known

On this page