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.

Add Sentry to your zone and connect it to your MCP client.

  1. In your zone’s Keycard Console, go to Applications -> Add Application -> Explore MCP Servers.

  2. Search for Sentry and click Install.

  3. A browser tab opens to Sentry’s OAuth consent screen. Sign in and approve the requested permissions.

  4. You’re redirected back. Sentry appears on the Applications page with a Keycard MCP Gateway URL.

On the Applications page, click Add to Coding Agent next to Sentry and pick how you want to install:

  • Cursor - opens a deeplink that hands the MCP config straight to Cursor. Click Install inside Cursor to finish.
  • Claude Code - opens a dialog with a claude mcp add command. Pick a scope (User, Project, or Local), then copy and run the command in your terminal.
  • Install manually - reveals the Server Name and Server URL to paste into any other MCP-compatible client.

Once connected, Sentry’s tools are available to the agent, scoped to whoever signs in to your zone.

What Sentry can do once installed.

Sentry provides 13 tools:

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

What to do once Sentry is installed.

Now do this

  • Confirm the gateway works by asking your AI client to call one of the Sentry tools above.

Recommended

  • Decide who can use it - write access policies scoped to the Sentry resource so only the right users and agents reach the tools.
  • Watch the calls - every tool call lands in your audit log with user identity, resource, and policy decision.

Optional

  • Add REST API access too - install the Sentry API server for backend code that calls Sentry on behalf of users.