MCP server · Sentry
Sentry MCP
Pick it to debug production errors from Sentry inside the agent; needs Sentry OAuth or a user token.
Tools: 9, ~5,492 tokens of tool definitions loaded into the model's context (stdio, dummy token, no LLM provider; measured 2026-10-28, v0.42.0). Compare all servers →
All 9 tools, by token cost
- update_issue1,274
- search_events1,094
- search_issues824
- analyze_issue_with_seer613
- get_sentry_resource604
- search_sentry_tools383
- find_projects290
- execute_sentry_tool257
- find_organizations153
Same server, other documented flags (measured 2026-10-28):
--skills=inspect,triage(inspect + triage skills only (README example)): 8 tools, ~4,879 tokens (11% less than the default)
Install
Remote server https://mcp.sentry.dev/mcp, or stdio `npx @sentry/mcp-server` (see README). Official install docs ↗
Credentials: Sentry OAuth (remote) or a Sentry user auth token (stdio).
What it can access
Reads issues, events and projects in your Sentry org; can update issues.
Minimal safe setup
- For stdio, the README lists the user auth token scopes needed:
org:read,project:read,project:write,team:read,team:write,event:write. Create a dedicated token for the agent instead of reusing a broad personal one. source ↗ - Narrow the exposed tools with
--skills=inspect,triage/--disable-skills=...(stdio) or?skills=inspect,triageon the remote URL. Measured:--skills=inspect,triagedrops the Seer tool (8 tools instead of 9).--organization-slug/--project-slugpin every call to one org/project. source ↗
Common setup errors
- The AI-powered search tools are missing on the stdio server.
- They need an LLM provider: set
EMBEDDED_AGENT_PROVIDER(openai, azure-openai, anthropic or openrouter) plus that provider's key, e.g.OPENAI_API_KEY. Always set the provider explicitly; auto-detection from keys alone is deprecated. source ↗ - Self-hosted Sentry: stdio connects to sentry.io, or fails over plain HTTP.
- Pass
--host=sentry.example.com(hostname only) orSENTRY_HOST; add--insecure-httponly for internal installs without TLS. Theseerskill is dropped on self-hosted hosts unless you opt in with--skills=inspect,seer. source ↗ - Remote server rejects your Sentry token sent as
Authorization: Bearer. Beareris reserved for MCP OAuth tokens. Send a Sentry API token asAuthorization: Sentry-Bearer <token>to https://mcp.sentry.dev/mcp. source ↗- Tools return a Rate Limited message.
- These are Sentry API limits, usually hit by running many Sentry tool calls in parallel; run them one at a time and retry after the time in the message. source ↗
How it differs from alternatives
- Sentry Claude Code plugin:
claude plugin install sentry-mcp@sentry-mcpadds asentry-mcpsubagent that Claude delegates Sentry questions to, instead of loading the tools into your main conversation. source ↗ - Datadog MCP Server: Covers logs, metrics, traces and monitors across your stack; Sentry's server is narrower and built around error issues, events and Seer root-cause analysis.
- Grafana MCP Server: Queries Prometheus/Loki/Tempo data and dashboards you run yourself; much larger default tool set (79 tools measured). Measured: 79 tools, ~21,140 tokens.
Notes written from the official sources linked above, checked 2026-10-28.
Details
- Type
- MCP server
- Tasks
- Debugging & observability
- Compatible agents
- Claude Code, Cursor (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Release cli@0.47.0 on 2026-10-05 (npm @sentry/mcp-server 0.42.0 on 2026-09-25); last commit 2026-10-26
- License
- FSL-1.1-Apache-2.0 (Functional Source License, converts to Apache-2.0 after two years; LICENSE.md)
- Source
- https://github.com/getsentry/toolkit
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Debugging & observability in Cursor · Best MCP servers for Debugging & observability in Claude Code · Best MCP servers for Debugging & observability
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.