Skip to main content
Glama

Sentry MCP サーバー 🔍

AI エージェントが Sentry エラー データにアクセスして分析できるようにする Sentry MCP (Modern Context Protocol) ツールの TypeScript 実装。🤖

✨ 特徴

  • 🎯 Sentryの問題を取得して分析する

  • 📊 フォーマットされた問題の詳細とメタデータを取得する

  • 🔬 詳細なスタックトレースを表示する

  • 🛠️ ツールとプロンプトインターフェースの両方をサポート

  • 🛡️ 堅牢なエラー処理

  • 🔄リアルタイムコミュニケーション

Related MCP server: Sentry MCP Server

📦 インストール

pnpm install

🔧 構成

Sentry 認証トークンを使用して、ルート ディレクトリに.envファイルを作成します。

SENTRY_AUTH_TOKEN=your_sentry_auth_token
SENTRY_API_BASE=https://sentry.io/api/0/  # Optional, defaults to this value

📚 使用方法

サーバーの起動 🚀

pnpm build && pnpm start

デフォルトでは、サーバーはポート 1337 で起動します。

MCP と併用 🛠️

サーバーは 2 つの MCP インターフェイスを提供します。

  1. ツールインターフェース: get_sentry_issue

    {
      "issue_id_or_url": "12345"
    }
  2. プロンプトインターフェース: sentry-issue

    {
      "issue_id_or_url": "https://sentry.io/organizations/your-org/issues/12345/"
    }

💡 カーソル IDE との統合

Sentry MCP サーバーを Cursor IDE と統合して、開発エクスペリエンスを向上できます。

  1. 🚀 pnpm startを使用して MCP サーバーをローカルで起動します

  2. 🔧 ローカル MCP サーバーを使用するように Cursor を設定します。 画像

  3. 🎉 IDE で直接、シームレスな Sentry 問題分析をお楽しみください。

🤝 貢献する

  1. 🔀 リポジトリをフォークする

  2. 🌿 機能ブランチを作成する

  3. 💾 変更をコミットする

  4. 🚀 ブランチにプッシュする

  5. 📬 新しいプルリクエストを作成する

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    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.
    2
    22
    -
  • A
    license
    B
    quality
    F
    maintenance
    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.
    11
    21
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    11 npm
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that lets AI assistants interact with the Sentry API to retrieve and analyze error data, manage projects, and monitor application performance.
    11
    12
    ISC