MCP.so
Sign In

Sentry MCP Server

@getsentry

About Sentry MCP Server

Model Context Protocol (MCP) server for Sentry

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

getsentry

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": [
        "ts-node",
        "/Users/<your-user-directory>/sentry-mcp-ts/index.ts"
      ],
      "env": {
        "SENTRY_AUTH": "<YOUR_AUTH_TOKEN>"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Sentry MCP Server?

A standalone Model Context Protocol (MCP) server that provides tools for AI assistants to interact with the Sentry API. It allows retrieval and analysis of error data, project management, and application performance monitoring. Note: this server has been largely superseded by the Sentry Remote-MCP Server and exists for educational purposes.

How to use Sentry MCP Server?

Install dependencies with npm install, set the SENTRY_AUTH environment variable with your Sentry authentication token, then run npx ts-node index.ts. Add a configuration block to your Claude settings (or other IDE) specifying the command, arguments, and environment variable.

Key features of Sentry MCP Server

  • Lists accessible Sentry projects for an organization
  • Retrieves issue details using a short ID (e.g., PROJECT-123)
  • Gets and analyzes specific Sentry events from an issue
  • Lists error events from a project
  • Creates new projects and retrieves client keys
  • Lists issues and events for a project or issue
  • Retrieves and analyzes Sentry issues
  • Lists replays from an organization with filtering options
  • Supports summary or detailed views and plain or markdown output

Use cases of Sentry MCP Server

  • An AI assistant debugging errors by fetching event details from a Sentry issue
  • Automating project creation and key retrieval for new applications
  • Monitoring application performance by listing recent error events and issues
  • Analyzing replays to understand user sessions during issues
  • Generating reports on project health from Sentry data

FAQ from Sentry MCP Server

What is the difference between this server and the Sentry Remote-MCP Server?

This server is a standalone educational version; the remote server (at mcp.sentry.dev) supports more capabilities including authentication and better tooling and is the recommended choice.

What are the requirements to run this server?

Node.js v14 or higher, npm or yarn, a Sentry account with API access, and a Sentry authentication token with appropriate permissions.

How do I authenticate with the Sentry API?

Set the environment variable SENTRY_AUTH to your Sentry authentication token. Generate the token in Sentry account settings under Settings > User Settings > Auth Tokens.

Which IDEs or clients work with this server?

It has been verified to work with Cursor, Codeium Windsurf, and Claude Desktop.

What is the status of this project?

This server is largely superseded by the Sentry Remote-MCP Server and exists for educational purposes; users are directed to use the remote version for full capabilities.

Comments

More Developer Tools MCP servers