GlitchTip MCP Serverのロゴ

GlitchTip MCP Server

コミュニティ
vltansky

MCP for https://glitchtip.com/

公開者vltansky
リポジトリglitchtip-mcp
言語JavaScript
フォーク
3
スター
11
利用可能なツール
2
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    GlitchTip MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 2個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには11件のスターと3件のフォークがあります。

GlitchTip MCP Server

MCP server for integrating GlitchTip error monitoring with AI assistants like Claude.

Installation

Prerequisites

  1. Cursor IDE installed
  2. GlitchTip API token or session ID
  3. Your GlitchTip organization slug

Quick Install

Install MCP Server

Click the button above and follow the installation flow, or manually configure:

Manual Configuration

  1. Open your MCP configuration file:

    • Global (all projects): ~/.cursor/mcp.json
    • Project-specific: .cursor/mcp.json in project root
  2. Add the following configuration:

json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"],
      "env": {
        "GLITCHTIP_TOKEN": "your-api-token",
        "GLITCHTIP_ORGANIZATION": "your-org-slug",
        "GLITCHTIP_BASE_URL": "https://app.glitchtip.com"
      }
    }
  }
}
  1. Replace the environment variables with your actual values
  2. Save the file and restart Cursor

Using .env File (Recommended)

For better security, store credentials in a .env file:

  1. Create .env in your project root:
bash
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.com
  1. Update .cursor/mcp.json:
json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"]
    }
  }
}
  1. Add .env to .gitignore:
bash
echo ".env" >> .gitignore

Verify Installation

  1. Restart Cursor completely
  2. Check for green dot in Settings → Tools & Integrations → MCP Tools
  3. In chat/composer, check "Available Tools"
  4. Test with: "Show me GlitchTip errors"

Prerequisites

  1. Claude Desktop installed
  2. GlitchTip API token or session ID
  3. Your GlitchTip organization slug

Configuration

  1. Open your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the following configuration:

json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"],
      "env": {
        "GLITCHTIP_TOKEN": "your-api-token",
        "GLITCHTIP_ORGANIZATION": "your-org-slug",
        "GLITCHTIP_BASE_URL": "https://app.glitchtip.com"
      }
    }
  }
}
  1. Replace the environment variables with your actual values
  2. Save the file and restart Claude Desktop

Using .env File (Recommended)

For better security, store credentials in a .env file:

  1. Create .env in your project root:
bash
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.com
  1. Update claude_desktop_config.json:
json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"]
    }
  }
}
  1. Add .env to .gitignore:
bash
echo ".env" >> .gitignore

Verify Installation

  1. Restart Claude Desktop completely
  2. Look for the 🔌 icon in the bottom right
  3. Click it to see available MCP servers
  4. Test with: "Show me GlitchTip errors"

Prerequisites

  1. Claude Code CLI installed
  2. GlitchTip API token or session ID
  3. Your GlitchTip organization slug

Installation

Run the following command in your terminal:

bash
claude mcp add glitchtip -e GLITCHTIP_TOKEN=your-api-token -e GLITCHTIP_ORGANIZATION=your-org-slug -e GLITCHTIP_BASE_URL=https://app.glitchtip.com -- npx -y glitchtip-mcp

Using Environment Variables (Recommended)

For better security, store credentials in a .env file:

  1. Create .env in your project root:
bash
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.com
  1. Add the MCP server:
bash
claude mcp add glitchtip -e GLITCHTIP_TOKEN=$(grep GLITCHTIP_TOKEN .env | cut -d '=' -f2) -e GLITCHTIP_ORGANIZATION=$(grep GLITCHTIP_ORGANIZATION .env | cut -d '=' -f2) -e GLITCHTIP_BASE_URL=$(grep GLITCHTIP_BASE_URL .env | cut -d '=' -f2) -- npx -y glitchtip-mcp
  1. Add .env to .gitignore:
bash
echo ".env" >> .gitignore

Configuration Scopes

  • -s user: Available across all projects
  • -s project: Shared via .mcp.json file (committed to repo)
  • Default: local (current project only)

Verify Installation

bash
claude mcp list
claude mcp get glitchtip

Test with: "Show me GlitchTip errors"

Prerequisites

  1. VS Code installed
  2. Cline extension installed
  3. GlitchTip API token or session ID
  4. Your GlitchTip organization slug

Configuration

  1. Open VS Code
  2. Click the MCP Servers icon (📚) in the Cline extension
  3. Click the "Installed" tab
  4. Click "Configure MCP Servers"
  5. Add the following to cline_mcp_settings.json:
json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"],
      "env": {
        "GLITCHTIP_TOKEN": "your-api-token",
        "GLITCHTIP_ORGANIZATION": "your-org-slug",
        "GLITCHTIP_BASE_URL": "https://app.glitchtip.com"
      }
    }
  }
}
  1. Replace the environment variables with your actual values
  2. Save the file
  3. Restart VS Code or reload the Cline extension

Using .env File (Recommended)

For better security, store credentials in a .env file:

  1. Create .env in your project root:
bash
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.com
  1. Update cline_mcp_settings.json:
json
{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "glitchtip-mcp"]
    }
  }
}
  1. Add .env to .gitignore:
bash
echo ".env" >> .gitignore

Verify Installation

  1. Restart VS Code or reload Cline
  2. Check the MCP Servers panel in Cline
  3. Look for "glitchtip" in the list of connected servers
  4. Test with: "Show me GlitchTip errors"

Getting Your GlitchTip Credentials

  1. Log in to GlitchTip
  2. Go to https://app.glitchtip.com/profile/auth-tokens
  3. Create a new API token
  4. Copy the token
  1. Log in to GlitchTip
  2. Open browser DevTools (F12)
  3. Go to Application/Storage → Cookies
  4. Copy the sessionid cookie value

Configuration

VariableRequiredDescriptionDefault
GLITCHTIP_TOKENYes*API token-
GLITCHTIP_SESSION_IDYes*Session cookie-
GLITCHTIP_ORGANIZATIONYesOrganization slug-
GLITCHTIP_BASE_URLNoInstance URLhttps://app.glitchtip.com

*Either GLITCHTIP_TOKEN or GLITCHTIP_SESSION_ID is required

Available Tools

glitchtip_issues

Fetches issues from GlitchTip.

Parameters:

  • status (optional): 'resolved', 'unresolved', or 'all' (default: 'unresolved')

Examples:

  • "Show me all GlitchTip errors"
  • "Get resolved issues"
  • "Show all issues including resolved"

glitchtip_latest_event

Gets the latest event for a specific issue with full context.

Parameters:

  • issueId: The issue ID

Example: "Get details for issue #123"

Available Resources

glitchtip://issues

Resource endpoint providing all current issues in JSON format.

Available Prompts

recent_errors

Get overview of recent production errors with analysis and prioritization.

Use case: Quick triage of production issues

Example: "Use the recent_errors prompt"

debug_issue

Deep-dive into a specific error with full context and suggested fixes.

Parameters:

  • issueId: The issue ID to debug

Use case: Detailed investigation of a specific error

Example: "Use the debug_issue prompt for issue 12345"

Usage Examples

Debug Production Error

User: "Check GlitchTip for recent 500 errors"

AI: I found 3 recent 500 errors:
1. DatabaseConnectionError in /api/users
2. TimeoutError in payment processing
3. ValidationError in checkout flow

User: "Show me details about the payment timeout"

AI: [Analyzes event] The TimeoutError occurs when...
[Provides stack trace and suggested fixes]

Monitor Error Trends

User: "What are the most frequent errors?"

AI: Top errors by frequency:
1. CORS policy errors (145 occurrences)
2. Missing auth token (89 occurrences)
3. Rate limit exceeded (67 occurrences)

Use Prompts for Guided Analysis

User: "Use the recent_errors prompt"

AI: [Analyzes all unresolved issues]
Summary:
- 23 unresolved errors across 5 projects
- Critical: DatabaseConnectionError (89 occurrences)
- High: TimeoutError in payment flow (45 occurrences)
- Medium: ValidationErrors (12 occurrences)

Recommended prioritization:
1. Fix database connection pooling
2. Investigate payment timeout root cause
3. Add validation for edge cases

User: "Use the debug_issue prompt for issue 12345"

AI: [Deep-dives into specific error with stack trace and fix suggestions]

Troubleshooting

Authentication Failed

  • Verify your token/session ID is valid
  • Check organization slug is correct
  • Ensure token has appropriate permissions

Connection Error

  • Verify GLITCHTIP_BASE_URL is correct
  • Check network connectivity
  • Ensure GlitchTip instance is accessible

No Issues Found

  • Verify issues exist in GlitchTip
  • Check organization slug
  • Ensure you have permission to view issues

Security

  • Never commit .mcp.json, .cursor/mcp.json, or .env to version control
  • Use .env files for storing secrets (automatically ignored by git if added to .gitignore)
  • Use API tokens instead of session IDs for team usage
  • Each developer should use their own credentials

Development & Contributing

Installation

bash
npm install

Build

bash
npm run build

Watch Mode

bash
npm run watch

Test with MCP Inspector

bash
export GLITCHTIP_TOKEN="your-token"
export GLITCHTIP_ORGANIZATION="your-org"
npm run inspector

Project Structure

glitchtip-mcp/
├── src/
│   ├── types.ts      # TypeScript type definitions
│   ├── client.ts     # GlitchTip API client
│   └── index.ts      # MCP server implementation
├── package.json
├── tsconfig.json
└── README.md

License

MIT


Based on mcp-glitchtip

インストール

TypingMind
{
  "mcpServers": {
    "glitchtip-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "glitchtip-mcp"
      ]
    }
  }
}

利用可能なツール

  • glitchtip_issues

    Get all issues from GlitchTip

  • glitchtip_latest_event

    Get the latest event for a specific issue

GlitchTip MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度GlitchTip MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

GlitchTip MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. GlitchTip MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "glitchtip-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "glitchtip-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてGlitchTip MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. GlitchTip MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
GlitchTip MCP Serverを使ってこのタスクを手伝ってもらえますか?
GlitchTip MCP Server
はい、読みました。
GlitchTip MCP Serverで調べた結果をお伝えします。

よくある質問

GlitchTip MCP Server MCPサーバーは何に使いますか?

GlitchTip MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでGlitchTip MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでGlitchTip MCP Serverを利用できます。

TypingMindでGlitchTip MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。GlitchTip MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

GlitchTip MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

GlitchTip MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでGlitchTip MCP Server MCPのどのようなツールを利用できますか?

GlitchTip MCP Serverは2個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

GlitchTip MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。GlitchTip MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

GlitchTip Issues

All unresolved issues from GlitchTip error monitoring

recent_errors

Get overview of recent production errors with analysis and prioritization

debug_issue

Deep-dive into a specific error with full context and suggest fixes

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇