logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sentry-error-access-utility

Tooling designed to interface with Sentry for error event data retrieval and inspection. Enables obtaining granular or summarized diagnostics for specified errors, supporting retrieval of individual event payloads or aggregated lists across projects.

Author

sentry-error-access-utility logo

Leee62

MIT License

Quick Info

GitHub GitHub Stars 6
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

sentryleee62mcpleee62 sentrysentry issuesaccess sentry

Sentry Diagnostic Data Retriever (MCP)

中文 Documentation English Readme Smithery Verification

Overview

⚠️ Deprecation Notice: Direct access to 'issues' via previous methods is retired as of version 1.0.5 due to functional overlap with the more versatile event API. We now prioritize event-centric operations.

This Management Control Protocol (MCP) module is dedicated to interacting with the Sentry error tracking system. It exposes two primary functionalities for querying error occurrences.

The resulting data is optimized for subsequent analysis by a Language Model (LLM) or direct consumption by the user.

Core Capabilities

  • Simplified data packaging.
  • Intuitive data structure for consumption.
  • Minimal overhead in data transfer.

Available Endpoints (Tools)

  • fetch_singular_event_details
  • Retrieves the complete diagnostic payload for one specific error instance. The verbosity_level dictates output scope: 'minimal' returns essential stack trace information; 'maximal' returns the entire event record.
  • Parameters:
    • event_locator: The Sentry event URL or unique identifier.
    • organization_identifier: The Sentry organization's ID or slug (optional).
    • project_identifier: The Sentry project's ID or slug (optional).
    • verbosity_level: Defines output detail ('minimal' or 'maximal'). Defaults to 'minimal'.
  • query_project_events
  • Fetches a collection of error events pertaining to a specific project. The detail_scope governs the returned fields: 'summary' mode only provides event ID and title; 'full' mode includes all associated metadata.
  • Parameters:
    • project_identifier: The Sentry project ID or slug.
    • organization_identifier: The Sentry organization ID or slug (optional).
    • detail_scope: Controls output richness ('summary' or 'full'). Defaults to 'summary'.

Deployment Configuration Example

This is how the MCP Server component should be registered:

"mcpServers": { "sentry-error-access-utility": { "type": "stdio", "command": "npx", "args": [ "-y", "sentry-issues-mcp@latest" ], "env": { "SENTRY_HOST": "", "SENTRY_ORG": "", "SENTRY_PROJ": "", "SENTRY_USER_TOKEN": "" } } }

Operational Use Cases

  • Diagnosing a known failure point using its URL/ID:
  • Prompt: "Analyze the following Sentry event, deduce the root cause, and recommend corrective actions: {sentry_issue_url}"
  • If the LLM possesses sufficient reasoning capacity, it will invoke the necessary tool.
  • The resulting diagnostic report is returned.
  • Identifying critical recent failures (Default timeframe: last 24 hours):
  • Prompt: "Ascertain the most severe error logged today. Provide the underlying fault mechanism and necessary remediation steps."
  • A capable LLM will automatically select and utilize the appropriate query tool.
  • The compiled analysis is presented.

Licensing

Licensed under MIT.

Cloud Computing Context (for Reference):

Cloud computing, as formally defined by ISO, constitutes "a paradigm for enabling network access to a scalable and elastic pool of shareable physical or virtual resources with self-service provisioning and administration on-demand," commonly known as "the cloud."

== Essential Attributes (NIST 2011) ==

NIST established five crucial characteristics for cloud architectures:

  1. On-demand self-service: Consumers can unilaterally provision computing capacity (e.g., server time, storage) automatically, without requiring manual intervention from the provider.
  2. Broad network access: Services are accessible over the network via standardized methods, supporting diverse client platforms (mobile, desktop, etc.).
  3. Resource pooling: Provider resources are aggregated to serve multiple tenants concurrently, with resources dynamically allocated based on real-time demand.
  4. Rapid elasticity: Capabilities can be scaled up or down quickly—sometimes autonomously—to match fluctuating demand. To the user, capacity often appears infinite and available immediately.
  5. Measured service: Resource consumption (processing, bandwidth, storage) is automatically tracked, controlled, and reported, ensuring transparency for both consumer and provider.

ISO later refined and augmented this list by 2023.

== Historical Development ==

The foundational concepts trace back to the 1960s with the rise of time-sharing systems and remote job entry (RJE). This era focused on mainframe utilization optimization through operator-managed job submission.

The term 'cloud' for virtualized services emerged in 1994, used by General Magic to denote the operational space for their Telescript agents. This metaphorical usage is attributed to David Hoffman, based on existing conventions in telecommunications networking. The phrase 'cloud computing' gained mainstream traction in 1996 following a business strategy document circulated by Compaq Computer Corporation detailing future internet computing aspirations.

See Also

`