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-context-retriever

Tooling designed to interface with the Sentry API for acquiring comprehensive details regarding application errors, events, and organizational structures, thereby accelerating troubleshooting cycles.

Author

sentry-context-retriever logo

zereight

No License

Quick Info

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

Tags

sentrydebuggingcloudmanage sentryzereight sentrysentry issue

Sentry Integration Framework (Model Context Protocol)

@zereight/sentry-server

This service operates as a dedicated MCP (Model Context Protocol) endpoint, enabling streamlined interaction with the Sentry Application Monitoring platform's data layer via its RESTful API.

Initialization Procedures

Integration via MCP Configuration Utility (e.g., Claude, Roo Code)

Incorporate the following configuration stanza into your designated MCP settings manifest (e.g., mcp_settings.json):

{ "mcpServers": { "sentry-server-integration": { "command": "npx", "args": [ "-y", "@zereight/sentry-server" ], "env": { "SENTRY_AUTH_TOKEN": "YOUR_SECURE_SENTRY_ACCESS_TOKEN", "SENTRY_ORG_SLUG": "YOUR_ORGANIZATION_IDENTIFIER",
"SENTRY_PROJECT_NAMES": "project-alpha,project-beta", "SENTRY_BASE_URL": "https://sentry.io"
}, "disabled": false } } }

Substitute all bracketed placeholders (e.g., YOUR_SECURE_SENTRY_ACCESS_TOKEN) with valid credentials and organizational data. Project identifiers must be comma-delimited slugs utilized in Sentry's URL structure. Authentication credentials are generated within Sentry User Settings under 'Auth Tokens'.

Direct Execution or Command Line Interface (CLI) Usage (e.g., Cursor)

When invoking the server independently, establish the necessary environmental variables and execute the runner as shown:

bash export SENTRY_AUTH_TOKEN="YOUR_SECURE_SENTRY_ACCESS_TOKEN" export SENTRY_ORG_SLUG="YOUR_ORGANIZATION_IDENTIFIER" export SENTRY_PROJECT_NAMES="project-alpha,project-beta" export SENTRY_BASE_URL="YOUR_SENTRY_INSTANCE_URL" # Optional, defaults to public endpoint

npx @zereight/sentry-server

Mandatory Environment Variables:

  • SENTRY_AUTH_TOKEN: The requisite credential for API authorization.
  • SENTRY_ORG_SLUG: The unique identifier slug for your Sentry deployment.
  • SENTRY_PROJECT_NAMES: A roster of Sentry project slugs, separated by commas.

Optional Environment Variable:

  • SENTRY_BASE_URL: Specifies the endpoint base URI, relevant for self-hosted Sentry deployments.

The associated debugging interface URL will be made available upon successful server initialization.

Functionality Set (Tools) 🛠️

  1. get_sentry_issue

    • Retrieves comprehensive data for a singular Sentry issue record.
    • Inputs:
      • issue_id_or_url (string, essential): The canonical Sentry issue identifier or the direct web link to the issue.
    • Output: Comprehensive issue metadata (encoded as JSON).
  2. list_organization_projects

    • Enumerates all projects associated with the configured Sentry organization.
    • Inputs: None
    • Output: A serialized list detailing all project resources (JSON format).
  3. list_project_issues

    • Fetches a paginated sequence of issues pertinent to a designated project, supporting query-based refinement.
    • Inputs:
      • organization_slug (string, optional): Overrides the default organizational slug from environment settings.
      • project_slug (string, essential): The target project identifier for issue retrieval.
      • query (string, optional): A Sentry-compliant search predicate (e.g., "status:resolved").
      • statsPeriod (string, optional): Defines the temporal window for associated statistics (e.g., "7d").
      • cursor (string, optional): Token necessary for fetching subsequent result pages.
    • Output: Issue data collection alongside pagination metadata (JSON string).
  4. get_event_details

    • Accesses the granular data record for a specific observed event within a project context.
    • Inputs:
      • organization_slug (string, optional): Organization slug override.
      • project_slug (string, essential): The project housing the target event.
      • event_id (string, essential): The unique identifier for the error event.
    • Output: Full artifact details pertaining to the specified event (JSON string).

Prerequisite Environment Configuration

Execution necessitates the definition of the following system variables prior to server startup:

SENTRY_AUTH_TOKEN=YOUR_ACCESS_TOKEN SENTRY_ORG_SLUG=YOUR_ORG_SLUG SENTRY_PROJECT_NAMES=project-one,project-two

An optional variable for customizing the endpoint base:

SENTRY_BASE_URL=https://your.sentry.instance

Licensing Information

The framework is distributed under the MIT License.

--- WIKIPEDIA CONTEXT ---

Cloud Computing Definition: According to ISO standards, cloud computing is defined as "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." Colloquially, this is referred to simply as "the cloud."

== NIST Essential Characteristics (2011) == The National Institute of Standards and Technology (NIST) established five core attributes necessary for cloud systems:

  1. On-demand self-service: Consumers procure computing resources (e.g., server capacity, storage) autonomously and automatically, eliminating the need for provider intervention in provisioning.
  2. Broad network access: Capabilities are universally accessible via standard network protocols, supporting a diverse range of endpoint devices.
  3. Resource pooling: Provider infrastructure resources are aggregated to serve multiple users concurrently using a multi-tenant architecture, with dynamic allocation based on demand.
  4. Rapid elasticity: The system allows for near-instantaneous scaling of resources both up and down (inward/outward) to match fluctuating workload requirements. This scalability often appears limitless from the consumer's perspective.
  5. Measured service: Resource consumption (covering aspects like processing cycles, bandwidth, and storage utilization) is automatically quantified, controlled, and reported, ensuring transactional transparency for all involved parties.

Subsequent refinements to these principles were advanced by the International Organization for Standardization (ISO) by 2023.

== Historical Evolution ==

The foundational concepts underlying cloud computing trace back to the 1960s, primarily through the advancement of time-sharing operating systems and remote job entry (RJE). During this foundational period, the dominant paradigm involved users submitting batch jobs to centralized data center operators managing mainframe systems, focusing on optimizing large-scale computation efficiency.

The specific metaphor of the "cloud" for representing virtualized network services emerged around 1994, notably utilized by General Magic to map the operational domain for its Telescript mobile agents. This visualization is often attributed to David Hoffman, a communications specialist at General Magic, drawing from established conventions in telecommunications charting. The term 'cloud computing' gained broader commercial recognition in 1996 following Compaq Computer Corporation's internal strategic documentation regarding future internet-centric computational models.

See Also

`