Click on "Install 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., "@Telebugs MCP ServerShow me the latest open error groups"
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.
Telebugs MCP Server
An MCP (Model Context Protocol) server that allows AI agents to retrieve error reports from Telebugs, a self-hosted Sentry alternative.
Architecture
Features
Direct database access - Reads from Telebugs SQLite database (read-only)
API key authentication - Uses existing Telebugs user API keys
Access control - Users only see projects they're members of
SSE transport - Allows remote Claude Desktop connections
Token efficient - Compact JSON, defaults to open errors only
Single binary - Cross-compile to Linux, no runtime dependencies
Available Tools
Tool | Description |
| List all accessible projects |
| List deduplicated error groups with filtering |
| Get details of a specific error group |
| List individual error occurrences |
| Get full report with backtrace, breadcrumbs, context |
| Get aggregated error statistics |
| Full-text search across errors |
list_error_groups
Parameter | Type | Default | Description |
| number | - | Filter by project ID |
| string |
|
|
| string | - | Filter by exact error type |
| string | - | Filter by error message (substring match) |
| string | - | Start date (ISO 8601) |
| string | - | End date (ISO 8601) |
| number | 20 | Max results (1-100) |
| number | 0 | Skip N results for pagination |
Returns total_count for pagination.
list_reports
Parameter | Type | Default | Description |
| number | - | Filter by error group ID |
| number | - | Filter by project ID |
| string | - | Start date (ISO 8601) |
| string | - | End date (ISO 8601) |
| number | 20 | Max results (1-100) |
| number | 0 | Skip N results for pagination |
Returns total_count for pagination.
search_errors
Parameter | Type | Default | Description |
| string | required | Full-text search query |
| number | - | Filter by project ID |
| number | 20 | Max results (1-100) |
Installation
Build
Configuration
Variable | Description | Default |
| Path to Telebugs SQLite database |
|
| HTTP port to listen on |
|
Running Locally
Deployment
Single Binary
systemd Service
Copy telebugs-mcp.service to /etc/systemd/system/:
Check status:
Nginx Reverse Proxy (Optional)
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Getting Your API Key
Log into your Telebugs instance
Go to User → Account Settings → Security
Copy your API key
Or query directly:
Security
Database opened in read-only mode
API keys validated against active users only
All queries filtered by user's project memberships
Parameterized queries (no SQL injection)
Health Check
License
MIT