Skip to content

jlhg/export-sentry-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Export Sentry Issue

繁體中文版 (Traditional Chinese)

A collection of tools for exporting and analyzing Sentry issues.

Packages

This repository contains multiple packages:

A Python CLI tool for exporting Sentry issues to plain text files.

Features:

  • Export complete error messages and stack traces
  • Support both Self-hosted Sentry and SaaS version
  • Include Request information, Breadcrumbs, Spans, and Context data
  • Secure token management with file permissions
  • Batch export multiple issues

Quick Start:

pip install export-sentry-issue

# Initialize configuration (secure, token hidden)
export-sentry-issue init

# Export issues
export-sentry-issue export --ids "12345,67890"

📖 Full Documentation

An Model Context Protocol (MCP) server that allows AI assistants like Claude to export and analyze Sentry issues.

Features:

  • 🔧 MCP Tools for Sentry issue management
  • 🤖 Auto-triggered when you mention Sentry URLs or issue numbers
  • 🔐 Secure configuration with file permissions
  • 📝 Rich export format with stack traces, breadcrumbs, spans
  • 🚀 Multiple transport modes (STDIO and HTTP/SSE)

Quick Start:

Using Docker:

docker pull ghcr.io/jlhg/export-sentry-issue-mcp:latest

Or install via pip:

pip install export-sentry-issue-mcp

# Initialize configuration
export-sentry-issue-mcp init

# Add to Claude Desktop config (~/.config/claude/claude_desktop_config.json)
{
  "mcpServers": {
    "sentry": {
      "command": "export-sentry-issue-mcp"
    }
  }
}

📖 Full Documentation

Development

This is a monorepo containing multiple Python packages. Each package can be developed and published independently.

Project Structure

export-sentry-issue/
├── packages/
│   ├── export-sentry-issue/      # CLI tool
│   │   ├── src/
│   │   ├── pyproject.toml
│   │   └── README.md
│   └── export-sentry-issue-mcp/  # MCP server
│       ├── src/
│       ├── pyproject.toml
│       └── README.md
├── LICENSE
└── README.md

Local Development

# Install a package in editable mode
cd packages/export-sentry-issue
pip install -e .

# Or for the MCP server
cd packages/export-sentry-issue-mcp
pip install -e .

License

MIT License - see LICENSE file for details.

About

Exporting and analyzing Sentry issues

Resources

License

Stars

Watchers

Forks

Packages