Skip to main content
Glama
MCP-100

MCP Sentry

by MCP-100

mcp-sentry: Sentry MCP サーバー

鍛冶屋のバッジ

概要

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

ツール

  1. get_sentry_issue

    • IDまたはURLでSentryの問題を取得して分析する

    • 入力:

      • issue_id_or_url (文字列): 分析する Sentry の問題 ID または URL

    • 返品: 問題の詳細には以下が含まれます:

      • タイトル

      • 問題ID

      • 状態

      • レベル

      • 初回表示タイムスタンプ

      • 最終閲覧タイムスタンプ

      • イベント数

      • 完全なスタックトレース

  2. get_list_issues

    • プロジェクトスラッグで Sentry の問題を取得して分析する

    • 入力:

      • project_slug (文字列): 分析する Sentry プロジェクト スラッグ

      • organization_slug (文字列): 分析する Sentry 組織スラッグ

    • 返品: 問題のリストと詳細:

      • タイトル

      • 問題ID

      • 状態

      • レベル

      • 初回表示タイムスタンプ

      • 最終閲覧タイムスタンプ

      • イベント数

      • 基本的な発行情報

プロンプト

  1. sentry-issue

    • Sentryから問題の詳細を取得する

    • 入力:

      • issue_id_or_url (文字列): Sentry の問題 ID または URL

    • 戻り値: 会話のコンテキストとしてフォーマットされた問題の詳細

Related MCP server: MCP Server Sentry

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-sentry を自動的にインストールするには:

npx -y @smithery/cli install @qianniuspace/mcp-sentry --client claude

uvの使用(推奨)

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

PIPの使用

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

pip install mcp-sentry

またはUVを使用する

uv pip install -e .

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

python -m mcp_sentry

構成

Claude Desktopでの使用

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

"mcpServers": {
  "sentry": {
    "command": "uvx",
    "args": ["mcp-sentry", "--auth-token", "YOUR_SENTRY_TOKEN","--project-slug" ,"YOUR_PROJECT_SLUG", "--organization-slug","YOUR_ORGANIZATION_SLUG"]
  }
}
"mcpServers": {
  "sentry": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "mcp/sentry", "--auth-token", "YOUR_SENTRY_TOKEN","--project-slug" ,"YOUR_PROJECT_SLUG", "--organization-slug","YOUR_ORGANIZATION_SLUG"]
  }
}
"mcpServers": {
  "sentry": {
    "command": "python",
    "args": ["-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN","--project-slug" ,"YOUR_PROJECT_SLUG", "--organization-slug","YOUR_ORGANIZATION_SLUG"]
  }
}

Zedでの使用

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

例えばCursonmcp.json

"context_servers": [
  "mcp-sentry": {
    "command": {
      "path": "uvx",
      "args": ["mcp-sentry", "--auth-token", "YOUR_SENTRY_TOKEN","--project-slug" ,"YOUR_PROJECT_SLUG", "--organization-slug","YOUR_ORGANIZATION_SLUG"]
    }
  }
],
"context_servers": {
  "mcp-sentry": {
    "command": "python",
    "args": ["-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN","--project-slug" ,"YOUR_PROJECT_SLUG", "--organization-slug","YOUR_ORGANIZATION_SLUG"]
  }
},
"context_servers": {
  "sentry": {
      "command": "python",
      "args": [
        "-m",
        "mcp_sentry",
        "--auth-token",
        "YOUR_SENTRY_TOKEN",
        "--project-slug",
        "YOUR_PROJECT_SLUG",
        "--organization-slug",
        "YOUR_ORGANIZATION_SLUG"
      ],
      "env": {
        "PYTHONPATH": "path/to/mcp-sentry/src"
      }
    }
},

デバッグ

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

npx @modelcontextprotocol/inspector uvx mcp-sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG

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

cd path/to/servers/src/sentry
npx @modelcontextprotocol/inspector uv run mcp-sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG  

または期限内に

npx @modelcontextprotocol/inspector uv --directory /Volumes/ExtremeSSD/MCP/mcp-sentry/src run mcp_sentry --auth-token YOUR_SENTRY_TOKEN
--project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG

インスペクターツール

フォークから

ライセンス

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

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

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/MCP-100/mcp-sentry'

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