GlitchTip MCP Server 标志

GlitchTip MCP Server

社区
vltansky

MCP for https://glitchtip.com/

发布者vltansky
代码仓库glitchtip-mcp
语言JavaScript
复刻数
3
星标数
11
可用工具
2
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    GlitchTip MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 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 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  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 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 GlitchTip MCP Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 GlitchTip MCP Server 帮我完成这项任务吗?
GlitchTip MCP Server
当然,我看过了。
以下是我使用 GlitchTip MCP Server 得到的结果。

常见问题

GlitchTip MCP Server MCP 服务器有什么用途?

GlitchTip MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 GlitchTip MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 GlitchTip MCP Server。

为什么在 TypingMind 中使用 GlitchTip MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 GlitchTip MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 GlitchTip MCP Server MCP 连接到 TypingMind?

GlitchTip MCP Server 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

GlitchTip MCP Server MCP 在 TypingMind 中提供哪些工具?

GlitchTip MCP Server 提供 2 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 GlitchTip MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。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 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇