sentry-selfhosted-mcp
ddfourtwo/sentry-selfhosted-mcp · 18 stars · JavaScript · MIT
MCP server An MCP server for self-hosted sentry.
Install
The repo has no one-line install. Follow its README.
Files
sentry-selfhosted-mcp
A Model Context Protocol (MCP) server designed specifically for interacting with self-hosted Sentry instances.
Overview
This server provides tools to retrieve information and perform actions on issues within a self-hosted Sentry setup. It reads the Sentry instance URL, authentication token, and organization slug from environment variables.
Available Tools
The following tools are available:
-
get_sentry_issue- Description: Retrieve details for a specific Sentry issue by ID or URL.
- Input:
{ "issue_id_or_url": "string" }(e.g., "12345" or "https://sentry.example.com/organizations/org/issues/12345/")
-
list_sentry_projects- Description: List all projects within the configured Sentry organization.
- Input:
{}(No arguments needed)
-
list_sentry_issues- Description: List issues for a specific project, optionally filtering by query or status.
- Input:
{ "project_slug": "string", "query": "string" (optional), "status": "resolved" | "unresolved" | "ignored" (optional) }
-
get_sentry_event_details- Description: Retrieve details for a specific event ID within a project.
- Input:
{ "project_slug": "string", "event_id": "string" }
-
update_sentry_issue_status- Description: Update the status of a Sentry issue.
- Input:
{ "issue_id": "string", "status": "resolved" | "ignored" | "unresolved" }
-
create_sentry_issue_comment- Description: Add a comment to a Sentry issue.
- Input:
{ "issue_id": "string", "comment_text": "string" }
Installation & Setup
- Clone/Place Project: Clone this repository or place the project files in your desired location.
- Install Dependencies: Navigate into the project directory (
sentry-selfhosted-mcp) and run:cd <path/to/sentry-selfhosted-mcp> npm install
- Build Server: Compile the TypeScript code from the project directory:
npm run build
This creates the executable JavaScript file in thebuild/directory.
Configuration
This server requires the following environment variables to be set:
SENTRY_URL: The base URL of your self-hosted Sentry instance (e.g.,https://sentry.beoflow.app).SENTRY_AUTH_TOKEN: Your Sentry API authentication token (ensure it has necessary scopes likeissue:read,project:read,event:read,issue:write,comment:write).SENTRY_ORG_SLUG: The slug of your Sentry organization (e.g.,beoflow).
Example MCP Client Configuration:
Add the following entry to your MCP client's configuration file (e.g., cline_mcp_settings.json for the VS Code extension, claude_desktop_config.json for Claude.app):
"sentry-selfhosted-mcp": {
"command": "node",
"args": [
"<full/path/to/sentry-selfhosted-mcp/build/index.js>"
],
"env": {
"SENTRY_URL": "YOUR_SENTRY_URL",
"SENTRY_AUTH_TOKEN": "YOUR_SENTRY_AUTH_TOKEN",
"SENTRY_ORG_SLUG": "YOUR_SENTRY_ORG_SLUG"
},
"disabled": false,
"autoApprove": [],
"transportType": "stdio"
}
Replace YOUR_SENTRY_URL, YOUR_SENTRY_AUTH_TOKEN, and YOUR_SENTRY_ORG_SLUG with your actual values.
After updating the settings file, the MCP client should automatically connect to the server.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 18
- License
- MIT
- Language
- JavaScript
- Last push
- 2025-10-16
- Forks
- 5
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k