Sentry MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SENTRY_URL | No | Base URL for Sentry, used for self-hosted instances | https://sentry.io |
| SENTRY_CLIENT_ID | No | Client ID for the Sentry OAuth application | |
| SENTRY_AUTH_TOKEN | Yes | Sentry authentication token with required scopes (org:read project:read project:write team:read team:write event:read) | |
| SENTRY_CLIENT_SECRET | No | Client secret for the Sentry OAuth application |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use Sentry tools for questions about the user's production apps or Sentry account: errors, crashes, issues, stack traces, traces, spans, slow requests, logs, metrics, replays, profiles, releases, monitors, alert rules, and Sentry SDK setup and docs.
For a Sentry URL or an issue, event, trace, or replay ID, call get_sentry_resource first.
Do not look up the organization first; tools default to it when the user has one. Read
org/projectnotation as the organization and project slugs. If a tool asks for organizationSlug, call find_organizations and pass the slug and regionUrl it returns.search_issues finds grouped problems ("what's broken", "top issues"); search_errors, search_logs, search_traces, search_metrics, search_profiles, search_replays find individual events, counts, and aggregates.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoamiB | Identify the authenticated Sentry user: name and email. |
| find_organizationsA | List or search the Sentry organizations the user can access. Returns each organization's slug and region URL, which other Sentry tools take, plus its web URL; 25 per page. |
| find_teamsB | List or search teams in a Sentry organization. Returns each team's slug and numeric ID, 25 per page. |
| find_projectsB | List or search projects in a Sentry organization. Returns project slugs, 25 per page. |
| find_releasesA | List or search releases (deployed versions) in a Sentry organization or project. Returns each release's dates, new issue count, last commit, and last deploy. Returns at most 25 releases with no next page; narrow by project or version to see others. |
| get_release_detailsA | Get one Sentry release by exact version: its projects, deploys, environments, recent commits, and optionally release health (adoption stages and session bounds). To find issues introduced in a release, use search_issues with |
| find_dashboardsA | List or search Sentry dashboards in an organization by title, returning dashboard IDs and titles. Open one with get_dashboard_details. |
| get_dashboard_detailsA | Get one Sentry dashboard by numeric ID or exact title: its widgets with saved query definitions and transformations, projects, environments, filters, and layout. Returns saved queries, not live widget data. To find a dashboard, use find_dashboards. |
| find_monitorsA | Find Sentry cron monitors, which track scheduled jobs through check-ins. Returns each monitor's status, schedule, owner, project, and recent environment state. Uptime URL checks: find_uptime_monitors. Metric thresholds: find_metric_monitors. When more results exist, narrow by project, environment, owner, or name. |
| get_monitor_detailsA | Get a Sentry cron monitor (scheduled job): schedule, status, owner, environments, recent check-ins (missed, failed, timeout, OK), and check-in stats. Uptime URL checks: find_uptime_monitors. Metric thresholds: find_metric_monitors. Issues for a monitor: search_issues with monitor.slug:. |
| create_monitorA | Create a Sentry cron monitor that alerts on missed, failed, or slow runs of a scheduled job. Uptime URL checks: find_uptime_monitors. Metric thresholds: find_metric_monitors. The job must send check-ins with the returned slug (SDK monitor config or sentry monitor run). A disabled status you did not request means no cron seat was free: tell the user; it ignores check-ins until enabled. After an error or timeout, check find_monitors before retrying. |
| delete_monitor_environmentA | Delete one environment from a Sentry cron monitor, irreversibly. The monitor and its other environments are kept; an absent environment counts as success. To find the monitor and exact environment name, use find_monitors or get_monitor_details. |
| find_uptime_monitorsA | Find Sentry uptime monitors, which check a URL over HTTP. Returns each monitor's URL, status, interval, owner, and project. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors. When more results exist, narrow by project, environment, owner, or name. |
| get_uptime_monitor_detailsA | Get a Sentry uptime monitor: its URL, interval, thresholds, status, and recent HTTP check results (status code, duration, failures). Request bodies are never returned; sensitive headers are redacted. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors. Related issues: search_issues with uptime_rule:. |
| find_metric_monitorsA | Find Sentry Metric Monitors that alert when an error count, latency, log, metric, or crash rate crosses a threshold. Returns monitor IDs, queries, and connected Alerts. Cron jobs: find_monitors. URL checks: find_uptime_monitors. Notifications: alert rules. |
| get_metric_monitor_detailsA | Get a Sentry Metric Monitor: its query, dataset, detection mode, thresholds, resolution conditions, and connected Alerts. Condition results: 75 critical, 50 warning, 0 resolved. Percent thresholds are absolute: 110 means 10% higher. Windows are in seconds. Connected Alerts: get_alert_rule. Cron jobs: find_monitors. URL checks: find_uptime_monitors. |
| create_metric_monitorA | Create a Sentry Metric Monitor that detects when a metric, such as an error count or latency, crosses a static, percent-change, or dynamic threshold. New monitors start active. Copy a monitor's setup from get_metric_monitor_details. Notifications come from Alerts: create_alert_rule. Cron jobs: find_monitors. URL checks: find_uptime_monitors. Creation can persist before an error or timeout; check find_metric_monitors before retrying. |
| update_metric_monitorA | Update a Sentry Metric Monitor: its query, detection mode and conditions, name, owner, status, or connected Alerts. Omitted fields stay unchanged. Read it with get_metric_monitor_details first. Alert notification actions change with update_alert_rule. Cron jobs: find_monitors. URL checks: find_uptime_monitors. |
| delete_metric_monitorA | Permanently delete a Sentry Metric Monitor, and its legacy metric alert and incident history if present. Connected Alerts are kept. To pause detection instead, use update_metric_monitor. Cron jobs: find_monitors. URL checks: find_uptime_monitors. |
| create_uptime_monitorA | Create a Sentry uptime monitor that checks a URL over HTTP on an interval. Response assertions are not supported; set them in the Sentry UI. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors. |
| update_uptime_monitorA | Update a Sentry uptime monitor: URL, interval, timeout, HTTP method, headers, body, status, owner, environment, or failure thresholds. Omitted fields stay unchanged. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors. |
| delete_uptime_monitorA | Permanently delete a Sentry uptime (HTTP URL check) monitor. To pause it, use update_uptime_monitor. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors. |
| find_alert_rulesA | Find Sentry alert rules: Issue Alerts (notification workflows) and Metric Monitor alerts, with their conditions, actions, owner, and environment. Metric entries carry legacy IDs; find_metric_monitors returns canonical monitor IDs. Cron and uptime monitors: find_monitors, find_uptime_monitors. |
| get_alert_ruleA | Get one Sentry alert rule by ID or exact name: its triggers, conditions, notification actions, connected monitors, and project scope. Prefer get_metric_monitor_details for Metric Monitors; cron and uptime monitors have their own get tools. |
| get_alert_optionsA | List what a Sentry Alert (notification workflow) can use: notification actions and integrations (Slack, Teams, email, PagerDuty) with their config schemas, trigger and filter conditions, or monitor and issue-stream sources. Use the results in create_alert_rule or update_alert_rule. Slack and Teams take channel names; Discord needs a channel ID or URL. Choices for dynamic Sentry App fields are not listed. |
| update_alert_ruleA | Update a Sentry Alert (notification workflow): name, status, owner, environment, notification frequency, triggers, notification actions, and connected projects or monitors. Read it with get_alert_rule first; get_alert_options lists valid actions, conditions, and sources. Omitted fields stay unchanged. Metric Monitor queries and thresholds change with update_metric_monitor; cron and uptime monitors have their own tools. |
| create_alert_ruleA | Create a Sentry Alert (notification workflow) that sends Slack, email, PagerDuty, or other notifications when its connected issue streams or monitors trigger. get_alert_options lists valid actions, conditions, and sources; update_alert_rule adds sources to an existing Alert. Monitors are separate tools: find_metric_monitors (metric thresholds), find_monitors (cron jobs), find_uptime_monitors (URL checks). After a timeout or error, search for the Alert before retrying: it may already exist. |
| delete_alert_ruleA | Permanently delete a Sentry Alert (notification workflow) and its notifications for every connected project and monitor. Connected monitors are kept. To stop one source or pause it, use update_alert_rule. Metric Monitors are deleted with delete_metric_monitor. |
| get_issue_detailsA | Get the details of one Sentry issue, by issue ID, URL, or event ID: title, status, counts, the latest or a chosen event with its stacktrace, Seer root cause, suspect commit, linked tickets, and replays. Can also return installed package versions for one event. Use search_issues to list issues. |
| get_event_stacktraceA | Get the full stack trace (stacktrace) of one thread in a Sentry event, such as a non-crashed thread listed in the issue details. Lists the threads when the selector matches none or several. For an event with no threads, returns its event-level stacktrace. |
| get_issue_activityB | Get the activity feed and comments of a Sentry issue: who resolved, ignored, assigned, or commented on it, and when. |
| get_issue_breadcrumbsB | Get the breadcrumb trail of a Sentry issue event: the navigation, console, HTTP, and user actions leading up to the error. |
| get_issue_user_reportsA | Get the legacy User Reports and crash-report feedback attached to a Sentry issue: what users said happened. For User Feedback widget submissions, use search_issues. |
| get_issue_tag_valuesA | Get the tag value distribution of a Sentry issue: counts of each browser, environment, release, URL, or other tag value affected. Tag keys vary by platform, SDK, and custom tags. |
| get_trace_detailsA | Get an overview of one Sentry trace by trace ID: trace statistics, a span breakdown, and a link to the trace in Sentry. Shows a condensed subset of spans, not every span; to list all spans in a trace, use search_traces. |
| get_span_detailsA | Get one span in a Sentry trace by trace ID and span ID: its attributes, timing, errors, and child spans. For a whole-trace overview, use get_trace_details. |
| get_replay_detailsA | Get a Sentry session replay's summary and a timeline of what the user did: page loads and navigations, clicks (including dead and rage clicks), inputs and key presses, console warnings and errors, failed requests, and feedback. |
| get_event_attachmentA | List or download the attachments of a Sentry event, such as screenshots, log files, and minidumps uploaded with an error report. |
| update_issueA | Update a Sentry issue: resolve, ignore (archive), or reopen it, assign it to a user or team, or change its priority. |
| link_issueA | Link an existing external ticket or GitHub pull request to a Sentry issue by URL: Jira, GitHub, GitLab, Bitbucket, Azure DevOps, or an installed Sentry App such as Linear. Adds a reference only; it does not create the ticket or change the issue status (use update_issue). |
| unlink_issueA | Remove a linked external ticket or GitHub pull request from a Sentry issue by URL. Deletes only the association, not the ticket or the issue; safe to repeat. |
| search_attributesA | Find span, log, or metric attribute keys in Sentry by meaning or partial name, with their types, descriptions, examples, and deprecation status. Alternatively, list the spans, logs, or metric attributes available. Use it to get information about attributes or find the exact key before searching traces, logs, or metrics. For attribute values, use search_traces, search_logs, or search_metrics; for issue tag values, use get_issue_tag_values. |
| search_errorsA | Search Sentry error events: exceptions, crashes, and stack traces, including top errors and trends over time. Returns individual events, counts, and aggregates; for grouped issue lists, use search_issues. For log lines, including error-level logs, use search_logs. |
| search_logsA | Search Sentry logs: application log lines at any severity, including trends over time. Returns individual events, counts, and aggregates; for grouped issue lists, use search_issues. For exceptions and crashes, use search_errors; for requests whose trace has a matching log, use search_traces. |
| search_tracesA | Search Sentry traces and spans: requests, endpoints, HTTP and DB calls, and AI/LLM calls, for latency, throughput, and slowness over time. Also finds spans whose trace has a matching log, metric, or span. Returns individual events, counts, and aggregates; for grouped issue lists, use search_issues. For exceptions, use search_errors; for log lines, use search_logs. |
| search_metricsA | Search Sentry metrics: counters, gauges, and distributions, for values, percentiles, totals, and trends over time. Returns individual events, counts, and aggregates; for grouped issue lists, use search_issues. For latency recorded on spans, use search_traces. |
| search_profilesA | Search Sentry profiles: transaction and continuous profiles, to find profile IDs and profiled transactions. Returns individual events, counts, and aggregates; for grouped issue lists, use search_issues. Open a result with get_profile or get_profile_details for flamegraphs and hotspots. |
| search_replaysB | Search Sentry session replays by rage clicks, dead clicks, visited pages, errors seen, and users. Returns replay lists, not counts or aggregates. |
| render_sentry_chartA | Chart a count, rate, duration, or other aggregate of Sentry errors, logs, spans, metrics, or profiles over time, optionally split by one attribute into the 5 values with the most events. Returns every bucket of each series, with each group's event count when split, and MCP Apps hosts show it as an interactive chart. To find individual events, use the dataset search tools. |
| render_issue_chartA | Chart a Sentry issue's events and affected users over time, like the graph on the issue page. Returns every bucket of both series, and MCP Apps hosts show it as an interactive chart. |
| create_teamC | Create a new team in a Sentry organization. Returns the team's ID, slug, and name. |
| create_projectA | Create a new Sentry project for an app or service and provision its DSN (client key) for SDK setup. Optionally links a connected repository with a root code mapping. Returns the project, its DSN, whether the repository linked, and the Sentry signals its platform supports, each with a docs link. |
| update_projectA | Rename a Sentry project, change its slug, or change its platform. Returns the updated project. To change which teams can access a project, use add_team_to_project or remove_team_from_project. |
| add_team_to_projectA | Grant a team access to a Sentry project. Returns the project's teams; makes no change if the team already has access. |
| remove_team_from_projectA | Revoke a team's access to a Sentry project. Returns the project's remaining teams. Refuses to remove the project's last team. |
| create_dsnA | Create an additional DSN (client key) for an existing Sentry project, such as a separate production key. Returns the new key's ID, name, and DSN. create_project already provisions a DSN for a new project. |
| find_dsnsA | List the DSNs (client keys) for a Sentry project: the SENTRY_DSN an SDK uses to send events. Returns each key's ID, name, and DSN. |
| update_dsnA | Update a DSN (client key) on a Sentry project: rename it, activate or deactivate it, set or remove its rate limit, or change JavaScript Loader Script options. Returns the settings Sentry saved; tell the user if any requested setting did not change. |
| analyze_issue_with_seerA | Run Seer AI root cause analysis on a Sentry issue and return the root cause, affected code locations, and a suggested code fix. Returns an existing analysis at once; a new one takes minutes, so call it only when the user asks for Seer or a fix, or the issue details do not show the cause. Does not support metric alert issues. |
| search_docsA | Search Sentry documentation for SDK setup, framework integrations, instrumentation, and configuration such as sampling, data scrubbing, and source maps. Returns matching page paths and snippets only. Use the Sentry tool |
| get_docB | Fetch the full markdown content of a Sentry documentation page. |
| search_issuesA | Search Sentry issues (grouped errors, crashes, and user feedback) and list them with status, occurrences, users impacted, assignee, and first and last seen. Accepts natural language or Sentry issue search syntax. For individual events, counts, or aggregates, use search_errors, search_logs, or search_traces. |
| find_related_issuesA | Find Sentry issues related to an issue: likely duplicates with a similar stack trace or the same title in the same project, other errors in the same trace, issues Seer found to share a root cause, and the error issues behind a metric alert. Returns each related issue with its status and why it's related. Use it before resolving or ignoring an issue. |
| search_issue_eventsA | Search and filter the individual events (occurrences) of one Sentry issue, newest first, by environment, release, user, trace, or time. Accepts natural language or Sentry event search syntax. Use search_issues to search across issues. |
| find_dropped_eventsA | Find events Sentry dropped before storing them (SDK sampling, filters, rate limits, quota, spike protection), as dropped and accepted volume over time by outcome and reason. Each drop is tagged intentional (sampling, filters) or unintentional (quota, abuse). Use it to explain flat, low, or missing data that searches, charts, and dashboards cannot show; no drops means the data is complete. |
| get_profileA | Analyze aggregated CPU profiles (flamegraph) for one Sentry transaction: hot paths, per-function p75/p95/p99, user versus library code, and regressions against a baseline period. For one profile by ID or URL, use get_profile_details. |
| get_profile_detailsA | Inspect one Sentry profile by profile ID, profiler ID, or URL: transaction, trace, release, and runtime details, sample and thread structure, and top frames. Handles transaction and continuous profiles. For aggregated hot paths across a transaction, use get_profile. |
| get_sentry_mcp_infoA | Get the version and details of the running Sentry MCP server, e.g. to check compatibility with a skill or integration. |
| get_sentry_resourceA | Fetch a Sentry resource by URL or ID: issues, events, traces, spans, agent conversations, replays, monitors, metric alerts, dashboards, preprod snapshots, and snapshot images. Start here for any Sentry URL or issue, event, trace, or replay ID; the type is detected from the URL. To list agent conversations, use search_agent_conversations. |
| get_snapshotA | Get a preprod snapshot comparison by ID, such as a failed visual regression or screenshot test from CI: its metadata, image counts, and changed images with the percent of pixels that differ. For an app's latest baseline screenshots, use get_latest_base_snapshot. For a snapshot URL, use get_sentry_resource. |
| get_snapshot_imageA | Get one image from a preprod snapshot: the current, previous, or diff screenshot, with its metadata. Returns a preview image unless full resolution is requested. Get image file names from get_snapshot or get_latest_base_snapshot. |
| get_latest_base_snapshotA | Get an app's latest UI screenshots (baseline or golden images) from preprod snapshots, such as the current screens, dark mode variants, or the baseline behind a visual regression. Returns each image's file name, display name, and description, grouped. For a snapshot comparison by ID, use get_snapshot. |
| get_agent_conversation_detailsA | Get the transcript of one Sentry agent conversation (formerly AI conversation): user and assistant messages and tool calls in order, with trace and span IDs for debugging. To find conversations, use search_agent_conversations. |
| search_agent_conversationsA | Search Sentry agent conversations (formerly AI conversations): one summary row per LLM agent conversation with title, cost, tokens, call counts, and previews. For one conversation's transcript, use get_agent_conversation_details. |
| add_issue_noteA | Add a comment (note) to a Sentry issue's activity feed, visible to the whole team. Use it to record findings or decisions; never post secrets or credentials. |
| onboarding_status_updateA | Report progress to Sentry's agentic onboarding (getting started) UI for one stage of an SDK setup run. Use only with a run token from the Sentry getting started skill, at the stage boundaries it describes. Returns whether Sentry wants further updates; stop when it does not. |
| submit_feedback_to_sentry_teamA | Report friction with the Sentry MCP server to its maintainers (not the user's Sentry organization): a missing tool, a tool that failed or returned wrong data, a confusing tool, or an idea. Call it at most once per task, only when a Sentry MCP tool was missing, failed, or got in the way. Skip it if the task went fine or did not need Sentry; never use it to log progress or to test it. Do not include secrets or personal data. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| sentry_chart | Interactive time series chart for render_sentry_chart and render_issue_chart results, with a range picker, fullscreen, and a link to Sentry. |
TDQS
Scored across 77 tools
Most tools target clearly distinct resources and actions, and the descriptions do a good job steering between similar areas such as issues, errors, logs, traces, and metrics. There is still some overlap from generic tools like get_sentry_resource and get_issue_details, plus the three monitor families require careful reading, but the boundaries are mostly explicit.
The tool set largely follows predictable verb_noun or action_resource patterns with consistent find/get/search/create/update/delete prefixes. Minor deviations like whoami, onboarding_status_update, render_sentry_chart, and analyze_issue_with_seer keep it from being fully uniform.
With 77 tools, the surface is far beyond a well-scoped MCP server and is very likely to overwhelm agents choosing among many similar search/get/find operations. This falls into the extreme-over-provisioning range even for a broad platform like Sentry.
The server covers a very wide Sentry surface: projects, teams, DSNs, issues, events, traces, logs, metrics, profiles, replays, monitors, alert rules, dashboards, docs, and preprod snapshots. There are minor lifecycle gaps such as no delete_project, delete_team, or dashboard create/update/delete tools, but core workflows are well represented.