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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@raygun.io/mcp-server-raygun

v0.1.0

Published

MCP Server for Raygun's API V3 endpoints for interacting with your Crash Reporting and Real User Monitoring applications

Downloads

115

Readme

Raygun MCP Server

MCP Server for Raygun's API V3 endpoints for interacting with your Crash Reporting and Real User Monitoring applications. This server provides comprehensive access to Raygun's API features through the Model Context Protocol.

Features

Tools

Applications

  • list_applications - List all applications under your account
  • get_application - Get application details by identifier
  • get_application_by_api_key - Get application details by API key
  • regenerate_application_api_key - Generate a new API key for an application

Error Management

  • list_error_groups - List error groups for an application
  • get_error_group - Get detailed information about an error group
  • resolve_error_group - Set error group status to resolved
  • activate_error_group - Set error group status to active
  • ignore_error_group - Set error group status to ignored
  • permanently_ignore_error_group - Set error group status to permanently ignored

Deployment Management

  • list_deployments - List deployments for an application
  • get_deployment - Get deployment details by identifier
  • delete_deployment - Remove a deployment
  • update_deployment - Update deployment information
  • reprocess_deployment_commits - Reprocess deployment commit data

User & Session Management

  • list_customers - List customers for an application
  • list_sessions - List user sessions for an application
  • get_session - Get detailed session information

Performance Monitoring

  • list_pages - List monitored pages for an application
  • get_page_metrics_time_series - Get time-series performance metrics
  • get_page_metrics_histogram - Get histogram of performance metrics
  • get_error_metrics_time_series - Get time-series error metrics

Source Maps

  • list_source_maps - List source maps for an application
  • get_source_map - Get source map details
  • update_source_map - Update source map information
  • delete_source_map - Remove a source map
  • upload_source_map - Upload a new source map
  • delete_all_source_maps - Remove all source maps

Team Management

  • list_invitations - List pending team invitations
  • send_invitation - Send a new team invitation
  • get_invitation - Get invitation details
  • revoke_invitation - Revoke a pending invitation

Configuration

The server requires the following environment variables:

  • RAYGUN_PAT_TOKEN (required): Your Raygun PAT token
  • SOURCEMAP_ALLOWED_DIRS (optional): Comma-separated list of directories allowed for source map operations

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "raygun": {
      "command": "npx",
      "args": ["-y", "@raygun.io/server-raygun"],
      "env": {
        "RAYGUN_PAT_TOKEN": "your-pat-token-here"
      }
    }
  }
}

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "raygun-server": {
      "command": "/path/to/raygun-server/build/index.js",
      "env": {
        "RAYGUN_PAT_TOKEN": "your-pat-token-ken"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.