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
- 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
| Tool | Type | What it does |
|---|---|---|
| get_issue_details | Read | Gets one issue's details, including stack trace context (event:read) |
| get_event_attachment | Read | Lists or downloads attachments of a Sentry event (inspect skill) |
| search_issues | Read | AI-powered natural-language issue search that uses an embedded LLM provider in stdio mode |
| search_errors | Read | AI-powered error search |
| analyze_issue_with_seer | Write | Starts a Seer root cause analysis run on an issue (readOnlyHint false) |
| update_issue | Write | Resolves, ignores, reopens or assigns an issue (triage skill, event:write) |
| create_dsn | Write | Creates an additional DSN client key for a project (project-management skill, project:write) |
| delete_alert_rule | Delete | Permanently 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
- 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.
- Keep only the default inspect skill (and seer if needed); leave triage and project-management disabled unless a task requires them.
- Use --disable-skills=project-management (or ?disable-skills=project-management) explicitly so it cannot be turned on by accident.
- For stdio, create a user auth token with only org:read, project:read and event:read where writes are not needed.
- Pin @sentry/mcp-server to a specific version instead of @latest if you use the legacy npx path.
- Turn on Sentry data scrubbing so PII and secrets are removed before events can reach the agent.
- 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.
Related servers
Context7 MCP Server · Git MCP Server (mcp-server-git) · GitHub MCP Server · GitLab MCP server · All servers
Sources
- https://github.com/getsentry/sentry-mcp
- https://github.com/getsentry/sentry-mcp/blob/main/LICENSE.md
- https://mcp.sentry.dev/
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/skills.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/get-issue-details.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/update-issue.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/create-dsn.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/delete-alert-rule.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/analyze-issue-with-seer.ts
- https://raw.githubusercontent.com/getsentry/sentry-mcp/main/packages/mcp-core/src/tools/catalog/get-event-attachment.ts
- https://github.com/getsentry/sentry-mcp/security/advisories
Facts were verified on 2026-11-23 against the server’s own repository and documentation and public vulnerability records. Servers change often: check the maker’s latest release notes before approving a new version. This page is general security guidance, not a guarantee about any product.