Logo Rollbar

Rollbar

Cộng đồng
hiyorineko

MCP server implementation for Rollbar API integration

Nhà phát hànhhiyorineko
Kho mãmcp-rollbar-server
Ngôn ngữTypeScript
Bản fork
3
Sao
6
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Rollbar cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    6 sao và 3 bản fork từ kho mã được liên kết.

Rollbar MCP Server

License: MIT

A dynamic 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

APIRequired Token
rollbar_list_itemsROLLBAR_PROJECT_TOKEN
rollbar_get_itemROLLBAR_PROJECT_TOKEN
rollbar_get_item_by_counterROLLBAR_PROJECT_TOKEN
rollbar_list_occurrencesROLLBAR_PROJECT_TOKEN
rollbar_get_occurrenceROLLBAR_PROJECT_TOKEN
rollbar_list_environmentsROLLBAR_PROJECT_TOKEN
rollbar_list_deploysROLLBAR_PROJECT_TOKEN
rollbar_get_deployROLLBAR_PROJECT_TOKEN
rollbar_list_projectsROLLBAR_ACCOUNT_TOKEN
rollbar_get_projectROLLBAR_ACCOUNT_TOKEN
rollbar_list_usersROLLBAR_ACCOUNT_TOKEN
rollbar_get_userROLLBAR_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:

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:

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

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

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 using the internal item ID maintained by Rollbar's system.

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

rollbar_get_item_by_counter

Get a specific item by project counter from Rollbar. The counter is the visible ID that appears in the Rollbar UI.

  • Input:
    • counter (number): Project counter for the item
  • Returns: Detailed information about a specific error item identified by its project counter

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

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "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"
      }
    }
  }
}

Dùng MCP Rollbar với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Rollbar, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Rollbar làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Rollbar.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "rollbar": {
      "command": "npx",
      "args": [
        "-y",
        "@hiyorineko/mcp-rollbar-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Rollbar, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Rollbar.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Rollbar giúp tôi làm việc này không?
Rollbar
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Rollbar.

Câu hỏi thường gặp

Máy chủ MCP Rollbar dùng để làm gì?

Rollbar là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Rollbar với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Rollbar với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Rollbar với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Rollbar, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Rollbar với TypingMind?

Rollbar hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Rollbar cung cấp những công cụ nào trong TypingMind?

Rollbar cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Rollbar không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Rollbar yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇