Sentry MCP Server logo

Sentry MCP Server

by getsentry

The Sentry MCP Server is a Model Context Protocol server designed to interact with the Sentry API. It allows AI assistants to retrieve and analyze error data, manage projects, and monitor application performance within Sentry.

View on GitHub

Last updated: N/A

What is Sentry MCP Server?

The Sentry MCP Server is a tool that enables interaction with the Sentry API through a Model Context Protocol. It provides a set of tools for AI assistants to access and manipulate Sentry data.

How to use Sentry MCP Server?

To use the server, you need Node.js, npm/yarn, a Sentry account with API access, and a Sentry authentication token. After installing dependencies, configure your AI assistant (e.g., Claude) with the server's command and environment variables, including your Sentry authentication token. You can then use the available tools by calling them with the appropriate parameters.

Key features of Sentry MCP Server

  • List projects

  • Resolve issue short IDs

  • Retrieve Sentry events

  • List error events

  • Create projects

  • List project issues

  • List issue events

  • Retrieve Sentry issues

  • List organization replays

Use cases of Sentry MCP Server

  • Automated error triage

  • AI-powered debugging assistance

  • Proactive performance monitoring

  • Incident response automation

FAQ from Sentry MCP Server

What is a Sentry authentication token?

A Sentry authentication token is a credential that allows you to access the Sentry API. You can generate one in your Sentry account settings.

What permissions are required for the Sentry authentication token?

The token needs appropriate permissions to access the Sentry API endpoints required by the tools you intend to use. At a minimum, it will need read access to the organization and project.

How do I install the server?

Run npm install or yarn install in the server's directory to install the necessary dependencies.

How do I run the server?

Execute the command npx ts-node index.ts in your terminal.

What AI assistants are compatible with this MCP server?

This MCP has been verified to work against Cursor, Codeium Windsurf, and Claude Desktop.