stdio monitoringdev-tool

Sentry MCP Server

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

Installation

npx -y @sentry/mcp-server

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).

Prerequisites

  • Node.js 18 or later
  • Required API keys — see the Environment Variables table above

Common Errors

  • Server not found / spawn error — ensure Node.js is on your PATH and the package is accessible via npx.
  • Permission denied — check that the path in args is readable by the process running your AI client.
  • Authentication failed — verify your API key is set correctly in the env block.

Related Servers