Sentry MCP Rs logo

Sentry MCP Rs

by utapyngo

Queries Sentry issues, traces, and issue events through three MCP tools in a lightweight Rust binary.

Install Sentry MCP Rs

Run the project’s own setup commands, in order.

Setup steps from the project

utapyngo/sentry-mcp-rs installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    cargo install sentry-mcp
    
  2. 2. Install
    cargo install --git https://github.com/utapyngo/sentry-mcp-rs.git
    
  3. 3. Install
    mise use -g github:utapyngo/sentry-mcp-rs
    
  4. 4. Install
    git clone https://github.com/utapyngo/sentry-mcp-rs.git
    
  5. 5. Configure
    cd sentry-mcp-rs
    
  6. 6. Configure
    cp .env.example .env
    

Overview

utapyngo/sentry-mcp-rs MCP server exposes Sentry API operations through three MCP tools for issue details, trace analysis, and event searches. It runs as a local Rust binary and authenticates with a Sentry token plus the Sentry host. Use it when an agent needs to inspect issue metadata, fetch event or trace information, or search events with Sentry query syntax. Issue lookups can use a full Sentry URL or organization and issue identifiers.

Use cases

  • Inspect Sentry issue metadata and stack traces
  • Fetch a specific Sentry issue event
  • Analyze distributed trace spans and timing
  • Search events within a Sentry issue
  • Route Sentry investigations through an MCP client

Key features

  • Retrieve Sentry issue details
  • Inspect distributed trace spans
  • Search issue events with Sentry query syntax
  • Select latest or specific issue events
  • Support newest and oldest event ordering
  • Run as a Rust single binary

Tools8

What Sentry MCP Rs lets your agent do. Expand a tool for its parameters.

Self-reported~114 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/22 checks healthy over the last 111d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/21/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Sentry MCP Rs works

What utapyngo/sentry-mcp-rs MCP server does

utapyngo/sentry-mcp-rs MCP server connects an MCP client to a Sentry instance and exposes a focused set of read-oriented investigation tools. It is implemented in Rust and distributed as the sentry-mcp binary, with installation available through crates.io, GitHub, or mise.

The server provides three capabilities:

  • get_issue_details retrieves information for a Sentry issue, including metadata, tags, and stack traces. A specific event can be selected; otherwise, the tool can retrieve the latest event.
  • get_trace_details returns trace information for distributed tracing analysis, including the span tree and timing data.
  • search_issue_events searches events belonging to an issue using Sentry’s query syntax and supports result limits and ordering.

How it works

The MCP client starts the local sentry-mcp executable over its configured command interface. The server uses SENTRY_AUTH_TOKEN for Sentry API authentication and SENTRY_HOST to identify the Sentry instance, such as sentry.io or a self-hosted hostname.

Issue detail requests may provide a complete Sentry issue URL. Alternatively, they require an organization slug and issue ID, which may be a project-style identifier such as PROJECT-123 or a numeric ID. An optional event ID selects a particular event instead of the latest one.

Trace requests require an organization slug and a 32-character hexadecimal trace ID. Event searches require an organization slug and issue ID; they can also accept a Sentry query, a maximum result count, and either newest-first or oldest-first ordering. The default event limit is 10, and the maximum is 100.

Setup and configuration

Install the binary from crates.io with:

bash
cargo install sentry-mcp

After installation, configure the MCP client to run sentry-mcp and provide the required environment variables:

config.json
{
  "mcpServers": {
    "sentry": {
      "command": "sentry-mcp",
      "env": {
        "SENTRY_AUTH_TOKEN": "your_token_here",
        "SENTRY_HOST": "sentry.io"
      }
    }
  }
}

utapyngo/sentry-mcp-rs MCP server also accepts SOCKS_PROXY for a SOCKS5 proxy and HTTPS_PROXY for an HTTPS proxy.

Tools and capabilities

The available tool inputs are deliberately centered on Sentry investigation:

  • Resolve an issue by URL or organization and issue ID.
  • Fetch a selected issue event or use the latest event.
  • Inspect distributed trace spans and timing.
  • Filter issue events with Sentry search syntax.
  • Set event result count from the default of 10 up to 100.
  • Choose newest or oldest event ordering.

Limitations and notes

utapyngo/sentry-mcp-rs MCP server requires an existing Sentry API authentication token and a configured Sentry hostname.

The trace tool requires a valid 32-character hexadecimal trace ID. For issue details, either a full issue URL or both the organization slug and issue ID must be supplied. Search operations similarly require an organization slug and issue ID.

The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sentry MCP Rs

Run `cargo install sentry-mcp`, then configure your MCP client to start the `sentry-mcp` binary.

Set `SENTRY_AUTH_TOKEN` to a Sentry API authentication token and `SENTRY_HOST` to the Sentry instance hostname.

Yes. `search_issue_events` accepts an issue, an optional Sentry query, a result limit, and a `newest` or `oldest` sort order.

Yes. `get_issue_details` accepts an optional event ID; without one, it retrieves the latest event.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSentry MCP Rs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/utapyngo-sentry-mcp-rs?style=directory)](https://allmcps.com/mcp/utapyngo-sentry-mcp-rs)
HTML Embed
<a href="https://allmcps.com/mcp/utapyngo-sentry-mcp-rs"><img src="https://allmcps.com/api/badge/utapyngo-sentry-mcp-rs?style=directory" alt="Sentry MCP Rs on AllMCPs" /></a>