mcp-sentry logo

mcp-sentry

by elliottlawson

mcp-sentry is a Model Context Protocol server designed to retrieve and analyze issues from Sentry.io. It provides AI assistants with detailed information about errors in applications by accessing error reports, stacktraces, and other debugging information.

View on GitHub

Last updated: N/A

What is mcp-sentry?

mcp-sentry is an MCP server that allows AI assistants to access and analyze Sentry issues, providing detailed information about errors in your applications. It exposes tools and prompts to retrieve issue details from Sentry by ID or URL.

How to use mcp-sentry?

To use mcp-sentry, install it via npm or run it directly with npx. You need a Sentry authentication token, which can be provided via the --auth-token command-line option or the SENTRY_TOKEN environment variable. It can be integrated with Claude Desktop and Zed by adding it to their respective configurations.

Key features of mcp-sentry

  • Retrieves Sentry issue details by ID or URL

  • Provides formatted issue details as conversation context for AI assistants

  • Includes stacktrace information

  • Supports authentication via command-line option or environment variable

Use cases of mcp-sentry

  • Automated error analysis by AI assistants

  • Debugging application errors with detailed Sentry information

  • Integrating Sentry data into AI-powered workflows

  • Providing context to AI models for better understanding of application issues

FAQ from mcp-sentry

What is a Sentry authentication token and where do I get it?

A Sentry authentication token is required to access the Sentry API. You can generate one in your Sentry account settings under 'API' -> 'Auth Tokens'.

How do I install mcp-sentry?

You can install it globally using npm install -g mcp-sentry or run it directly using npx mcp-sentry.

How do I provide the Sentry authentication token?

You can provide the token either using the --auth-token command-line option (e.g., mcp-sentry --auth-token YOUR_SENTRY_TOKEN) or by setting the SENTRY_TOKEN environment variable (e.g., SENTRY_TOKEN=YOUR_SENTRY_TOKEN mcp-sentry).

Can I use mcp-sentry with Claude Desktop?

Yes, you can integrate mcp-sentry with Claude Desktop by adding it to your Claude Desktop configuration as shown in the README.

Can I use mcp-sentry with Zed?

Yes, you can integrate mcp-sentry with Zed by adding it to your Zed settings.json as shown in the README.