Skip to content
API Reference
Sentry logo

Sentry

Monitoring

Application monitoring, error tracking, and performance

Connect Sentry error monitoring to your AI assistant. Investigate errors, analyze stack traces, review performance metrics, and manage issue assignments. Helps developers debug faster by bringing error context directly into their workflow.

Adding Sentry provisions three things in your zone: an upstream resource pointing at https://mcp.sentry.dev/mcp (kept inside Keycard), a Keycard MCP Gateway URL - the downstream resource - that you install in Cursor, Claude Code, or any MCP client, and a provider for token exchange with Sentry’s OAuth issuer.

When your AI client makes a tool call, it sends a Keycard-issued access token to the gateway URL. Keycard’s STS exchanges that token for an upstream Sentry token, the gateway calls the upstream MCP, and the response is proxied back. Your zone’s identity provider, access policies, and audit log apply to every call - the upstream credential never leaves Keycard. Each call is recorded in the audit log with the user identity, the resource accessed, and the policy decision.

Tools the upstream server exposes through the Keycard MCP Gateway.

Sentry exposes 13 tools through the gateway:

whoami
Get current user identity and workspace info
find_organizations
List accessible Sentry organizations
find_teams
List teams in a Sentry organization
List Sentry projects
Find projects in Sentry
List Sentry releases
Find releases in Sentry
get_issue_details
Get Sentry issue details by ID
get_issue_tag_values
Get tag value distribution for a Sentry issue
get_trace_details
Get Sentry trace details by ID
get_event_attachment
Download attachments from a Sentry event
search_events
Search events with counts and aggregations
analyze_issue_with_seer
Analyze errors with Seer for root cause and fixes
search_issues
Search grouped issues and problems in Sentry
search_issue_events
Filter events within a Sentry issue

Add Sentry to your zone and install the gateway URL into Cursor, Claude Code, or any MCP client.

  1. Open the catalog

    In your zone’s Keycard Console, go to ApplicationsAdd ApplicationExplore MCP Servers.

  2. Find and install Sentry

    Search for Sentry in the catalog and click Install.

  3. Connect your development tool

    Once installed, Sentry appears on the Applications page with a Keycard MCP Gateway URL. Use the Install dropdown to add it to Cursor, Claude Code, or any MCP-compatible client.