Is the Sentry MCP server safe? What it can reach
What the Sentry MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Sentry maintains its own MCP server, available as a hosted endpoint at mcp.sentry.dev or as a local stdio process. The hosted server signs in with OAuth; stdio uses your Sentry CLI login or a token. By default it reads issues, events and traces and can start Seer analysis. The control that matters most is the skills setting, which decides whether tools that edit issues, projects and alerts exist at all.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Sentry MCP (getsentry, official) | Official | active |
| @sentry/mcp-server (npm stdio package, official) | Official | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://mcp.sentry.dev/mcp.
How it signs in
The hosted server uses MCP OAuth that wraps a Sentry OAuth grant, so it acts with your Sentry user’s rights. Stdio uses your sentry CLI login or SENTRY_AUTH_TOKEN, and a direct Sentry-Bearer header mode also exists.
| Scope or permission | Access |
|---|---|
org:read | read |
project:write | write |
team:write | write |
event:write | write |
alerts:write | write |
What its tools can do
| Kind | Tools |
|---|---|
| Read | find_alert_rules, find_dashboards, find_dropped_events, find_metric_monitors, find_monitors, find_organizations, find_projects, find_related_issues, find_releases, find_teams, find_uptime_monitors, find_dsns, get_alert_options, get_alert_rule, get_dashboard_details, get_doc, get_event_attachment, get_event_stacktrace, get_issue_activity, get_issue_breadcrumbs, get_issue_details, get_issue_tag_values, get_issue_user_reports, get_metric_monitor_details, get_monitor_details, get_profile, get_profile_details, get_release_details, get_replay_details, get_sentry_resource, get_span_details, get_trace_details, get_uptime_monitor_details, get_agent_conversation_details, search_agent_conversations, search_docs, search_errors, search_issue_events, search_issues, search_logs, search_metrics, search_profiles, search_replays, search_traces, whoami, get_snapshot, get_snapshot_image, get_latest_base_snapshot |
| Write | add_issue_note, add_team_to_project, analyze_issue_with_seer, create_alert_rule, create_dsn, create_metric_monitor, create_monitor, create_project, create_team, create_uptime_monitor, link_issue, submit_feedback_to_sentry_team, update_alert_rule, update_dsn, update_issue, update_metric_monitor, update_project, update_uptime_monitor |
| Can’t be undone | delete_alert_rule, delete_metric_monitor, delete_monitor_environment, delete_uptime_monitor, remove_team_from_project, unlink_issue |
Tools are grouped into skills: inspect and seer are on by default; triage and project-management are off by default. The list is read from the server’s own tool definitions.
Built-in limits
| Option | What it does |
|---|---|
skills / disable-skills | Choose which skill groups load. Hosted: ?skills=inspect,triage or ?disable-skills=seer. Stdio: --skills and --disable-skills (or MCP_SKILLS, MCP_DISABLE_SKILLS). |
Default skills | inspect (read-only) and seer are on by default. triage (resolve, assign, update issues) and project-management (create and change projects, teams, DSNs, monitors, alerts) are off. |
Org and project path | Hosted URLs /mcp/:org and /mcp/:org/:project issue tokens that only work for that org or project. Stdio takes a positional scope such as sentry mcp acme/web. |
Token scopes | With SENTRY_AUTH_TOKEN, you pick the token’s Sentry scopes, so you can issue a token with read scopes only. |
The risks
- Error messages, logs and user reports in Sentry can contain attacker-controlled text, so a prompt injection could steer a client to call write tools if triage or project-management skills are on.
- With project-management on, an injected instruction could delete alert rules or monitors, or create DSNs and projects, which can silence alerting.
- Issue stack traces, breadcrumbs, replays and user reports can hold personal data and secrets, and all of it goes to the LLM provider.
- The upstream OAuth token asks Sentry for broader scopes than the default skills use; skills and URL constraints narrow it inside the MCP server, not at Sentry.
- SENTRY_AUTH_TOKEN, if set, overrides the stored login and carries every scope you gave it.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http sentry https://mcp.sentry.dev/mcpClaude Code names MCP tools mcp__sentry__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__sentry__delete_alert_rule",
"mcp__sentry__delete_metric_monitor",
"mcp__sentry__delete_monitor_environment",
"mcp__sentry__delete_uptime_monitor",
"mcp__sentry__remove_team_from_project",
"mcp__sentry__create_dsn",
"mcp__sentry__update_dsn"
],
"ask": [
"mcp__sentry__update_issue",
"mcp__sentry__add_issue_note",
"mcp__sentry__link_issue",
"mcp__sentry__unlink_issue",
"mcp__sentry__create_alert_rule",
"mcp__sentry__update_alert_rule",
"mcp__sentry__create_project",
"mcp__sentry__update_project",
"mcp__sentry__create_team",
"mcp__sentry__add_team_to_project",
"mcp__sentry__create_monitor",
"mcp__sentry__create_metric_monitor",
"mcp__sentry__create_uptime_monitor",
"mcp__sentry__update_metric_monitor",
"mcp__sentry__update_uptime_monitor",
"mcp__sentry__analyze_issue_with_seer",
"mcp__sentry__submit_feedback_to_sentry_team"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.sentry]
url = "https://mcp.sentry.dev/mcp"
disabled_tools = ["delete_alert_rule", "delete_metric_monitor", "delete_monitor_environment", "delete_uptime_monitor", "remove_team_from_project", "create_dsn", "update_dsn"]Checklist
- Keep triage and project-management skills off unless you need them.
- Use an org or project scoped URL instead of the bare endpoint.
- Prefer OAuth or the CLI login over a long-lived token in config.
- Deny delete tools in your client even when the skill is on.
Checked against the vendor documentation on November 25, 2026. Sentry MCP README (getsentry/toolkit) · @sentry/mcp-server package README · Sentry MCP security and auth model · Sentry MCP skill and tool definitions
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing