Sentry MCP server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows to retrieve and analyze issues from Sentry.io, including error reports, stacktraces, and debugging information from a Sentry account.

mcp-server-sentry: Sentry MCP サーバー

概要

Sentry.ioから問題を取得・分析するためのモデルコンテキストプロトコルサーバーです。このサーバーは、Sentryアカウントからエラーレポート、スタックトレース、その他のデバッグ情報を検査するためのツールを提供します。

ツール

  1. get_sentry_issue
    • IDまたはURLでSentryの問題を取得して分析する
    • 入力:
      • issue_id_or_url (文字列): 分析する Sentry の問題 ID または URL
    • 返品: 問題の詳細には以下が含まれます:
      • タイトル
      • 問題ID
      • 状態
      • レベル
      • 初回表示タイムスタンプ
      • 最終閲覧タイムスタンプ
      • イベント数
      • 完全なスタックトレース

プロンプト

  1. sentry-issue
    • Sentryから問題の詳細を取得する
    • 入力:
      • issue_id_or_url (文字列): Sentry の問題 ID または URL
    • 戻り値: 会話のコンテキストとしてフォーマットされた問題の詳細

インストール

uvの使用(推奨)

uvを使用する場合、特別なインストールは必要ありません。uvx uvx使用してmcp-server-sentryを直接実行します。

PIPの使用

あるいは、pip 経由でmcp-server-sentryをインストールすることもできます。

pip install mcp-server-sentry

インストール後、次のコマンドを使用してスクリプトとして実行できます。

python -m mcp_server_sentry

構成

Claude Desktopでの使用

これをclaude_desktop_config.jsonに追加します:

"mcpServers": { "sentry": { "command": "uvx", "args": ["mcp-server-sentry", "--auth-token", "YOUR_SENTRY_TOKEN"] } }
"mcpServers": { "sentry": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/sentry", "--auth-token", "YOUR_SENTRY_TOKEN"] } }
"mcpServers": { "sentry": { "command": "python", "args": ["-m", "mcp_server_sentry", "--auth-token", "YOUR_SENTRY_TOKEN"] } }

Zedでの使用

Zed のsettings.jsonに追加します:

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

デバッグ

MCPインスペクタを使用してサーバーをデバッグできます。UVXインストールの場合:

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

または、パッケージを特定のディレクトリにインストールした場合や、そのディレクトリで開発している場合は、次のようにします。

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

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

このサーバーは、Sentry アカウントからのエラー レポート、スタック トレース、その他のデバッグ情報を検査するためのツールを提供します。

  1. Overview
    1. Tools
    2. Prompts
  2. Installation
    1. Using uv (recommended)
    2. Using PIP
  3. Configuration
    1. Usage with Claude Desktop
    2. Usage with Zed
  4. Debugging
    1. License
      ID: 9wbwsn1sip