CM

coffebar/mcp-glitchtip

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

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
GitHub에서 전체 README 보기

설치

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" } } } }