stdio monitoringdev-tool

Sentry MCP Server

Query issues, events, and project data from your Sentry error-tracking organisation.

claude_desktop_config.json

{
  "mcpServers": {
    "server-sentry": {
      "command": "npx",
      "args": [
        "-y",
        "@sentry/mcp-server"
      ],
      "env": {
        "SENTRY_AUTH_TOKEN": "your-auth-token-here"
      }
    }
  }
}

Environment Variables

Variable Required Description
SENTRY_AUTH_TOKEN ✓ Required Sentry auth token with project:read and org:read scopes.
SENTRY_ORG Optional Your Sentry organisation slug (optional — scopes requests to one org).
SENTRY_PROJECT Optional Your Sentry project slug (optional — scopes requests to one project).

Setup Instructions

  1. Ensure Node.js 18+ is installed on your system.
  2. Copy the config block above into your claude_desktop_config.json file (typically at ~/.config/claude/claude_desktop_config.json on macOS/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows).
  3. Set the SENTRY_AUTH_TOKEN environment variable: Sentry auth token with project:read and org:read scopes.
  4. Restart your AI client to apply the config.

Related Servers