Sentry MCP
OfficialUse Sentry MCP to give coding agents Sentry access for inspecting projects and debugging production errors.
List organizations, teams, and projects accessible to the user.
Fetch error/issue details, including stacktrace and message, by issue ID or issue URL.
Search recent errors in a specific file, sorted by last seen or occurrence count.
Create Sentry teams.
Create Sentry projects and get a new SENTRY_DSN.
Run it remotely with OAuth or a Sentry token, or locally via stdio; supports self-hosted Sentry and optional skill/tool filtering.
Leverages Cloudflare Workers for deployment of the MCP server, using Durable Objects for persistent state management and KV storage for token management
Integrates with GitHub's OAuth services for authentication, enabling secure access to the MCP server through GitHub credentials
Acts as a middleware to the upstream Sentry API provider, allowing AI agents to interact with Sentry's monitoring and error tracking capabilities
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sentry MCP show me the recent errors in my React project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sentry Toolkit
This repository contains the Sentry CLI, the Sentry MCP server, and shared packages. For the CLI, see the CLI guide and the published documentation at https://cli.sentry.dev/. The documentation index covers both products and shared contributor guidance.
The independent Docs MCP Worker provides documentation
search and AI-generated answers backed by docs.sentry.io.
Sentry MCP
Sentry's MCP service is primarily designed for human-in-the-loop coding agents. Our tool selection and priorities are focused on developer workflows and debugging use cases, rather than providing a general-purpose MCP server for all Sentry functionality.
This remote MCP server acts as middleware to the upstream Sentry API, optimized for coding assistants like Cursor, Claude Code, and similar development tools. It's based on Cloudflare's work towards remote MCPs.
Related MCP server: Sentry MCP Server
Getting Started
You'll find everything you need to know by visiting the deployed service in production:
If you're looking to contribute, learn how it works, or to run this for self-hosted Sentry, continue below.
Claude Code Plugin
Install as a Claude Code plugin for automatic subagent delegation:
claude plugin marketplace add getsentry/sentry-mcp
claude plugin install sentry-mcp@sentry-mcpThis provides a sentry-mcp subagent that Claude automatically delegates to when you ask about Sentry errors, issues, traces, or performance.
For forward-looking tool variants and features:
claude plugin install sentry-mcp@sentry-mcp-experimentalStdio vs Remote
While this repository is focused on acting as an MCP service, we also support a stdio transport. It is the easiest way to run the MCP server against a self-hosted Sentry install.
Note: The AI-powered search tools (search_errors, search_traces, search_logs, search_issues, etc.) require an LLM provider (OpenAI, Azure OpenAI, Anthropic, or OpenRouter). These tools use natural language processing to translate queries into Sentry's query syntax. Without a configured provider, these specific tools will be unavailable, but all other tools will function normally.
Sentry CLI (recommended)
Run the stdio server with the Sentry CLI's sentry mcp command. It uses your CLI login, so the MCP config needs no token:
curl https://cli.sentry.dev/install -fsS | bash
sentry auth login
claude mcp add sentry -- sentry mcpThe CLI also installs with brew install getsentry/tools/sentry,
npm install -g sentry, or irm https://cli.sentry.dev/install.ps1 | iex on
Windows. See the CLI installation guide.
Other clients take the same command:
{
"mcpServers": {
"sentry": {
"command": "sentry",
"args": ["mcp"]
}
}
}Pass <org>/ or <org>/<project> to limit every call to one organization or
project (sentry mcp acme/, sentry mcp acme/web), and --experimental for
forward-looking tool variants. Run sentry mcp --help for every flag and
environment variable, or see the sentry mcp docs.
SENTRY_AUTH_TOKEN, when set, wins over the stored login. See
docs/operations/stdio-auth.md.
To use a token, create a User Auth Token in Sentry with the necessary scopes. As of writing this is:
org:read
project:read
project:write
team:read
team:write
event:writeNeed to connect to a self-hosted deployment? Log in to it with
sentry auth login --url https://sentry.example.com, then set
SENTRY_HOST (e.g. SENTRY_HOST=sentry.example.com)
in the MCP server's environment, which also scopes
SENTRY_AUTH_TOKEN to that server. For isolated internal
deployments that only expose plain HTTP, use an http://
SENTRY_URL instead. See the
CLI self-hosted guide.
Seer is not part of self-hosted Sentry, so the seer skill is left out of the
default skill set whenever the host is not sentry.io. If your
self-hosted deployment does run Seer, opt back in explicitly:
SENTRY_HOST=sentry.example.com sentry mcp --skills=inspect,seerYou can also disable any other skill to prevent unsupported tools from being exposed:
SENTRY_HOST=sentry.example.com sentry mcp --disable-skills=project-managementFor self-hosted instances without TLS:
SENTRY_URL=http://sentry.internal:9000 sentry mcpLegacy: npx @sentry/mcp-server
@sentry/mcp-server still
ships the same server, bundled without the rest of the CLI, for clients that
launch it through npx. It shares the CLI's login and takes the same flags and
environment variables:
npx @sentry/mcp-server@latest auth login # once, to sign in
npx @sentry/mcp-server@latest # uses that login
SENTRY_AUTH_TOKEN=sentry-user-token npx @sentry/mcp-server@latest--access-token / SENTRY_ACCESS_TOKEN from older releases still work but are
deprecated: they act as SENTRY_AUTH_TOKEN and print a warning on stderr.
Remote with an Explicit Sentry Token
Remote clients that support custom HTTP headers can pass an upstream Sentry API token directly to the Cloudflare transport:
{
"mcpServers": {
"sentry": {
"url": "https://mcp.sentry.dev/mcp",
"headers": {
"Authorization": "Sentry-Bearer ${SENTRY_ACCESS_TOKEN}"
}
}
}
}Sentry-Bearer is intentionally separate from Bearer: Bearer is reserved
for MCP OAuth access tokens. With Sentry-Bearer, the worker does not store,
validate, exchange, or refresh the upstream token. It forwards the token through
the same Sentry API calls used by OAuth-backed sessions, and the client or
upstream provider remains responsible for token lifetime and refresh.
Direct remote auth defaults to all active MCP skills. You can narrow the exposed
tools with ?skills=inspect,triage or ?disable-skills=seer.
Environment Variables
SENTRY_AUTH_TOKEN= # Optional after `auth login`; wins over a stored login
# LLM Provider Configuration (required for AI-powered search tools)
EMBEDDED_AGENT_PROVIDER= # Required when multiple provider keys are set: 'openai', 'azure-openai', 'anthropic', or 'openrouter'
OPENAI_API_KEY= # Required if using OpenAI
ANTHROPIC_API_KEY= # Required if using Anthropic
OPENROUTER_API_KEY= # Required if using OpenRouter
OPENROUTER_MODEL= # Optional OpenRouter model, defaults to 'openai/gpt-5.6-luna'
OPENROUTER_REASONING_EFFORT= # Optional OpenRouter reasoning effort, defaults to 'high'
# Optional overrides
SENTRY_HOST= # For self-hosted deployments (drops 'seer' from the default skills)
MCP_SKILLS= # Grant specific skills (comma-separated, e.g. 'inspect,seer')
MCP_DISABLE_SKILLS= # Disable specific skills (comma-separated, e.g. 'project-management')Important: Always set EMBEDDED_AGENT_PROVIDER to explicitly specify your LLM provider. Auto-detection based on API keys alone is deprecated and will be removed in a future release. See docs/operations/embedded-agents.md for detailed configuration options.
Example MCP Configuration
{
"mcpServers": {
"sentry": {
"command": "sentry",
"args": ["mcp"],
"env": {
"EMBEDDED_AGENT_PROVIDER": "openai",
"OPENAI_API_KEY": "sk-..."
}
}
}
}If you leave the host variable unset, the CLI automatically targets the Sentry SaaS service. Only set the override when you operate self-hosted Sentry.
Setting SENTRY_HOST to a self-hosted host also drops the seer skill from
the default set, since Seer is not available on self-hosted Sentry. For a
self-hosted deployment that does run Seer, opt in with MCP_SKILLS:
{
"mcpServers": {
"sentry": {
"command": "sentry",
"args": ["mcp"],
"env": {
"SENTRY_HOST": "sentry.example.com",
"MCP_SKILLS": "inspect,seer"
}
}
}
}Rate Limits
Tool calls are subject to the Sentry API's rate limits. The MCP server retries rate-limited requests, and transient Sentry server errors on read requests, after a short wait. When a limit lasts longer, the tool returns a Rate Limited message that says when to try again. Agents hit the per-second limits most often by running many Sentry tool calls in parallel, so run them one at a time if you see this message.
MCP Inspector
MCP includes an Inspector, to easily test the service:
pnpm inspectorEnter the MCP server URL (http://localhost:5173) and hit connect. This should trigger the authentication flow for you.
Note: If you have issues with your OAuth flow when accessing the inspector on 127.0.0.1, try using localhost instead by visiting http://localhost:6274.
Local Development
To contribute changes, you'll need to set up your local environment:
Set up environment and agent skills:
make setup-env # Creates .env files and installs shared agent skillsThis also runs
npx @sentry/dotagents installto install shared skills from getsentry/skills into.agents/skills/(symlinked into.claude/skillsand.cursor/skills). If you need to update skills later, run it directly:npx @sentry/dotagents installCreate an OAuth App in Sentry (Settings => API => Applications):
Homepage URL:
http://localhost:5173Authorized Redirect URIs:
http://localhost:5173/oauth/callbackNote your Client ID and generate a Client secret
Configure your credentials:
Edit
.envin the root directory and add eitherOPENAI_API_KEYorOPENROUTER_API_KEYEdit
packages/mcp-cloudflare/.envand add:SENTRY_CLIENT_ID=your_development_sentry_client_idSENTRY_CLIENT_SECRET=your_development_sentry_client_secretCOOKIE_SECRET=my-super-secret-cookie
Start the development server:
pnpm dev
Verify
Run the server locally to make it available at http://localhost:5173
pnpm devTo test the local server, enter http://localhost:5173/mcp into Inspector and hit connect. Once you follow the prompts, you'll be able to "List Tools".
Tests
There are three test suites included: unit tests, evaluations, and manual testing.
Unit tests can be run using:
pnpm testEvaluations require a .env file in the project root with some config:
# .env (in project root)
OPENAI_API_KEY= # Use OpenAI-backed AI-powered tools
OPENROUTER_API_KEY= # Or use OpenRouter-backed AI-powered toolsNote: The root .env file provides defaults for all packages. Individual packages can have their own .env files to override these defaults during development.
Once that's done you can run them using:
pnpm evalManual testing (preferred for testing MCP changes):
# Test with local dev server (default: http://localhost:5173)
pnpm -w run cli "who am I?"
# Test against production
pnpm -w run cli --mcp-host=https://mcp.sentry.dev "query"
# Test with local stdio mode (requires SENTRY_ACCESS_TOKEN)
pnpm -w run cli --access-token=TOKEN "query"Note: The CLI defaults to http://localhost:5173. Override with --mcp-host or set MCP_URL environment variable.
Comprehensive testing playbooks:
Stdio testing: See
docs/testing/stdio.mdfor complete guide on building, running, and testing the stdio implementation (IDEs, MCP Inspector)Remote testing: See
docs/testing/remote.mdfor complete guide on testing the remote server (OAuth, web UI, CLI client)
Development Notes
Automated Code Review
This repository uses automated code review tools (like Cursor BugBot) to help identify potential issues in pull requests. These tools provide helpful feedback and suggestions, but we do not recommend making these checks required as the accuracy is still evolving and can produce false positives.
The automated reviews should be treated as:
✅ Helpful suggestions to consider during code review
✅ Starting points for discussion and improvement
❌ Not blocking requirements for merging PRs
❌ Not replacements for human code review
When addressing automated feedback, focus on the underlying concerns rather than strictly following every suggestion.
Contributor Documentation
Looking to contribute? Start at the Toolkit documentation index
for CLI, MCP, and shared guides. See AGENTS.md for repository rules and
packages/cli/AGENTS.md for CLI-specific rules.
Available Tools
77 toolsadd_issue_noteAdd Issue NoteAInspect
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.
Inputs: text (required), issueId, issueUrl, regionUrl, +1 more. Returns: note, issueId, issueUrl, organizationSlug
add_team_to_projectAdd Team to ProjectAIdempotentInspect
Grant a team access to a Sentry project. Returns the project's teams; makes no change if the team already has access.
Inputs: teamSlug (required), projectSlug (required), regionUrl, organizationSlug. Returns: teams, changed
analyze_issue_with_seerAnalyze Issue with SeerAInspect
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.
Inputs: issueId, issueUrl, regionUrl, instruction, +1 more.
create_alert_ruleCreate Alert RuleAInspect
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.
Inputs: name (required), actionFilters (required), owner, status, +7 more. Returns: guidance, alertRule
create_dsnCreate DSNAInspect
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.
Inputs: name (required), projectSlug (required), regionUrl, organizationSlug. Returns: dsn
create_metric_monitorCreate Metric MonitorAInspect
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.
Inputs: name (required), query (required), config (required), projectSlug (required), +6 more. Returns: monitor, guidance
create_monitorCreate Cron MonitorAInspect
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.
Inputs: name (required), schedule (required), projectSlug (required), slug, +10 more. Returns: monitor
create_projectCreate ProjectAInspect
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.
Inputs: name (required), teamSlug (required), slug, platform, +3 more. Returns: dsn, setup, project, repository, +1 more
create_teamCreate TeamCInspect
Create a new team in a Sentry organization. Returns the team's ID, slug, and name.
Inputs: name (required), regionUrl, organizationSlug. Returns: team
create_uptime_monitorCreate Uptime MonitorAInspect
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.
Inputs: url (required), name (required), projectSlug (required), intervalSeconds (required), +13 more. Returns: monitor
delete_alert_ruleDelete Alert RuleADestructiveIdempotentInspect
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.
Inputs: ruleId (required), regionUrl, projectSlug, organizationSlug. Returns: ruleId, success
delete_metric_monitorDelete Metric MonitorADestructiveIdempotentInspect
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.
Inputs: monitorId (required), regionUrl, projectSlug, organizationSlug. Returns: success, monitorId
delete_monitor_environmentDelete Cron Monitor EnvironmentADestructiveIdempotentInspect
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.
Inputs: environment (required), monitorSlug (required), projectSlug (required), regionUrl, +1 more. Returns: success, environment, monitorSlug, projectSlug
delete_uptime_monitorDelete Uptime MonitorADestructiveIdempotentInspect
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.
Inputs: projectSlug (required), uptimeMonitorId (required), regionUrl, organizationSlug. Returns: success, projectSlug, uptimeMonitorId
find_alert_rulesFind Alert RulesARead-onlyInspect
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.
Inputs: kind, fresh, limit, query, +4 more. Returns: issueRules, pagination, metricRules, metricMonitorHint
find_dashboardsFind DashboardsARead-onlyInspect
List or search Sentry dashboards in an organization by title, returning dashboard IDs and titles. Open one with get_dashboard_details.
Inputs: sort, fresh, limit, cursor, +3 more. Returns: dashboards, nextCursor
find_dropped_eventsFind Dropped EventsARead-onlyInspect
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.
Inputs: end, fresh, start, reason, +7 more. Returns: dataset, interval, droppedEvents, acceptedEvents
find_dsnsFind DSNsARead-onlyInspect
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.
Inputs: projectSlug (required), fresh, regionUrl, organizationSlug. Returns: dsns
find_metric_monitorsFind Metric MonitorsARead-onlyInspect
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.
Inputs: fresh, limit, query, cursor, +3 more. Returns: monitors, nextCursor
find_monitorsFind Cron MonitorsARead-onlyInspect
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.
Inputs: fresh, limit, owner, query, +4 more. Returns: hasMore, monitors
find_organizationsFind OrganizationsARead-onlyInspect
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.
Inputs: fresh, query, cursor. Returns: hasMore, nextCursor, organizations
find_projectsFind ProjectsBRead-onlyInspect
List or search projects in a Sentry organization. Returns project slugs, 25 per page.
Inputs: fresh, query, cursor, regionUrl, +1 more. Returns: hasMore, projects, nextCursor
find_releasesFind ReleasesARead-onlyInspect
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.
Inputs: fresh, query, regionUrl, projectSlug, +1 more. Returns: hasMore, releases
find_teamsFind TeamsBRead-onlyInspect
List or search teams in a Sentry organization. Returns each team's slug and numeric ID, 25 per page.
Inputs: fresh, query, cursor, regionUrl, +1 more. Returns: teams, hasMore, nextCursor
find_uptime_monitorsFind Uptime MonitorsARead-onlyInspect
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.
Inputs: fresh, limit, owner, query, +4 more. Returns: hasMore, monitors
get_agent_conversation_detailsGet Agent Conversation DetailsARead-onlyInspect
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.
Inputs: conversationId (required), end, fresh, start, +3 more. Returns: url, title, projects, timeline, +12 more
get_alert_optionsGet Alert OptionsARead-onlyInspect
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.
Inputs: section (required), fresh, limit, query, +7 more. Returns: actions, section, sources, conditions, +3 more
get_alert_ruleGet Alert RuleARead-onlyInspect
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.
Inputs: ruleIdOrName (required), kind, fresh, regionUrl, +2 more. Returns: guidance, alertRule, metricMonitor
get_dashboard_detailsGet Dashboard DetailsARead-onlyInspect
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.
Inputs: dashboardIdOrTitle (required), fresh, regionUrl, organizationSlug. Returns: dashboard
get_docGet Sentry DocBRead-onlyInspect
Fetch the full markdown content of a Sentry documentation page.
Inputs: path (required).
get_event_attachmentGet Event AttachmentARead-onlyInspect
List or download the attachments of a Sentry event, such as screenshots, log files, and minidumps uploaded with an error report.
Inputs: eventId (required), projectSlug (required), fresh, regionUrl, +2 more.
get_event_stacktraceGet Event StacktraceARead-onlyInspect
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.
Inputs: issueId (required), fresh, thread, eventId, +2 more. Returns: thread, eventId, issueId, platform, +5 more
get_issue_activityGet Issue ActivityBRead-onlyInspect
Get the activity feed and comments of a Sentry issue: who resolved, ignored, assigned, or commented on it, and when.
Inputs: fresh, limit, issueId, issueUrl, +3 more. Returns: issueId, activity, comments, issueUrl, +1 more
get_issue_breadcrumbsGet Issue BreadcrumbsBRead-onlyInspect
Get the breadcrumb trail of a Sentry issue event: the navigation, console, HTTP, and user actions leading up to the error.
Inputs: fresh, eventId, issueId, issueUrl, +2 more. Returns: eventId, issueId, breadcrumbs
get_issue_detailsGet Issue DetailsARead-onlyInspect
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.
Inputs: fresh, eventId, issueId, issueUrl, +3 more. Returns: seer, event, issue, replays, +7 more
get_issue_tag_valuesGet Issue Tag ValuesARead-onlyInspect
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.
Inputs: tagKey (required), fresh, issueId, issueUrl, +2 more. Returns: tag
get_issue_user_reportsGet Issue User ReportsARead-onlyInspect
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.
Inputs: fresh, limit, cursor, issueId, +3 more. Returns: issueId, reports, nextCursor, organizationSlug
get_latest_base_snapshotGet Latest Base SnapshotARead-onlyInspect
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.
Inputs: appId (required), fresh, branch, project, +2 more. Returns: app, url, vcs, appId, +5 more
get_metric_monitor_detailsGet Metric Monitor DetailsARead-onlyInspect
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.
Inputs: monitorId (required), fresh, regionUrl, projectSlug, +1 more. Returns: monitor
get_monitor_detailsGet Cron Monitor DetailsARead-onlyInspect
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:.
Inputs: monitorSlug (required), end, fresh, start, +8 more. Returns: stats, monitor, checkIns, environments
get_profileGet Transaction ProfileARead-onlyInspect
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.
Inputs: fresh, period, regionUrl, profileUrl, +6 more. Returns: period, analysis, guidance, projectId, +6 more
get_profile_detailsGet Profile DetailsARead-onlyInspect
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.
Inputs: end, fresh, start, profileId, +6 more. Returns: profile, samples, suggestedActions
get_release_detailsGet Release DetailsARead-onlyInspect
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 release:<version>.
Inputs: releaseVersion (required), fresh, limit, regionUrl, +5 more. Returns: health, commits, deploys, release
get_replay_detailsGet Replay DetailsARead-onlyInspect
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.
Inputs: skip, fresh, limit, replayId, +6 more. Returns: replay, related, timeline, suggestedActions
get_sentry_mcp_infoGet Sentry MCP InfoARead-onlyInspect
Get the version and details of the running Sentry MCP server, e.g. to check compatibility with a skill or integration.
Inputs: no named parameters. Returns: version
get_sentry_resourceGet Sentry ResourceARead-onlyInspect
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.
Inputs: id, url, fresh, issueId, +6 more.
get_snapshotGet SnapshotARead-onlyInspect
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.
Inputs: snapshotId (required), fresh, regionUrl, showUnmodified, +1 more. Returns: url, vcs, added, state, +14 more
get_snapshot_imageGet Snapshot ImageARead-onlyInspect
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.
Inputs: snapshotId (required), imageIdentifier (required), fresh, regionUrl, +2 more.
get_span_detailsGet Span DetailsARead-onlyInspect
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.
Inputs: spanId (required), traceId (required), fresh, regionUrl, +1 more.
get_trace_detailsGet Trace DetailsARead-onlyInspect
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.
Inputs: traceId (required), fresh, spanId, regionUrl, +1 more.
get_uptime_monitor_detailsGet Uptime Monitor DetailsARead-onlyInspect
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:.
Inputs: projectSlug (required), uptimeMonitorId (required), end, fresh, +5 more. Returns: checks, monitor
link_issueLink IssueAIdempotentInspect
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).
Inputs: externalIssueUrl (required), fields, appSlug, issueId, +4 more. Returns: status, issueId, issueUrl, externalIssue, +1 more
onboarding_status_updateUpdate Onboarding StatusAIdempotentInspect
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.
Inputs: update (required), runToken (required), regionUrl, organizationSlug. Returns: continueUpdates
remove_team_from_projectRemove Team from ProjectADestructiveInspect
Revoke a team's access to a Sentry project. Returns the project's remaining teams. Refuses to remove the project's last team.
Inputs: teamSlug (required), projectSlug (required), regionUrl, organizationSlug. Returns: teams, changed
render_issue_chartRender Issue ChartARead-onlyInspect
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.
Inputs: end, fresh, start, period, +4 more. Returns: url, peak, tool, query, +13 more
render_sentry_chartRender Sentry ChartARead-onlyInspect
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.
Inputs: yAxis (required), dataset (required), end, fresh, +9 more. Returns: url, peak, tool, query, +13 more
search_agent_conversationsSearch Agent ConversationsARead-onlyInspect
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.
Inputs: end, fresh, limit, query, +7 more. Returns: count, searchUrl, nextCursor, conversations, +1 more
search_attributesSearch AttributesARead-onlyInspect
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.
Inputs: dataset (required), fresh, limit, query, +4 more. Returns: best, notes, query, period, +5 more
search_docsSearch Sentry DocsARead-onlyInspect
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_doc to read a full page.
Inputs: query (required), guide, maxResults. Returns: guide, query, results, suggestedActions
search_errorsSearch ErrorsARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, results, +6 more
search_issue_eventsSearch Issue EventsARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +7 more. Returns: url, notes, query, events, +5 more
search_issuesSearch IssuesARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +5 more. Returns: url, notes, query, issues, +4 more
search_logsSearch LogsARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, results, +6 more
search_metricsSearch MetricsARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, results, +6 more
search_profilesSearch ProfilesARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, results, +6 more
search_replaysSearch ReplaysBRead-onlyInspect
Search Sentry session replays by rage clicks, dead clicks, visited pages, errors seen, and users. Returns replay lists, not counts or aggregates.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, replays, +4 more
search_tracesSearch TracesARead-onlyInspect
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.
Inputs: sort, fresh, limit, query, +6 more. Returns: url, notes, query, results, +6 more
submit_feedback_to_sentry_teamSubmit Feedback to Sentry TeamAInspect
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.
Inputs: kind (required), task (required), impact (required), description (required), +1 more. Returns: feedbackId
unlink_issueUnlink IssueADestructiveIdempotentInspect
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.
Inputs: externalIssueUrl (required), appSlug, issueId, issueUrl, +3 more. Returns: status, issueId, issueUrl, externalIssue, +1 more
update_alert_ruleUpdate Alert RuleADestructiveInspect
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.
Inputs: ruleIdOrName (required), name, owner, status, +11 more. Returns: alertRule
update_dsnUpdate DSNADestructiveIdempotentInspect
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.
Inputs: keyId (required), projectSlug (required), name, isActive, +11 more. Returns: dsn
update_issueUpdate IssueADestructiveInspect
Update a Sentry issue: resolve, ignore (archive), or reopen it, assign it to a user or team, or change its priority.
Inputs: reason, status, issueId, inCommit, +13 more. Returns: title, effect, changes, current, +6 more
update_metric_monitorUpdate Metric MonitorADestructiveInspect
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.
Inputs: monitorId (required), name, owner, query, +8 more. Returns: monitor
update_projectUpdate ProjectADestructiveInspect
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.
Inputs: projectSlug (required), name, slug, platform, +2 more. Returns: project
update_uptime_monitorUpdate Uptime MonitorADestructiveIdempotentInspect
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.
Inputs: projectSlug (required), uptimeMonitorId (required), url, body, +14 more. Returns: monitor
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
A Model Context Protocol server for Wix AI tools
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.223-
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.1121ISC
- AlicenseNot gradedqualityDmaintenanceA TypeScript implementation of a Model Context Protocol server that connects to Sentry error tracking service, allowing AI models to query and analyze error reports and events.MIT
- FlicenseNot gradedqualityDmaintenanceA TypeScript server that allows AI agents to access, retrieve, and analyze Sentry error data through the Modern Context Protocol.2-