TB

tgeselle/bugsnag-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

24 stars 9 forks 品質 60 トレンド 0

Bugsnag と相互作用するためのモデルコンテキストプロトコル(MCP)サーバー。 このサーバーでは、CursorやClaudeなどのLMツールがバグスナグの問題を調査および解決することができます.

概要

Bugsnag と相互作用するためのモデルコンテキストプロトコル(MCP)サーバー。 このサーバーでは、CursorやClaudeなどのLMツールがバグスナグの問題を調査および解決することができます。 - : Bugsnag hierarchy - : 強力なフィルタリングオプションで特定の問題を見つける - : ソースコードのコンテキストとハイライトされたエラーラインでフォーマットされたスタックトレースを参照してください - : 完全な例外チェーンを表示することにより、ルート原因を理解する - : コードとサードパーティのライブラリを明確に識別する - : エラーの場所の周りの関連するコードスニペットを表示 - : 複数のエラー間で再発パターンを識別する - : エラークラス、メッセージ、またはアプリのバージョンで問題を見つける - : 各エラーに関する包括的な情報を入手 - : 特定のエラーのすべての発生を表示 Bugsnag MCP サーバーの設定は簡単です。インストールやソースコードのダウンロードは不要です。 1. Bugsnag MCP サーバーの設定を追加します。 2。 Bugsnag APIキーであなたのbugsnag-api-keyを取り替えて下さい 1. Bugsnag MCP サーバーの設定を追加します

概要(AI 翻訳)

Bugsnag と相互作用するためのモデルコンテキストプロトコル(MCP)サーバー。 このサーバーでは、CursorやClaudeなどのLMツールがバグスナグの問題を調査および解決することができます。

✨ 機能

エラー監視と分析

  • 組織とプロジェクトナビゲーション: Bugsnag hierarchyを簡単に閲覧 -エラーとイベントフィルタリング: 強力なフィルタリングオプションで特定の問題を見つける -Detailed Stacktrace Viewing:ソースコードのコンテキストとハイライトされたエラー行でフォーマットされたスタックトレースを参照してください
  • 例外チェーン可視化: 完全な例外チェーンを表示することにより、根本原因を理解する

##コードインテリジェンス

  • プロジェクトとライブラリコードの区別: コードとサードパーティのライブラリを明確に識別
  • ソースコードコンテキスト: エラー場所周辺の関連するコードスニペットを表示
  • エラーパターン: 複数のエラーで再発パターンを特定する

##課題管理 -検索機能: エラークラス、メッセージ、またはアプリのバージョンで問題を見つける -エラー詳細:各エラーに関する包括的な情報を入手

  • イベント履歴:特定のエラーのすべての発生を表示

OST クイックセットアップ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Bugsnag MCP Server

A Model Context Protocol (MCP) server for interacting with Bugsnag. This server allows LLM tools like Cursor and Claude to investigate and resolve issues in Bugsnag.

✨ Features

Error Monitoring & Analysis

  • Organization & Project Navigation: Easily browse your Bugsnag hierarchy
  • Error & Event Filtering: Find specific issues with powerful filtering options
  • Detailed Stacktrace Viewing: See formatted stacktraces with source code context and highlighted error lines
  • Exception Chain Visualization: Understand the root cause by viewing the full exception chain

Code Intelligence

  • Project vs. Library Code Distinction: Clearly identify your code vs third-party libraries
  • Source Code Context: View relevant code snippets around error locations
  • Error Patterns: Identify recurring patterns across multiple errors

Issue Management

  • Search Capabilities: Find issues by error class, message, or app version
  • Error Details: Get comprehensive information about each error
  • Event History: View all occurrences of a specific error

🚀 Quick Setup

Setting up the Bugsnag MCP server is simple and doesn’t require any installation or downloading source code.

For Cursor

  1. Add the Bugsnag MCP server configuration:

    {
      "mcpServers": {
        "bugsnag": {
          "command": "npx",
          "args": ["-y", "bugsnag-mcp-server"],
          "env": {
            "BUGSNAG_API_KEY": "your-bugsnag-api-key"
          },
          "disabled": false,
          "alwaysAllow": []
        }
      }
    }
    
  2. Replace your-bugsnag-api-key with your Bugsnag API key

For Claude Desktop

  1. Add the Bugsnag MCP server configuration:

    {
      "mcpServers": {
        "bugsnag": {
          "command": "npx",
          "args": ["-y", "bugsnag-mcp-server"],
          "env": {
            "BUGSNAG_API_KEY": "your-bugsnag-api-key"
          },
          "disabled": false,
          "alwaysAllow": []
        }
      }
    }
    
  2. Replace your-bugsnag-api-key with your Bugsnag API key

🔑 Obtaining a Bugsnag API Key

To use this MCP server, you’ll need a Bugsnag API key:

  1. Log in to your Bugsnag account at https://app.bugsnag.com/
  2. Go to Settings > Organization settings > Access tokens
  3. Create a new personal access token with the following permissions:
    • Read projects
    • Read and write errors
    • Read and write comments
  4. Copy the generated token for use with the MCP server

📋 Usage Examples

Once configured, you can use the Bugsnag MCP server with your LLM tool. Here are some example prompts:

Exploring Your Bugsnag Account

List all my Bugsnag organizations
Show me all projects in organization "org_12345"

Finding and Analyzing Errors

GitHub で README 全文を見る

インストール

npx -y bugsnag-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "bugsnag": { "command": "npx", "args": ["-y", "bugsnag-mcp-server"], "env": { "BUGSNAG_API_KEY": "your-bugsnag-api-key" }, "disabled": false, "alwaysAllow": [] } } }