mcp-sentry
Allows retrieving and analyzing issues from Sentry, including details such as title, status, level, and stacktrace.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sentryget details for Sentry issue ID 987654"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-sentry: A Sentry MCP Server
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io. This server provides tools to inspect error reports, stacktraces, and other debugging information from your Sentry account.
Overview
This MCP server allows AI assistants to access and analyze Sentry issues, providing detailed information about errors in your applications.
Tools
get_sentry_issue
Retrieve and analyze a Sentry issue by ID or URL
Input:
issue_id_or_url(string): Sentry issue ID or URL to analyze
Returns: Issue details including:
Title
Issue ID
Status
Level
First seen timestamp
Last seen timestamp
Event count
Full stacktrace
Prompts
sentry-issue
Retrieve issue details from Sentry
Input:
issue_id_or_url(string): Sentry issue ID or URL
Returns: Formatted issue details as conversation context
Related MCP server: Sentry
Installation
Prerequisites
Node.js 14 or later
A Sentry account with an authentication token
Using npm
npm install -g mcp-sentryAfter installation, you can run it as a command:
mcp-sentry --auth-token YOUR_SENTRY_TOKENOr with the environment variable:
SENTRY_TOKEN=YOUR_SENTRY_TOKEN mcp-sentryUsing npx (without installation)
npx mcp-sentry --auth-token YOUR_SENTRY_TOKENDevelopment
Project Structure
mcp-sentry/
├── src/
│ ├── index.ts # Main entry point
│ ├── server.ts # MCP server implementation
│ ├── sentry-client.ts # Sentry API client
│ ├── models.ts # Data models
│ ├── utils.ts # Utility functions
│ └── types/ # Type definitions
├── build/ # Compiled JavaScript files (included in the repository for direct npx execution)
├── package.json
├── tsconfig.json
└── README.mdBuilding
npm run buildNote: Unlike typical Node.js projects, the build directory is committed to this repository to support direct npx execution without requiring users to build the project themselves.
Running in Development Mode
npm run dev -- --auth-token YOUR_SENTRY_TOKENAuthentication
This server requires a Sentry authentication token to access the Sentry API. You can provide this token in two ways:
Using the
--auth-tokencommand-line option:mcp-sentry --auth-token YOUR_SENTRY_TOKENUsing the
SENTRY_TOKENenvironment variable:SENTRY_TOKEN=YOUR_SENTRY_TOKEN mcp-sentry
Usage with Claude Desktop
Add this to your Claude Desktop configuration:
"mcpServers": {
"sentry": {
"command": "mcp-sentry",
"args": ["--auth-token", "YOUR_SENTRY_TOKEN"]
}
}Usage with Zed
Add to your Zed settings.json:
"context_servers": [
"mcp-server-sentry": {
"command": {
"path": "mcp-sentry",
"args": ["--auth-token", "YOUR_SENTRY_TOKEN"]
}
}
],Debugging
You can use the MCP inspector to debug the server:
npx @modelcontextprotocol/inspector mcp-sentry --auth-token YOUR_SENTRY_TOKENLicense
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Investigate errors, track deployments, analyze performance, and manage application monitoring
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Direct access to Cypress tests results and accessibility reports in your AI workflow.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interaction with Sentry's error tracking platform to fetch and manage issue details, events, and project information through the Sentry API.434 npm1-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Sentry's error tracking and monitoring tools through a unified API, allowing natural language access to Sentry services.MIT
- AlicenseNot gradedqualityAmaintenanceEnables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.16 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables querying and managing Sentry projects, issues, and events through natural language.7 npmISC