sentry-selfhosted-mcp

sentry-selfhosted-mcp

2

The 'sentry-selfhosted-mcp' is an MCP server designed to manage and interact with self-hosted Sentry instances. It provides various tools for issue tracking and project management within Sentry environments. This server requires specific environment configurations for full functionality.

Overview

The 'sentry-selfhosted-mcp' project provides a server for interacting with self-hosted Sentry instances via the Model Context Protocol (MCP). It offers tools for retrieving issue details, listing projects and issues, updating issue status, and commenting on issues within a Sentry setup. The server reads necessary information from environment variables and supports functionalities like project listing and issue management.

Available Tools

  • Retrieve Sentry Issue: Get details by ID or URL.
  • List Sentry Projects: View all projects.
  • List Sentry Issues: See issues by project, with optional filters.
  • Event Details: Fetch event information by ID.
  • Update Issue Status: Change the status of an issue.
  • Comment on Issue: Add comments to issues.

Installation & Setup

  1. Clone the repository.
  2. Install dependencies.
  3. Build the server.

Configuration

Ensure the following environment variables are set: SENTRY_URL, SENTRY_AUTH_TOKEN, SENTRY_ORG_SLUG.