npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@alvaroadlf/bugsink-mcp

v1.0.1

Published

Professional MCP server for interacting with Bugsink error tracking via LLMs. Supports multiple languages.

Downloads

32

Readme

Bugsink MCP Server

A professional Model Context Protocol server for interacting with Bugsink error tracking via LLMs.

This server enables AI assistants like Claude, Cursor, Windsurf, and other MCP-compatible tools to deeply analyze your error tracking data. It goes beyond simple listing, offering "Smart Context" analysis to help LLMs solve bugs faster.

License Type Language

✨ Key Features

  • 🔍 Smart Context Analysis: The analyze_issue_context tool retrieves the issue details, the latest 5 events, and their stacktraces in a single call, giving the LLM immediate holistic context to fix bugs without "chat ping-pong".
  • 🌍 Multi-Language Support (i18n): Fully localized responses. Supports English (en) and Spanish (es) out of the box.
  • ⚡ Advanced Event Filtering: Filter error events by Browser (e.g., "Chrome"), OS (e.g., "iOS"), or specific error messages directly from the MCP tool.
  • 🧠 Stacktrace Intelligence: Retrieves pre-rendered Markdown stacktraces for better LLM readability.
  • 🛠️ Full Management: Create and update Projects and Teams directly from your chat.

🚀 Installation

Via npx (Recommended)

To run it directly without installing:

npx @alvaroadlf/bugsink-mcp

Global Install

npm install -g @alvaroadlf/bugsink-mcp

From Source

git clone https://github.com/alvaroadlf/bugsink-mcp.git
cd bugsink-mcp
npm install
npm run build

⚙️ Configuration

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | BUGSINK_URL | Yes | Your Bugsink instance URL (e.g., https://error-tracking.example.com) | | BUGSINK_TOKEN | Yes | API token for authentication | | BUGSINK_LOCALE | No | Language code (en or es). Default: en |

Generating an API Token

  1. Log in to your Bugsink instance.
  2. Go to Settings > API Tokens.
  3. Create a new token.

Or via CLI:

bugsink-manage create_auth_token

💻 Client Configuration

Claude Desktop / Antigravity

Add to your claude_desktop_config.json or antigravity_config.json:

{
  "mcpServers": {
    "bugsink": {
      "command": "npx",
      "args": ["@alvaroadlf/bugsink-mcp"],
      "env": {
        "BUGSINK_URL": "https://your-bugsink-instance.com",
        "BUGSINK_TOKEN": "your-api-token",
        "BUGSINK_LOCALE": "en" 
      }
    }
  }
}

VS Code (with MCP Extension)

Configure in your .vscode/settings.json or User Settings:

"mcp.servers": {
  "bugsink": {
    "command": "npx",
    "args": ["@alvaroadlf/bugsink-mcp"],
    "env": {
      "BUGSINK_URL": "https://...",
      "BUGSINK_TOKEN": "...",
      "BUGSINK_LOCALE": "es"
    }
  }
}

🛠️ Available Tools

This server exposes a rich set of tools for the LLM.

🧠 Analysis Tools (The "Pro" Stuff)

analyze_issue_context

The most powerful tool. It fetches everything an LLM needs to understand a bug in one go:

  1. Issue details (status, frequency, first/last seen).
  2. The last 5 error events.
  3. Full stacktraces for the latest event.
  • Params: issue_id (UUID)

📊 Data Retrieval

list_projects

Lists all projects available to the user.

list_issues

Lists issues for a specific project.

  • Params: project_id, status ('unresolved', 'resolved'), limit.

list_events (with Filtering)

Lists individual error occurrences. Now supports filtering!

  • Params:
    • issue_id: The issue UUID.
    • limit: Max results.
    • browser: Filter by browser (e.g., "Safari").
    • os: Filter by OS (e.g., "Android").
    • error_message: Filter by text in the error message.

get_stacktrace

Get a pre-rendered, Markdown-formatted stacktrace for a specific event.

🏗️ Mutation (Management)

  • create_project / update_project: Manage project settings and visibility.
  • create_team / update_team: Manage teams.
  • create_release: Manually register a release.

👨‍💻 Development

Architecture

This project uses a modular architecture:

  • src/server.ts: Central MCP server logic.
  • src/tools/: Discrete modules for Issues, Projects, Events, etc.
  • src/i18n/: Localization logic.

Running Tests

# Run unit tests
npm test

# Run Integration Tests (Interactive)
# PRO TIP: This script validates your connection and translations properly!

# 1. Set environment variables
export BUGSINK_URL="https://your-bugsink.com"
export BUGSINK_TOKEN="your-token"

# 2. Run the test script
./test-integration.sh -l en   # Test in English
./test-integration.sh -l es   # Test in Spanish

⚠️ Compatibility Notes

This server is designed exclusively for Bugsink, a self-hosted, privacy-first alternative to Sentry.

  • Bugsink API: Uses /api/canonical/0/.
  • Sentry: This server is NOT compatible with the standard Sentry API. For Sentry, please use sentry-mcp.

📜 License

MIT © 2026 Alvaro Araoz