Provides tools for fetching and analyzing incident data from AppSignal, including retrieving incident details, getting incident samples, listing recent incidents, and analyzing incidents to suggest potential fixes.
Appsignal MCP(モデルコンテキストプロトコル)
AI アシスタントがインシデント データを取得して分析できるようにする、Appsignal 用のモデル コンテキスト プロトコル (MCP) サーバー。
概要
この MCP サーバーは、AI アシスタントに次のツールを提供します。
- Appsignalからインシデントの詳細を取得する
- インシデントサンプルを取得する
- 最近の事件をリストアップする
- インシデントを分析し、潜在的な修正を提案する
前提条件
- Node.js 14.x 以上
- APIアクセス可能なAppsignalアカウント
- AppsignalパーソナルAPIトークン
インストール
オプション1: npmからインストールする(推奨)
パッケージをグローバルにインストールできます。
または、npx を使用して直接実行します。
オプション2: ソースからインストールする
- このリポジトリをクローンします:
- 依存関係をインストールします:
- Appsignal API トークンを使用して
.env
ファイルを作成します。API トークンは、Appsignal の個人設定画面で確認できます。
使用法
MCPサーバーの実行
サーバーを起動します。
デバッグ ログを使用した開発の場合:
AIアシスタントとの統合
カーソル付きVSコード
VS Code のsettings.json ファイルに以下を追加します。
ソースからインストールした場合は、代わりに次の構成を使用します。
クロードデスクトップ
Claude Desktop 構成に以下を追加します。
ソースからインストールした場合は、代わりに次の構成を使用します。
利用可能なツール
getIncident
特定のインシデントの詳細を取得します。
パラメータ:
appId
(文字列、必須): Appsignal アプリケーション IDincidentNumber
(数値、必須): 取得するインシデント番号sampleId
(文字列、オプション): 取得する特定のサンプルID
getIncidentSamples
インシデントに関連するサンプルを取得します。
パラメータ:
appId
(文字列、必須): Appsignal アプリケーション IDincidentNumber
(数値、必須): インシデント番号limit
(数値、オプション): 返されるサンプルの最大数 (デフォルト: 10)
事件一覧
アプリケーションからの最近のインシデントを一覧表示します。
パラメータ:
appId
(文字列、必須): Appsignal アプリケーション IDlimit
(数値、オプション): 返されるインシデントの最大数 (デフォルト: 25)offset
(数値、オプション): ページ区切りのオフセット (デフォルト: 0)state
(文字列、オプション):インシデントの状態(「オープン」、「クローズ」、「無視」)でフィルタリングします。namespaces
(配列、オプション): 名前空間でフィルタリングorder
(文字列、オプション): ソート順 ('last_occurrence', 'first_occurrence', 'count')
事件分析
インシデントを分析し、洞察を提供します。
パラメータ:
appId
(文字列、必須): Appsignal アプリケーション IDincidentNumber
(数値、必須): 分析するインシデント番号
プロンプトの例
AI アシスタントで使用できるプロンプトの例を次に示します。
- 「Appsignalアプリ「abc123」からインシデント番号123を取得」
- 「Appsignal アプリから最新のオープンインシデントを一覧表示する」
- 「インシデント#456を分析し、潜在的な修正を提案する」
- 「問題のデバッグに役立つインシデント#789のサンプルを入手してください」
ライセンス
マサチューセッツ工科大学
This server cannot be installed
AI アシスタントが Appsignal からインシデント データを取得して分析できるようにするモデル コンテキスト プロトコル サーバー。インシデントの詳細やサンプルの取得、最近のインシデントの一覧表示、インシデントの分析による修正の提案などが含まれます。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that integrates with Linear, enabling AI assistants to create, update, search, and comment on issues for project management and issue tracking.Last updated -56PythonApache 2.0
Appwrite MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.Last updated -8436PythonMIT License- -securityFlicense-qualityA Model Context Protocol server providing AI assistants with access to healthcare data tools, including FDA drug information, PubMed research, health topics, clinical trials, and medical terminology lookup.Last updated -1Python
Sentry MCP Serverofficial
AsecurityFlicenseAqualityA 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.Last updated -113TypeScript