# utapyngo/sentry-mcp-rs [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/utapyngo/sentry-mcp-rs  
**GitHub Stars:** 9  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/utapyngo-sentry-mcp-rs

## Description
Fast and minimal Sentry MCP server written in Rust

## Tools
Capabilities this server exposes over MCP:

- **issue_url** — Full Sentry issue URL (alternative to the parameters below)
- **organization_slug** — Organization slug (required if `issue_url` not provided)
- **issue_id** — Issue ID like `PROJECT-123` or numeric ID (required if `issue_url` not provided)
- **event_id** — Specific event ID to fetch instead of latest (optional)
- **trace_id** — 32-character hex trace ID
- **query** — Optional Sentry search query
- **limit** — Maximum events to return (default: 10, max: 100)
- **sort** — Sort order: `newest` (default) or `oldest`

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/utapyngo/sentry-mcp-rs), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
cargo install sentry-mcp
```

2. Install:

```sh
cargo install --git https://github.com/utapyngo/sentry-mcp-rs.git
```

3. Install:

```sh
mise use -g github:utapyngo/sentry-mcp-rs
```

4. Install:

```sh
git clone https://github.com/utapyngo/sentry-mcp-rs.git
```

5. Configure:

```sh
cd sentry-mcp-rs
```

6. Configure:

```sh
cp .env.example .env
```

## Documentation

## 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:

```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.

_Full upstream README: https://allmcps.com/mcp/utapyngo-sentry-mcp-rs/readme_

