loading…
Search for a command to run...
loading…
An MCP server that enables AI agents to retrieve and analyze error reports from a self-hosted Telebugs instance. It provides tools for listing projects, searchi
An MCP server that enables AI agents to retrieve and analyze error reports from a self-hosted Telebugs instance. It provides tools for listing projects, searching error groups, and fetching detailed reports directly from the Telebugs SQLite database.
An MCP (Model Context Protocol) server that allows AI agents to retrieve error reports from Telebugs, a self-hosted Sentry alternative.
┌─────────────────┐ ┌─────────────────────────────────────┐
│ Local Machine │ │ Remote VPS │
│ │ HTTPS │ │
│ Claude Desktop │ ◄───────────────────────► │ Bun MCP Server ───► Telebugs │
│ │ (SSE transport) │ :3100 SQLite DB │
└─────────────────┘ └─────────────────────────────────────┘
| Tool | Description |
|---|---|
list_projects |
List all accessible projects |
list_error_groups |
List deduplicated error groups with filtering |
get_error_group |
Get details of a specific error group |
list_reports |
List individual error occurrences |
get_report |
Get full report with backtrace, breadcrumbs, context |
get_statistics |
Get aggregated error statistics |
search_errors |
Full-text search across errors |
list_releases |
List all releases for a project with artifact counts |
list_release_artifacts |
List uploaded artifacts for a release |
get_sourcemap_status |
Check if a debug ID has sourcemaps available |
resolve_error_group |
Resolve an error group (mark as fixed) |
unresolve_error_group |
Reopen a resolved error group |
mute_error_group |
Mute an error group with optional expiry |
unmute_error_group |
Unmute a muted error group |
add_note |
Add a note to an error group |
delete_note |
Delete a note from an error group (author only) |
create_project |
Create a new project (admin only) |
update_project |
Update a project's name or timezone (admin only) |
delete_project |
Soft-delete a project (admin only) |
get_project_token |
Get a project's token/DSN for SDK config |
regenerate_project_token |
Regenerate a project's token (admin only) |
add_project_member |
Add a user to a project (admin only) |
remove_project_member |
Remove a user from a project (admin only) |
list_project_members |
List project members with roles |
list_platforms |
List available platform names for project creation |
| Parameter | Type | Default | Description |
|---|---|---|---|
project_id |
number | - | Filter by project ID |
status |
string | "open" |
"open", "resolved", "muted", or "all" |
error_type |
string | - | Filter by exact error type |
error_message |
string | - | Filter by error message (substring match) |
from |
string | - | Start date (ISO 8601) |
to |
string | - | End date (ISO 8601) |
limit |
number | 20 | Max results (1-100) |
offset |
number | 0 | Skip N results for pagination |
Returns total_count for pagination.
| Parameter | Type | Default | Description |
|---|---|---|---|
group_id |
number | - | Filter by error group ID |
project_id |
number | - | Filter by project ID |
from |
string | - | Start date (ISO 8601) |
to |
string | - | End date (ISO 8601) |
limit |
number | 20 | Max results (1-100) |
offset |
number | 0 | Skip N results for pagination |
Returns total_count for pagination.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Full-text search query |
project_id |
number | - | Filter by project ID |
limit |
number | 20 | Max results (1-100) |
These tools only require group_id (number).
| Parameter | Type | Default | Description |
|---|---|---|---|
group_id |
number | required | The error group ID |
muted_until |
string | - | Optional ISO 8601 date until which the group is muted |
| Parameter | Type | Default | Description |
|---|---|---|---|
group_id |
number | required | The error group ID |
content |
string | required | The note content |
| Parameter | Type | Default | Description |
|---|---|---|---|
group_id |
number | required | The error group ID |
note_id |
number | required | The note ID to delete |
| Parameter | Type | Default | Description |
|---|---|---|---|
name |
string | required | Project name (unique) |
platform |
string | required | Platform name — use list_platforms to see options |
timezone |
string | "UTC" |
Project timezone (e.g. "America/New_York") |
| Parameter | Type | Default | Description |
|---|---|---|---|
project_id |
number | required | The project ID to update |
name |
string | - | New project name |
timezone |
string | - | New timezone |
These tools only require project_id (number).
| Parameter | Type | Default | Description |
|---|---|---|---|
project_id |
number | required | The project ID |
user_id |
number | required | The user ID to add/remove |
These tools only require project_id (number).
No parameters. Returns all available platform names.
cd telebugs-mcp
bun install
# Build for current platform
bun run build
# Build for Linux (for VPS deployment)
bun run build:linux
| Variable | Description | Default |
|---|---|---|
TELEBUGS_DB_PATH |
Path to Telebugs SQLite database | /var/lib/docker/volumes/telebugs-data/_data/db/production.sqlite3 |
PORT |
HTTP port to listen on | 3100 |
TELEBUGS_DB_PATH=/path/to/telebugs/storage/db/development.sqlite3 bun run dev
# Copy to server
scp telebugs-mcp-linux root@your-server:~/telebugs-mcp-linux
# On server
chmod +x ~/telebugs-mcp-linux
./telebugs-mcp-linux
Copy telebugs-mcp.service to /etc/systemd/system/:
cp telebugs-mcp.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable telebugs-mcp
systemctl start telebugs-mcp
Check status:
systemctl status telebugs-mcp
location /mcp {
proxy_pass http://127.0.0.1:3100;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# SSE support
proxy_set_header Connection '';
proxy_buffering off;
proxy_cache off;
chunked_transfer_encoding off;
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"telebugs": {
"url": "http://your-server:3100/mcp",
"headers": {
"Authorization": "Bearer your_telebugs_api_key"
}
}
}
}
curl http://localhost:3100/health
# {"status":"ok"}
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"telebugs-mcp-server": {
"command": "npx",
"args": []
}
}
}