AccuroAI
Book a demo

Resources / MCP Server Risk Directory / Sentry MCP Server

Is the Sentry MCP Server safe? Risks, permissions and safe setup

Engineering and on-call teams letting coding agents look up Sentry issues, stack traces and traces while fixing bugs. Here is what an AI agent can do through it, its published vulnerabilities and how to set it up safely.

Baseline risk

10Low
  • Capabilities: 10 of 40
  • Read-plus-exfiltrate: no
  • Hidden instructions (publicly verified): none known
  • Third-party publisher: no (official)

Before your own factors: version pinning, number of users and policy coverage. How we score

Maker
Sentry
Publisher
Official (published by the maker)
Runs
Local or remote
Transport
streamable-http, stdio
Authentication
OAuth via Sentry (remote); Sentry CLI login or SENTRY_AUTH_TOKEN user auth token (stdio); Authorization: Sentry-Bearer <token> for clients passing an upstream token
Tools
Not documented as a count
Built-in limits
Skills: inspect (read-only) and seer on by default; triage and project-management off by default; select with --skills / --disable-skills (MCP_SKILLS, MCP_DISABLE_SKILLS) or ?skills= / ?disable-skills= on the remote URL; org or project scoping via /mcp/{organizationSlug}/{projectSlug} or sentry mcp <org>/<project>
License
FSL-1.1-Apache-2.0
Source
github.com/getsentry/sentry-mcp
Last verified
2026-11-23

What an agent can do through it

Reads and writes SaaS data · 10
ToolTypeWhat it does
get_issue_detailsReadGets one issue's details, including stack trace context (event:read)
get_event_attachmentReadLists or downloads attachments of a Sentry event (inspect skill)
search_issuesReadAI-powered natural-language issue search that uses an embedded LLM provider in stdio mode
search_errorsReadAI-powered error search
analyze_issue_with_seerWriteStarts a Seer root cause analysis run on an issue (readOnlyHint false)
update_issueWriteResolves, ignores, reopens or assigns an issue (triage skill, event:write)
create_dsnWriteCreates an additional DSN client key for a project (project-management skill, project:write)
delete_alert_ruleDeletePermanently deletes an alert and its notifications (project-management skill, alerts:write)

Known vulnerabilities

No CVE or security advisory published for this server as of 2026-11-23. Most MCP risk comes from what the tools allow an injected agent to do, so the risks below still apply.

Main risks

Error events carry attacker-controlled text into the model

LLM01:2025 Prompt Injection

Exception messages, breadcrumbs, user feedback and request data in Sentry events can be set by anyone who triggers an error in your app. get_issue_details and search tools return that text to the agent.

PII and secrets in events reach the model and its provider

LLM02:2025 Sensitive Information Disclosure

Events and attachments often hold user emails, IPs, headers or tokens that were not scrubbed. In stdio mode the AI-powered search tools also call the configured embedded agent provider (OpenAI, Azure OpenAI, Anthropic or OpenRouter).

Project-management skill lets the agent delete alerting

LLM06:2025 Excessive Agency

When project-management is enabled, delete_alert_rule permanently removes alerts and create_dsn issues new client keys. A misled agent could silence monitoring before an incident.

Broad user tokens on local installs

ASI03 Identity and Privilege Abuse

The stdio path uses the user's CLI login or SENTRY_AUTH_TOKEN with scopes such as project:write and team:write. The legacy npx example uses @latest, so the code run can change with each start.

How to set it up safely

  1. Prefer the remote server with OAuth and scope the URL to one project, for example https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}, as Sentry recommends.
  2. Keep only the default inspect skill (and seer if needed); leave triage and project-management disabled unless a task requires them.
  3. Use --disable-skills=project-management (or ?disable-skills=project-management) explicitly so it cannot be turned on by accident.
  4. For stdio, create a user auth token with only org:read, project:read and event:read where writes are not needed.
  5. Pin @sentry/mcp-server to a specific version instead of @latest if you use the legacy npx path.
  6. Turn on Sentry data scrubbing so PII and secrets are removed before events can reach the agent.
  7. Set EMBEDDED_AGENT_PROVIDER deliberately, or leave it unset to disable the AI-powered search tools if you do not want data sent to an extra LLM provider.

How we score

Baseline scores use the method from our guide to scoring every MCP server on employee laptops. Score the servers in your own environment with the free MCP Server Risk Checklist.

1. What the server can do (capped at 40)

  • Sends messages externally: 15
  • Fetches arbitrary URLs: 15
  • Writes to code repositories: 15
  • Reads and writes databases: 15
  • Writes or deletes local files: 10
  • Automates a browser: 10
  • Reads and writes SaaS data: 10
  • Reads local files: 5
  • Runs code or commands: 15 (added for this directory)
  • Changes cloud infrastructure: 15 (added for this directory)
  • Moves money or changes payments: 15 (added for this directory)

2. What we found

  • Read-plus-exfiltrate: reads sensitive data and can also send data out: 20
  • Hidden instructions in a tool description (publicly verified): 30, and always Critical
  • Third-party: not published by the maker of the system it connects to: 10

3. Band

0–24 Low · 25–49 Medium · 50–74 High · 75–100 Critical.

This is a baseline. The full method also adds points for unpinned package versions, how many employees use the server and whether a policy covers it; those depend on your setup, so check them in your own environment.

How AccuroAI helps

The AccuroAI Endpoint Agent finds the MCP servers configured in AI clients on managed devices and lists the tools each local server exposes. Each server gets a risk level with its capabilities, and you can block a server once in the console to enforce the block on every device: Claude Code and Cursor refuse calls to it, and for other clients the agent stops the server process. Tool calls from coding agents can be graded by risk, then allowed, confirmed with the employee or blocked.

MCP security · MCP server inventory · How to red team an MCP server

Questions about the Sentry MCP Server

Is the Sentry MCP Server safe to use?

It can be, with the right setup. At baseline it scores 10 (Low) in the AccuroAI method because an agent using it can reads and writes saas data. Limit its scopes or tools, keep a person in the loop for write actions and pin the version you reviewed.

Does the Sentry MCP Server have known vulnerabilities?

We found no published CVE or security advisory for it as of 2026-11-23. That does not make it risk-free: most MCP risk comes from what the tools allow an injected agent to do, not from bugs in the server.

How do I restrict the Sentry MCP Server?

Use the controls the maker provides: Skills: inspect (read-only) and seer on by default; triage and project-management off by default; select with --skills / --disable-skills (MCP_SKILLS, MCP_DISABLE_SKILLS) or ?skills= / ?disable-skills= on the remote URL; org or project scoping via /mcp/{organizationSlug}/{projectSlug} or sentry mcp <org>/<project>. Then grant the narrowest token or account, approve the server centrally and block other copies of it.

MCP Security
Find every copy of Sentry MCP Server on your fleet

AccuroAI finds the MCP servers configured in AI clients on managed devices, gives each a risk level and blocks a server across the fleet.

Book a demoStart a free pilot

Finds MCP servers on managed devices · Risk level per server · Block a server across the fleet