Skip to main content
Glama
glitchtip-mcp

glitchtip-mcp

glitchtip-mcp

A Model Context Protocol (MCP) server for GlitchTip β€” the open-source error tracking platform (Sentry-compatible).

Let AI assistants directly query your production errors without copy-pasting.

Features

  • πŸ” List and search issues/errors

  • πŸ“‹ Get detailed error information with stack traces

  • πŸ“Š View event history for issues

  • βœ… Resolve issues directly from AI chat

  • πŸ”— Works with any MCP-compatible client (Claude, Cursor, Kiro, etc.)

Related MCP server: Bugsink MCP Server

Installation

git clone https://github.com/FakeRocket543/glitchtip-mcp.git
cd glitchtip-mcp
npm install

Configuration

1. Get API Token

GlitchTip API tokens can be created via Django shell:

docker exec -it <glitchtip-container> python manage.py shell -c "
from django.apps import apps
from django.contrib.auth import get_user_model
import secrets

APIToken = apps.get_model('api_tokens', 'APIToken')
User = get_user_model()
user = User.objects.first()
token = APIToken(user=user, token=secrets.token_hex(32), label='MCP')
token.scopes = 0xFFFFFFFF  # all permissions
token.save()
print(f'Token: {token.token}')
"

2. Add to MCP Client

Claude Desktop (~/.config/claude/claude_desktop_config.json):

Cursor (Settings β†’ MCP):

Kiro (.kiro/settings/mcp.json):

{
  "mcpServers": {
    "glitchtip": {
      "command": "node",
      "args": ["/absolute/path/to/glitchtip-mcp/index.js"],
      "env": {
        "GLITCHTIP_HOST": "http://localhost:8000",
        "GLITCHTIP_TOKEN": "your-api-token"
      }
    }
  }
}

Environment Variables

Variable

Description

Example

GLITCHTIP_HOST

GlitchTip server URL

http://localhost:8000

GLITCHTIP_TOKEN

API authentication token

abc123...

Available Tools

Tool

Description

list_organizations

List all accessible organizations

list_projects

List projects in an organization

list_issues

List issues/errors in a project

get_issue

Get detailed info about an issue

get_latest_events

Get recent error events

list_issue_events

List all events for an issue

resolve_issue

Mark an issue as resolved

Example Prompts

  • "What errors are in GlitchTip?"

  • "Show me details of issue #123"

  • "List events for issue 456"

  • "Mark issue 789 as resolved"

Why?

Before: Error occurs β†’ Open GlitchTip UI β†’ Copy stack trace β†’ Paste to AI β†’ AI analyzes

After: Ask "What errors?" β†’ AI queries directly β†’ Analyzes β†’ Fixes

Credits

Inspired by Sentry MCP. This is an independent implementation for GlitchTip.

Comparison with Sentry MCP

Feature

Sentry MCP

glitchtip-mcp

list_organizations

βœ…

βœ…

list_projects

βœ…

βœ…

list_project_issues

βœ…

βœ…

get_issue

βœ…

βœ…

get_event

βœ…

βœ…

list_issue_events

βœ…

βœ…

resolve_issue

❌

βœ…

resolve_short_id

βœ…

❌

create_project

βœ…

❌

list_replays

βœ…

❌ (GlitchTip N/A)

Language

TypeScript

JavaScript

Backend

Sentry.io

GlitchTip (self-hosted)

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables interaction with Glitchtip error tracking platform through natural language. Provides access to issues, events, projects, teams, and organization management for comprehensive error monitoring and debugging.
      7
      28 npm
      3
      AGPL 3.0
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to query and analyze errors from Bugsink self-hosted error tracking instances. Supports listing projects, teams, issues, and viewing detailed error events with stacktraces.
      16
      20
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to query, analyze, and resolve errors within the GlitchTip error tracking platform by providing access to issue details and stacktraces. It allows users to list unresolved issues and mark them as fixed using natural language commands.
      3
      18 PyPI
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Integrates GlitchTip error monitoring with AI assistants to fetch, analyze, and debug production errors. It enables users to list issues, retrieve event details, and perform guided triage of application errors through natural language.
      2
      11
      MIT