What is sentry-selfhosted-mcp?
A Model Context Protocol (MCP) server designed for interacting with self-hosted Sentry instances. It provides tools to retrieve information and perform actions on issues within a self-hosted Sentry setup, using the instance URL, authentication token, and organization slug from environment variables.
How to use sentry-selfhosted-mcp?
Clone the repository, install dependencies with npm install, build with npm run build, then configure the MCP client to run the built index.js with the required environment variables (SENTRY_URL, SENTRY_AUTH_TOKEN, SENTRY_ORG_SLUG). The server then connects automatically via stdio transport.
Key features of sentry-selfhosted-mcp
- Retrieve details for a specific Sentry issue by ID or URL.
- List all projects within the configured Sentry organization.
- List issues for a project with optional query and status filters.
- Retrieve event details for a specific event ID within a project.
- Update the status of a Sentry issue (resolved, ignored, unresolved).
- Add a comment to a Sentry issue.
Use cases of sentry-selfhosted-mcp
- Debugging and managing errors in a self-hosted Sentry instance from an AI assistant.
- Automating issue triage by fetching and updating issue statuses.
- Adding context or notes to issues via comments during incident response.
- Listing projects and issues to quickly assess the health of a Sentry organization.
评论