sentry-selfhosted-mcp
by ddfourtwo
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.
Last updated: N/A
What is sentry-selfhosted-mcp?
This server is a Model Context Protocol (MCP) server that allows you to interact with a self-hosted Sentry instance. It provides a set of tools to retrieve information about issues, projects, and events, as well as perform actions such as updating issue statuses and adding comments.
How to use sentry-selfhosted-mcp?
- Clone the repository and install dependencies using
npm install
. 2. Build the server usingnpm run build
. 3. Configure the server by setting theSENTRY_URL
,SENTRY_AUTH_TOKEN
, andSENTRY_ORG_SLUG
environment variables. 4. Add the server to your MCP client's configuration file, specifying the command to run the server and the necessary environment variables. 5. Use the available tools by sending requests to the server with the appropriate input parameters.
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 specific project, optionally filtering by query or status
Retrieve details for a specific event ID within a project
Update the status of a Sentry issue
Add a comment to a Sentry issue
Use cases of sentry-selfhosted-mcp
Automating issue triage and resolution workflows
Integrating Sentry data into other applications and services
Creating custom dashboards and reports based on Sentry data
Programmatically managing Sentry issues and projects
FAQ from sentry-selfhosted-mcp
What environment variables are required?
What environment variables are required?
SENTRY_URL
, SENTRY_AUTH_TOKEN
, and SENTRY_ORG_SLUG
are required.
What permissions are required for the SENTRY_AUTH_TOKEN?
What permissions are required for the SENTRY_AUTH_TOKEN?
The token needs issue:read
, project:read
, event:read
, issue:write
, comment:write
scopes.
How do I configure the server in my MCP client?
How do I configure the server in my MCP client?
Add an entry to your MCP client's configuration file, specifying the command to run the server and the necessary environment variables.
Where is the built server located?
Where is the built server located?
The built server is located in the build/
directory.
What is the input format for each tool?
What is the input format for each tool?
See the 'Available Tools' section in the README for the input format for each tool.