Tools
The agent typically calls
list_sentry_tools first to discover what is available for your organization, then call_sentry_tool with the chosen tool name and arguments.
Prerequisites
- A Sentry account (hosted SaaS, or self-hosted via the
SENTRY_MCP_HOSToverride) - A Sentry user auth token created in your account settings. The required scopes depend on the skills you use:
org:read— read-only inspection of issues, events, traces, releases, monitors (default)event:write,team:write,project:write— for triage and project-management skills
Setup
Option 1: Interactive CLI
SENTRY_MCP_MODE=stdio via environment variables (see below).
Option 2: Environment variables
Add to your.env:
To run a local Sentry MCP server instead of the hosted endpoint, use
stdio mode:
The
search_events and search_issues tools translate natural-language queries and require an OPENAI_API_KEY in the MCP server’s environment. The rest of the MCP server works without it, so you can skip this if you do not need those tools.Option 3: Persistent store
Verify
org:read scope and that outbound HTTPS to mcp.sentry.dev is allowed.