Skip to main content

MCP server for retrieving issues from sentry.io

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

mcp-server-sentry: A Sentry MCP server

Overview

A Model Context Protocol server for retrieving and analyzing issues from Sentry.io. This server provides tools to inspect error reports, stacktraces, and other debugging information from your Sentry account.

Tools

  1. get-sentry-issue
    • Retrieve and analyze a Sentry issue by ID or URL
    • Input:
      • issue_id_or_url (string): Sentry issue ID or URL to analyze
    • Returns: Issue details including:
      • Title
      • Issue ID
      • Status
      • Level
      • First seen timestamp
      • Last seen timestamp
      • Event count
      • Full stacktrace

Prompts

  1. sentry-issue
    • Retrieve issue details from Sentry
    • Input:
      • issue_id_or_url (string): Sentry issue ID or URL
    • Returns: Formatted issue details as conversation context

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-sentry.

Using PIP

Alternatively you can install mcp-server-sentry via pip:

pip install mcp-server-sentry

After installation, you can run it as a script using:

python -m mcp_server_sentry

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Using uvx
"mcpServers": {
  "sentry": {
    "command": "uvx",
    "args": ["mcp-server-sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
  }
}
Using pip installation
"mcpServers": {
  "sentry": {
    "command": "python",
    "args": ["-m", "mcp_server_sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
  }
}

Usage with Zed

Add to your Zed settings.json:

Using uvx
"context_servers": [
  "mcp-server-sentry": {
    "command": {
      "path": "uvx",
      "args": ["mcp-server-sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
    }
  }
],
Using pip installation
"context_servers": {
  "mcp-server-sentry": {
    "command": "python",
    "args": ["-m", "mcp_server_sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
  }
},

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx mcp-server-sentry --auth-token YOUR_SENTRY_TOKEN

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/servers/src/sentry
npx @modelcontextprotocol/inspector uv run mcp-server-sentry --auth-token YOUR_SENTRY_TOKEN

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_sentry-0.6.2.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_sentry-0.6.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_sentry-0.6.2.tar.gz.

File metadata

  • Download URL: mcp_server_sentry-0.6.2.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mcp_server_sentry-0.6.2.tar.gz
Algorithm Hash digest
SHA256 8e3e0853db880cbd7bf5181db697c3150f2181a61019a482bdea430279bb9e59
MD5 b4b9530fafe6521bf87ec79b57f7d3ca
BLAKE2b-256 05ef73d2e0bfec171ecdfcb00e9d71b4d838f53485560469e06332accb2f80ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_sentry-0.6.2.tar.gz:

Publisher: python.yml on modelcontextprotocol/servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_sentry-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_sentry-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b84daf2f29de1228ea95cf04893dbd4d6269451bc4dc083b20b6e6618cb76c6
MD5 8afa72842d6a48aea33c1d7e0b471bc0
BLAKE2b-256 7bc1575891871d3fddb0702b1f47d1dd3a29c553252abf90ebd5d27da35d852f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_sentry-0.6.2-py3-none-any.whl:

Publisher: python.yml on modelcontextprotocol/servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page