CM

coffebar/mcp-glitchtip

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

6 stars 4 forks Качество 64 Тренд 14MIT

An MCP (Model Context Protocol) server for GlitchTip error monitoring integration. This server allows AI assistants to quickly find and analyze relevant issues from your GlitchTip error monitoring.

Обзор

An MCP (Model Context Protocol) server that integrates GlitchTip error monitoring with AI assistants like Claude. This allows AI to analyze and help resolve errors from your GlitchTip instance. This MCP server enables AI assistants to: - Fetch and analyze current issues from your GlitchTip instance - Get detailed error context including stack traces, user data, and breadcrumbs - Help debug and suggest solutions based on error patterns - : Either an API token (recommended) or Session ID Cookie - : Your organization identifier in GlitchTip - (optional): Your GlitchTip instance URL if self-hosted 1. Log in to your GlitchTip instance 2. Go to /profile/auth-tokens 3. Create a new API token with appropriate permissions 4. Copy the token for use as GLITCHTIP_TOKEN 1. Log in to your GlitchTip instance 2. Open browser developer tools (F12) 3. Go to Application/Storage > Cookies 4. Find the sessionid cookie value 5. Copy this value for use as GLITCHTIP_SESSION_ID Create a .mcp.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP GlitchTip

An MCP (Model Context Protocol) server that integrates GlitchTip error monitoring with AI assistants like Claude. This allows AI to analyze and help resolve errors from your GlitchTip instance.

What it does

This MCP server enables AI assistants to:

  • Fetch and analyze current issues from your GlitchTip instance
  • Get detailed error context including stack traces, user data, and breadcrumbs
  • Help debug and suggest solutions based on error patterns

Example Use Case

User: "Check GlitchTip for any payment-related errors"

AI Assistant:
- Fetches all unresolved issues from GlitchTip
- Identifies payment component errors
- Analyzes stack traces and error patterns
- Suggests specific fixes based on the error context

Quick Start

1. Get Your GlitchTip Credentials

You’ll need:

  • Authentication: Either an API token (recommended) or Session ID Cookie
  • Organization Slug: Your organization identifier in GlitchTip
  • Base URL (optional): Your GlitchTip instance URL if self-hosted

Authentication Options

Option 1: API Token (Recommended)

  1. Log in to your GlitchTip instance
  2. Go to /profile/auth-tokens
  3. Create a new API token with appropriate permissions
  4. Copy the token for use as GLITCHTIP_TOKEN

Option 2: Session ID

  1. Log in to your GlitchTip instance
  2. Open browser developer tools (F12)
  3. Go to Application/Storage > Cookies
  4. Find the sessionid cookie value
  5. Copy this value for use as GLITCHTIP_SESSION_ID

2. Configure Your Project

Create a .mcp.json file in your project root:

{
  "mcpServers": {
    "glitchtip": {
      "command": "npx",
      "args": ["-y", "mcp-glitchtip"],
      "env": {
        "GLITCHTIP_TOKEN": "your-api-token-here",
        "GLITCHTIP_ORGANIZATION": "your-org-slug",
        "GLITCHTIP_BASE_URL": "https://app.glitchtip.com"
      }
    }
  }
}

Note: Add .mcp.json to your .gitignore to keep credentials secure:

echo ".mcp.json" >> .gitignore

3. Open Your Project in Claude Desktop

When you open your project folder in Claude Desktop, it will automatically detect the .mcp.json configuration and connect to your GlitchTip instance.

Configuration Options

Environment Variable Required Description Default
GLITCHTIP_TOKEN Yes* Your GlitchTip API token (recommended) -
GLITCHTIP_SESSION_ID Yes* Your GlitchTip session cookie -
GLITCHTIP_ORGANIZATION Yes Organization slug from GlitchTip URL -
GLITCHTIP_BASE_URL No GlitchTip instance URL https://app.glitchtip.com
Открыть полный README на GitHub

Установка

npx -y mcp-glitchtip
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "glitchtip": { "command": "npx", "args": ["-y", "mcp-glitchtip"], "env": { "GLITCHTIP_TOKEN": "your-api-token-here", "GLITCHTIP_ORGANIZATION": "your-org-slug", "GLITCHTIP_BASE_URL": "https://app.glitchtip.com" } } } }