Skip to main content
Glama

Sentry MCP Server

以下は、 mcp-sentry-customプロジェクトの README.md を改訂・洗練させたバージョンです。明瞭性、正確性、そしてプロフェッショナル性を重視し、適切なフォーマットで作成されています。標準的な Markdown の慣例に従い、内容を論理的なセクションに整理しています。


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

概要

mcp-sentry-customは、 Sentry.ioまたはセルフホスト型 Sentry インスタンスから問題を取得・分析するために設計された Model Context Protocol (MCP) サーバーです。このサーバーは、Sentry アカウントから直接エラーレポート、スタックトレース、その他のデバッグ情報を調べるためのツールを提供します。

Related MCP server: Sentry MCP Server

特徴

ツール

  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。

    • 戻り値: フォーマットされた問題の詳細。

インストール

Smithery経由でインストール

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

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

uvの使用(推奨)

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

uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

pipの使用

あるいは、 pip経由でmcp-sentry-customをインストールします。

pip install mcp-sentry-custom

または、 uvの場合:

uv pip install -e .

インストール後、スクリプトとして実行します。

python -m mcp_sentry

構成

Claude Desktopでの使用

claude_desktop_config.jsonに以下を追加します。

uvxの使用

{ "mcpServers": { "sentry": { "command": "uvx", "args": [ "mcp-sentry-custom", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

Dockerの使用

{ "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", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

pipを使ったインストール

{ "mcpServers": { "sentry": { "command": "python", "args": [ "-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

Zedでの使用

Zed のsettings.jsonに以下を追加します。

uvxの使用

{ "context_servers": { "mcp-sentry-custom": { "command": { "path": "uvx", "args": [ "mcp-sentry-custom", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } } }

pipを使ったインストール

{ "context_servers": { "mcp-sentry-custom": { "command": "python", "args": [ "-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

カスタムパスによるpipインストールの使用

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

デバッグ

MCP インスペクターを使用してサーバーをデバッグします。

uvxインストールの場合

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

地域開発のために

パッケージを特定のディレクトリにインストールした場合、または開発中の場合:

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

または、カスタム ディレクトリを使用する場合:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-sentry-custom/src run mcp_sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

フォーク元

このプロジェクトは以下からフォークされました:
https://github.com/modelcontextprotocol/servers/tree/main/src/sentry

ライセンス

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


変更に関する注記

  1. フォーマット: 読みやすさを考慮して、適切な Markdown の見出し、リスト、コード ブロックを使用しました。

  2. 一貫性: 用語を標準化し (例: mcp_sentrymcp-sentry-custom )、冗長な<TEXT><JSON>タグを削除しました。

  3. 明確さ: 「概要」や「機能」などのセクションを簡潔かつ正確に書き直しました。

  4. 完全性: 不完全な文を修正し、すべての構成例が適切に構成されていることを確認しました。

  5. プロフェッショナルな口調: よりフォーマルで洗練された印象を与えるように表現を調整しました。

さらに改良が必要な場合はお知らせください。

-
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/javaDer/mcp-sentry-custom'

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