Discover how MCP-Sentry streamlines error analysis and debugging for Sentry.io with powerful retrieval tools
A Model Context Protocol (MCP) server designed to integrate with various AI applications, including Claude Desktop, Continue, and Cursor. This server provides a standardized interface for retrieving and analyzing issues from Sentry.io, allowing developers to enhance their AI workflows by accessing real-time debugging information directly through their chosen AI application.
mcp-sentry offers two primary capabilities when connected via Model Context Protocol:
get_sentry_issue
tool, users can retrieve detailed information about specific Sentry issues. This includes the title, issue ID, status, level, timestamps, event count, and stacktrace.get_list_issues
tool allows for batch analysis of multiple issues within a project by providing both the project slug and organization slug.The architecture of mcp-sentry centers around seamless integration with Model Context Protocol, ensuring compatibility across various AI applications like Claude Desktop and Continue. The server leverages HTTP requests to interact with the Sentry API, fetching necessary issue details through a series of predefined methods.
To install mcp-sentry
, users can choose from multiple installation options depending on their environment:
npx -y @smithery/cli install @qianniuspace/mcp-sentry --client claude
For other clients like Continue and Cursor, use the appropriate commands.
When utilizing uv
with uvx
, no specific installation is required. Here’s how to proceed:
uv pip install -e .
Alternatively, you can directly run the server using a Python environment:
python -m mcp_sentry
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": ["mcp-sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG"]
}
}
}
For example configuration:
{
"context_servers": {
"sentry": {
"command": {
"path": "uvx",
"args": ["mcp-sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG"]
}
}
}
}
{
"mcpServers": {
"sentry": {
"command": "python",
"args": ["-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG"]
}
}
}
For detailed debugging, the MCP Inspector can be used:
npx @modelcontextprotocol/inspector uvx mcp-sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG
Or for a more specific installation path:
npx @modelcontextprotocol/inspector uv --directory /Volumes/ExtremeSSD/MCP/mcp-sentry/src run mcp_sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG
mcp-sentry fully supports integration with a variety of MCP clients such as Claude Desktop and Continue. The server’s compatibility matrix is detailed below:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
mcp-sentry is designed to provide fast and reliable performance, ensuring seamless data retrieval and analysis. Compatible with a wide range of operating systems and Python versions.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
R[Raw Data] --> P[Parsing Module] --> M[MCP Adapter Layer] --> S[Standardized Output]
style R fill:#f7d4a3
style P fill:#e5f6ed
style M fill:#b0dfce
style S fill:#cfe9ff
Configuring mcp-sentry involves specifying environment variables and command-line arguments to tailor the server’s behavior. Here is an example configuration:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
What MCP clients are compatible with mcp-sentry?
Can I use mcp-sentry in a production environment?
How does the server handle large volumes of issues?
Is it possible to customize the output format?
Are there any limitations when using mcp-sentry from a remote location?
Developers are encouraged to contribute to the project by submitting issues, reporting bugs, and suggesting features. Contributions should follow the standard GitHub pull request process.
Explore more about Model Context Protocol (MCP) and its applications in various AI development workflows:
mcp-sentry streamlines the integration process of Sentry issues into AI workflows by leveraging Model Context Protocol. Its robust features and compatibility with various AI applications make it an invaluable tool for developers looking to enhance their debugging processes.
This comprehensive documentation provides detailed insights into mcp-sentry’s capabilities, installation procedures, and its value in AI development workflows, all while adhering strictly to the provided README content.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration