Rollbar MCP Server

Rollbar MCP Server

MCP server implementation that enables LLMs to interact with Rollbar error tracking data, allowing users to list and analyze errors, view occurrences, track deployments, and access project information.

Category
Visit Server

README

Rollbar MCP Server

License: MIT

MCP server implementation for Rollbar API integration, enabling LLMs to interact with Rollbar error tracking data.

Features

  • List and filter error items
  • Get detailed error information
  • View error occurrences
  • Access project and environment details
  • Track deployments
  • List users and teams

Configuration

Environment Variables

  • ROLLBAR_PROJECT_TOKEN: Rollbar Project Access Token - Required for APIs to retrieve project error and deployment information
  • ROLLBAR_ACCOUNT_TOKEN: Rollbar Account Access Token - Required for APIs to access account-wide project and user information
  • ROLLBAR_PROJECT_ID: Default project ID (used when not specified in requests) - Optional
  • ROLLBAR_PROJECT_NAME: Default project name for reference - Optional

Note: Depending on the features you use, you'll need either ROLLBAR_PROJECT_TOKEN, ROLLBAR_ACCOUNT_TOKEN, or both. For full functionality, it's recommended to configure both tokens, but the service will work with only the relevant token for specific APIs.

Required Tokens and API Correspondence Table

API Required Token
rollbar_list_items ROLLBAR_PROJECT_TOKEN
rollbar_get_item ROLLBAR_PROJECT_TOKEN
rollbar_list_occurrences ROLLBAR_PROJECT_TOKEN
rollbar_get_occurrence ROLLBAR_PROJECT_TOKEN
rollbar_list_environments ROLLBAR_PROJECT_TOKEN
rollbar_list_deploys ROLLBAR_PROJECT_TOKEN
rollbar_get_deploy ROLLBAR_PROJECT_TOKEN
rollbar_list_projects ROLLBAR_ACCOUNT_TOKEN
rollbar_get_project ROLLBAR_ACCOUNT_TOKEN
rollbar_list_users ROLLBAR_ACCOUNT_TOKEN
rollbar_get_user ROLLBAR_ACCOUNT_TOKEN

You can obtain Rollbar access tokens as follows:

  1. Log in to your Rollbar account (https://rollbar.com/)
  2. For project tokens: Settings -> Project Access Tokens (for project-level access)
  3. For account tokens: Settings -> Account Access Tokens (for account-level access)
  4. Create a new token with "read" scope

How to use

Cursor Integration

Add to your ~/.cursor/mcp.json:

{
    "mcpServers": {
      "rollbar-mcp": {
        "command": "npx",
        "args": ["-y", "@hiyorineko/mcp-rollbar-server"],
        "env": {
          "ROLLBAR_PROJECT_TOKEN": "YOUR_PROJECT_ACCESS_TOKEN",
          "ROLLBAR_ACCOUNT_TOKEN": "YOUR_ACCOUNT_ACCESS_TOKEN",
          "ROLLBAR_PROJECT_ID": "YOUR_PROJECT_ID",
          "ROLLBAR_PROJECT_NAME": "YOUR_PROJECT_NAME"
        }
      }
    }
}

Locally

After cloning this repository, follow these steps to set up the MCP client:

$ cd mcp-rollbar-server
$ npm install
$ npm run build

Add to your ~/.cursor/mcp.json:

{
    "mcpServers": {
      "rollbar-mcp": {
        "command": "YOUR_NODE_PATH",
        "args": ["YOUR_PROJECT_PATH/mcp-rollbar-server/dist/src/index.js"],
        "env": {
          "ROLLBAR_PROJECT_TOKEN": "YOUR_PROJECT_ACCESS_TOKEN",
          "ROLLBAR_ACCOUNT_TOKEN": "YOUR_ACCOUNT_ACCESS_TOKEN",
          "ROLLBAR_PROJECT_ID": "YOUR_PROJECT_ID",
          "ROLLBAR_PROJECT_NAME": "YOUR_PROJECT_NAME"
        }
      }
    }
}

To find the value for "YOUR_NODE_PATH", run which node in your terminal.

Usage Examples

List the most recent errors in my production environment.

View Error Details

Get detailed information for error item with ID 12345, including stack trace and recent occurrences.

Track Deployments

Show me the recent deployments for project 67890.

Filter Errors by Level

List all critical errors that occurred in the last week.

Tools

rollbar_list_items

List items (errors) from Rollbar

  • Input:
    • status (string, optional): Filter by status (active, resolved, muted, etc.)
    • level (string, optional): Filter by level (critical, error, warning, info, debug)
    • environment (string, optional): Filter by environment (production, staging, etc.)
    • limit (number, optional): Maximum number of items to return (default: 20)
    • page (number, optional): Page number for pagination (default: 1)
  • Returns: List of error items with details such as counter, level, total occurrences, etc.

rollbar_get_item

Get a specific item (error) from Rollbar

  • Input:
    • id (number): Item ID
  • Returns: Detailed information about a specific error item

rollbar_list_occurrences

List occurrences of errors from Rollbar

  • Input:
    • itemId (number, optional): Item ID to filter occurrences
    • limit (number, optional): Maximum number of occurrences to return (default: 20)
    • page (number, optional): Page number for pagination (default: 1)
  • Returns: List of error occurrences with detailed information

rollbar_get_occurrence

Get a specific occurrence of an error from Rollbar

  • Input:
    • id (string): Occurrence ID
  • Returns: Detailed information about a specific error occurrence

rollbar_list_projects

List projects from Rollbar

  • Input: None
  • Returns: List of projects with their IDs, names, and statuses

rollbar_get_project

Get a specific project from Rollbar

  • Input:
    • id (number): Project ID
  • Returns: Detailed information about a specific project

rollbar_list_environments

List environments from Rollbar

  • Input:
    • projectId (number): Project ID
  • Returns: List of environments for the specified project

rollbar_list_users

List users from Rollbar

  • Input: None
  • Returns: List of users with their IDs, usernames, emails, and access levels

rollbar_get_user

Get a specific user from Rollbar

  • Input:
    • id (number): User ID
  • Returns: Detailed information about a specific user

rollbar_list_deploys

List deploys from Rollbar

  • Input:
    • projectId (number): Project ID
    • environment (string, optional): Environment name
    • limit (number, optional): Maximum number of deploys to return (default: 20)
    • page (number, optional): Page number for pagination (default: 1)
  • Returns: List of deploys for the specified project and environment

rollbar_get_deploy

Get a specific deploy from Rollbar

  • Input:
    • deployId (number): Deploy ID
  • Returns: Detailed information about a specific deployment

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured