GlitchTip MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GlitchTip MCP Server show me the most recent errors and help me analyze the top one"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GlitchTip MCP Server
MCP server for integrating GlitchTip error monitoring with AI assistants like Claude.
Installation
Prerequisites
Cursor IDE installed
GlitchTip API token or session ID
Your GlitchTip organization slug
Quick Install
Click the button above and follow the installation flow, or manually configure:
Manual Configuration
Open your MCP configuration file:
Global (all projects):
~/.cursor/mcp.jsonProject-specific:
.cursor/mcp.jsonin project root
Add the following configuration:
{
"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"
}
}
}
}Replace the environment variables with your actual values
Save the file and restart Cursor
Using .env File (Recommended)
For better security, store credentials in a .env file:
Create
.envin your project root:
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.comUpdate
.cursor/mcp.json:
{
"mcpServers": {
"glitchtip": {
"command": "npx",
"args": ["-y", "glitchtip-mcp"]
}
}
}Add
.envto.gitignore:
echo ".env" >> .gitignoreVerify Installation
Restart Cursor completely
Check for green dot in Settings ā Tools & Integrations ā MCP Tools
In chat/composer, check "Available Tools"
Test with: "Show me GlitchTip errors"
Prerequisites
Claude Desktop installed
GlitchTip API token or session ID
Your GlitchTip organization slug
Configuration
Open your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the following configuration:
{
"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"
}
}
}
}Replace the environment variables with your actual values
Save the file and restart Claude Desktop
Using .env File (Recommended)
For better security, store credentials in a .env file:
Create
.envin your project root:
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.comUpdate
claude_desktop_config.json:
{
"mcpServers": {
"glitchtip": {
"command": "npx",
"args": ["-y", "glitchtip-mcp"]
}
}
}Add
.envto.gitignore:
echo ".env" >> .gitignoreVerify Installation
Restart Claude Desktop completely
Look for the š icon in the bottom right
Click it to see available MCP servers
Test with: "Show me GlitchTip errors"
Prerequisites
Claude Code CLI installed
GlitchTip API token or session ID
Your GlitchTip organization slug
Installation
Run the following command in your terminal:
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-mcpUsing Environment Variables (Recommended)
For better security, store credentials in a .env file:
Create
.envin your project root:
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.comAdd the MCP server:
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-mcpAdd
.envto.gitignore:
echo ".env" >> .gitignoreConfiguration Scopes
-s user: Available across all projects-s project: Shared via.mcp.jsonfile (committed to repo)Default:
local(current project only)
Verify Installation
claude mcp list
claude mcp get glitchtipTest with: "Show me GlitchTip errors"
Prerequisites
VS Code installed
Cline extension installed
GlitchTip API token or session ID
Your GlitchTip organization slug
Configuration
Open VS Code
Click the MCP Servers icon (š) in the Cline extension
Click the "Installed" tab
Click "Configure MCP Servers"
Add the following to
cline_mcp_settings.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"
}
}
}
}Replace the environment variables with your actual values
Save the file
Restart VS Code or reload the Cline extension
Using .env File (Recommended)
For better security, store credentials in a .env file:
Create
.envin your project root:
GLITCHTIP_TOKEN=your-api-token
GLITCHTIP_ORGANIZATION=your-org-slug
GLITCHTIP_BASE_URL=https://app.glitchtip.comUpdate
cline_mcp_settings.json:
{
"mcpServers": {
"glitchtip": {
"command": "npx",
"args": ["-y", "glitchtip-mcp"]
}
}
}Add
.envto.gitignore:
echo ".env" >> .gitignoreVerify Installation
Restart VS Code or reload Cline
Check the MCP Servers panel in Cline
Look for "glitchtip" in the list of connected servers
Test with: "Show me GlitchTip errors"
Related MCP server: Bugsink MCP Server
Getting Your GlitchTip Credentials
Log in to GlitchTip
Create a new API token
Copy the token
Log in to GlitchTip
Open browser DevTools (F12)
Go to Application/Storage ā Cookies
Copy the
sessionidcookie value
Configuration
Variable | Required | Description | Default |
| Yes* | API token | - |
| Yes* | Session cookie | - |
| Yes | Organization slug | - |
| No | Instance URL |
|
*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_URLis correctCheck 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.envto version controlUse
.envfiles 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
npm installBuild
npm run buildWatch Mode
npm run watchTest with MCP Inspector
export GLITCHTIP_TOKEN="your-token"
export GLITCHTIP_ORGANIZATION="your-org"
npm run inspectorProject Structure
glitchtip-mcp/
āāā src/
ā āāā types.ts # TypeScript type definitions
ā āāā client.ts # GlitchTip API client
ā āāā index.ts # MCP server implementation
āāā package.json
āāā tsconfig.json
āāā README.mdLicense
MIT
Based on mcp-glitchtip
Available Tools
2 toolsglitchtip_issuesC
Get all issues from GlitchTip
Inputs: status.
glitchtip_latest_eventB
Get the latest event for a specific issue
Inputs: issueId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one retrieves all issues, while the other fetches the latest event for a specific issue. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool based on the task.
Both tools follow a consistent naming pattern with the prefix 'glitchtip_' followed by a descriptive noun phrase (issues, latest_event). This uniformity enhances readability and predictability, adhering to a clear convention throughout the tool set.
With only two tools, the server feels under-scoped for a monitoring or error-tracking domain like GlitchTip. Essential operations such as creating, updating, or resolving issues are missing, which limits the server's utility and suggests an incomplete implementation.
The tool set is severely incomplete for error tracking. While it allows reading issues and events, it lacks CRUD operations (e.g., create, update, delete issues) and other key functionalities like searching or filtering, which are critical for comprehensive agent workflows in this domain.
Maintenance
Related MCP Connectors
Manage uptime monitors and incidents and search logs, metrics and traces from an AI assistant.
Production errors and incidents for your agent: stack traces, breadcrumbs, likely causes, triage.
Observability for AI apps: investigate traces, logs, LLM usage, replays and crashes; manage alerts.
Production errors your coding agent can read: search, stack traces, context, trends, resolve.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.718 npm3AGPL 3.0
- AlicenseBqualityDmaintenanceEnables 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.16292 npm19MIT
- AlicenseAqualityDmaintenanceEnables 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.322 PyPI2MIT
- AlicenseAqualityDmaintenanceConnects AI tools directly to Codemend production error monitoring to list, analyze, and resolve software crashes. It enables users to retrieve AI-generated fixes and automatically open GitHub pull requests to address production issues.56 npmMIT