Configure and integrate mcp-sentry-custom for accessing Sentry issues effortlessly
mcp-sentry-custom
MCP Server?mcp-sentry-custom
is an innovative Model Context Protocol (MCP) server specifically designed to interact with Sentry.io or self-hosted Sentry instances, facilitating the retrieval and analysis of error reports, stack traces, and debugging information. This versatile server acts as a bridge between AI applications—such as Claude Desktop, Continue, Cursor, and others—and the comprehensive error tracking and management capabilities offered by Sentry.
mcp-sentry-custom
offers robust features that empower advanced integration into various AI workflows. Key functionalities include:
Issue Retrieval Tool:
get_sentry_issue
tool enables detailed analysis of a specific Sentry issue through its ID or URL.Issue List Tool:
get_list_issues
tool retrieves and analyzes a list of issues for a specified Sentry project.Sentry Issue Prompt Tool:
sentry-issue
prompt generates formatted details of Sentry issues, useful for integration into broader AI workflows.The server ensures seamless interaction with MCP clients through structured data models and protocols, providing a consistent interface that enhances utility across different use cases.
The architecture of mcp-sentry-custom
is designed to integrate effectively with the MCP protocol standard. Here's an overview of its implementation:
Communication Layer:
Data Processing & Transformation:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Sentry API]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
subgraph DataSources
S[Sentry API]
T[Triple store or database for storage and analysis]
end
subgraph MCPClient
A[Claude Desktop]
B[Continue]
C[Cursor]
end
subgraph Server
D[mcp-sentry-custom server]
end
S -->|Query| D
D -->|Data| T
T -->|Feedback| D
A,B,C -->|Context Requests| D
To automatically install mcp-sentry-custom
for use in Claude Desktop, follow these steps:
npx -y @smithery/cli install @javaDer/mcp-sentry-custom --client claude
For direct installation and running with uv
, use the following command:
uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL
Alternatively, you can install mcp-sentry-custom
via pip
:
pip install mcp-sentry-custom
Or, with development setup using uv
:
uv pip install -e .
After installation, run the server script as follows:
python -m mcp_sentry
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["@smithery/cli", "install", "@javaDer/mcp-sentry-custom"],
"env": {
"SENTRY_AUTH_TOKEN": "YOUR_SENTRY_TOKEN"
}
}
}
}
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["@smithery/cli", "install", "@javaDer/mcp-sentry-custom"],
"env": {
"SENTRY_AUTH_TOKEN": "YOUR_SENTRY_TOKEN"
}
}
}
}
Add the following configuration to your claude_desktop_config.json
:
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": [
"-y", "@smithery/cli install @javaDer/mcp-sentry-custom --client claude"
],
"env": {
"TOKEN": "YOUR_TOKEN"
}
}
}
}
Add the following configuration to your settings.json
in Continue:
{
"context_servers": {
"mcp-sentry-custom": {
"command": "@smithery/cli",
"args": ["install", "@javaDer/mcp-sentry-custom --client continue"],
"env": {
"API_KEY": "YOUR_API_KEY"
}
}
}
}
Add the following configuration to your settings.json
in Cursor:
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": [
"-y", "@smithery/cli install @javaDer/mcp-sentry-custom --client cursor"
],
"env": {
"API_SECRET_KEY": "YOUR_API_SECRET_KEY"
}
}
}
}
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ❌ | ❌ |
Continue | ✅ | ✅ | ❌ |
Cursor | ✜ | ✅ | ❜ |
SENTRY_AUTH_TOKEN
: Your Sentry API token.Sentry_PROJECT_ID
: ID of the Sentry project.MCP_SERVER_URL
: URL for MCP server.Example Configuration:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": [
"-y", "@modelcontextprotocol/server-[name]"
],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
mcp-sentry-custom
integrate with different AI clients?mcp-sentry-custom
handle different versions of Sentry APIs?mcp-sentry-custom
manage data privacy and compliance with regulations like GDPR?To contribute to the project, follow these steps:
Fork the Repository:
Set Up the Development Environment:
pip
.Make Changes:
Submit Pull Requests:
Join the Community:
By leveraging mcp-sentry-custom
, developers can significantly enhance their AI applications with robust error tracking and management capabilities, ensuring seamless operations and improved user experience.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods