Skip to main content
Glama

Sentry MCP server

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"] } }

VS Codeでの使用

素早くインストールするには、以下のワンクリック インストール ボタンのいずれかを使用します...

手動でインストールする場合は、VS Code のユーザー設定 (JSON) ファイルに次の JSON ブロックを追加します。Ctrl Ctrl + Shift + Pを押してPreferences: Open Settings (JSON)と入力すると、このブロックを追加できます。

オプションとして、ワークスペース内の.vscode/mcp.jsonというファイルに追加することもできます。これにより、他のユーザーと設定を共有できるようになります。

mcp.jsonファイルを使用する場合は、 mcpキーが必要であることに注意してください。

{ "mcp": { "inputs": [ { "type": "promptString", "id": "auth_token", "description": "Sentry Auth Token", "password": true } ], "servers": { "sentry": { "command": "uvx", "args": ["mcp-server-sentry"], "env": { "SENTRY_AUTH_TOKEN": "${input:auth_token}" } } } } }
{ "mcp": { "inputs": [ { "type": "promptString", "id": "auth_token", "description": "Sentry Auth Token", "password": true } ], "servers": { "sentry": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/sentry"], "env": { "SENTRY_AUTH_TOKEN": "${input:auth_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

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.

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

  1. 概要
    1. ツール
    2. プロンプト
  2. インストール
    1. uvの使用(推奨)
    2. PIPの使用
  3. 構成
    1. Claude Desktopでの使用
    2. VS Codeでの使用
    3. Zedでの使用
  4. デバッグ
    1. ライセンス

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.
        Last updated -
        16
        Python
        • Apple
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.
        Last updated -
        10
        3
        TypeScript
      • -
        security
        -
        license
        -
        quality
        A TypeScript implementation of a Model Context Protocol server that connects to Sentry error tracking service, allowing AI models to query and analyze error reports and events.
        Last updated -
        TypeScript
      • -
        security
        F
        license
        -
        quality
        An MCP server that connects to Sentry.io or self-hosted Sentry instances to retrieve and analyze error reports, stack traces, and debugging information.
        Last updated -
        2
        Python

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/modelcontextprotocol/sentry'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server