
coffebar/mcp-glitchtip
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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)
- Log in to your GlitchTip instance
- Go to /profile/auth-tokens
- Create a new API token with appropriate permissions
- Copy the token for use as
GLITCHTIP_TOKEN
Option 2: Session ID
- Log in to your GlitchTip instance
- Open browser developer tools (F12)
- Go to Application/Storage > Cookies
- Find the
sessionidcookie value - 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 |
インストール
npx -y mcp-glitchtip設定
{
"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"
}
}
}
}