sentry-mcp-rs

sentry-mcp-rs

Fast and minimal Sentry MCP server written in Rust

Category
Visit Server

README

sentry-mcp

Crates.io codecov License: MIT

A fast, lightweight MCP server for Sentry, written in Rust.

Why sentry-mcp?

Compared to the official Node.js server:

  • Memory: 10x less RAM usage
  • Startup: instant cold start
  • Disk: single binary, no runtime dependencies
  • Tokens: fewer tools = smaller tool list in context

Features

This MCP server provides tools to interact with Sentry's API:

  • get_issue_details - Retrieve detailed information about a Sentry issue including metadata, tags, stacktraces, and optionally a specific event
  • get_trace_details - Retrieve trace details including span tree and timing information for distributed tracing analysis
  • search_issue_events - Search events within an issue using Sentry's query syntax

Installation

From crates.io:

cargo install sentry-mcp

From GitHub:

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

Or with mise:

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

The binary will be installed as sentry-mcp.

Configuration

Required environment variables:

  • SENTRY_AUTH_TOKEN - Your Sentry API authentication token
  • SENTRY_HOST - Your Sentry instance hostname (e.g., sentry.io)

Optional:

  • SOCKS_PROXY - SOCKS5 proxy URL (e.g., socks5://127.0.0.1:1080)
  • HTTPS_PROXY - HTTPS proxy URL

MCP Client Configuration

Add to your MCP client configuration:

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

Or without installation using mise:

{
  "mcpServers": {
    "sentry": {
      "command": "mise",
      "args": ["x", "github:utapyngo/sentry-mcp-rs", "--", "sentry-mcp"],
      "env": {
        "SENTRY_AUTH_TOKEN": "your_token_here",
        "SENTRY_HOST": "sentry.io"
      }
    }
  }
}

Development

Clone the repository and create a .env file:

git clone https://github.com/utapyngo/sentry-mcp-rs.git
cd sentry-mcp-rs
cp .env.example .env
# Edit .env with your credentials

Build and test with MCP Inspector:

cargo build --release
npx @modelcontextprotocol/inspector ./run.sh

Or configure MCP client to use the script:

{
  "mcpServers": {
    "sentry": {
      "command": "/path/to/sentry-mcp-rs/run.sh"
    }
  }
}

Tools

get_issue_details

Retrieve detailed information about a specific Sentry issue.

Parameters:

  • 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)

get_trace_details

Retrieve trace details for distributed tracing analysis.

Parameters:

  • organization_slug - Organization slug
  • trace_id - 32-character hex trace ID

search_issue_events

Search events within an issue using Sentry's query syntax.

Parameters:

  • organization_slug - Organization slug
  • issue_id - Issue ID (e.g., PROJECT-123)
  • query - Optional Sentry search query
  • limit - Maximum events to return (default: 10, max: 100)
  • sort - Sort order: newest (default) or oldest

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured