Skip to main content
Glama

Appsignal MCP

by c20020207

Appsignal MCP (Model Context Protocol)

A Model Context Protocol (MCP) server for Appsignal that allows AI assistants to fetch and analyze incident data.

Overview

This MCP server provides tools for AI assistants to:

  1. Fetch incident details from Appsignal
  2. Get incident samples
  3. List recent incidents
  4. Analyze incidents and suggest potential fixes

Prerequisites

  • Node.js 14.x or higher
  • An Appsignal account with API access
  • An Appsignal Personal API Token

Installation

You can install the package globally:

npm install -g appsignal-mcp

Or run it directly with npx:

npx appsignal-mcp

Option 2: Install from Source

  1. Clone this repository:
    git clone https://github.com/c20020207/appsignal-mcp.git cd appsignal-mcp
  2. Install dependencies:
    npm install
  3. Create a .env file with your Appsignal API token:
    APPSIGNAL_API_TOKEN=your_personal_api_token APPSIGNAL_APP_ID=your_default_app_id # Optional
    You can find your API token in your personal settings screen in Appsignal.

Usage

Running the MCP Server

Start the server:

npm start

For development with debug logging:

npm run dev

Integrating with AI Assistants

VS Code with Cursor

Add the following to your VS Code settings.json file:

{ "mcp": { "servers": { "appsignal": { "command": "npx", "args": [ "appsignal-mcp" ], "env": { "APPSIGNAL_API_TOKEN": "your_personal_api_token", "APPSIGNAL_APP_ID": "your_default_app_id" // Optional } } } } }

If you installed from source, use this configuration instead:

{ "mcp": { "servers": { "appsignal": { "command": "node", "args": [ "/path/to/appsignal-mcp/src/index.js" ], "env": { "APPSIGNAL_API_TOKEN": "your_personal_api_token", "APPSIGNAL_APP_ID": "your_default_app_id" // Optional } } } } }
Claude Desktop

Add the following to your Claude Desktop configuration:

{ "mcpServers": { "appsignal": { "command": "npx", "args": [ "appsignal-mcp" ], "env": { "APPSIGNAL_API_TOKEN": "your_personal_api_token", "APPSIGNAL_APP_ID": "your_default_app_id" // Optional } } } }

If you installed from source, use this configuration instead:

{ "mcpServers": { "appsignal": { "command": "node", "args": [ "/path/to/appsignal-mcp/src/index.js" ], "env": { "APPSIGNAL_API_TOKEN": "your_personal_api_token", "APPSIGNAL_APP_ID": "your_default_app_id" // Optional } } } }

Available Tools

getIncident

Get details about a specific incident.

Parameters:

  • appId (string, required): Appsignal application ID
  • incidentNumber (number, required): Incident number to fetch
  • sampleId (string, optional): Specific sample ID to fetch

getIncidentSamples

Get samples related to an incident.

Parameters:

  • appId (string, required): Appsignal application ID
  • incidentNumber (number, required): Incident number
  • limit (number, optional): Maximum number of samples to return (default: 10)

listIncidents

List recent incidents from an application.

Parameters:

  • appId (string, required): Appsignal application ID
  • limit (number, optional): Maximum number of incidents to return (default: 25)
  • offset (number, optional): Offset for pagination (default: 0)
  • state (string, optional): Filter by incident state ('open', 'closed', 'ignored')
  • namespaces (array, optional): Filter by namespaces
  • order (string, optional): Sort order ('last_occurrence', 'first_occurrence', 'count')

analyzeIncident

Analyze an incident and provide insights.

Parameters:

  • appId (string, required): Appsignal application ID
  • incidentNumber (number, required): Incident number to analyze

Example Prompts

Here are some example prompts you can use with AI assistants:

  • "Fetch incident #123 from Appsignal app 'abc123'"
  • "List the most recent open incidents from my Appsignal app"
  • "Analyze incident #456 and suggest potential fixes"
  • "Get samples for incident #789 to help debug the issue"

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器允许 AI 助手从 Appsignal 获取和分析事件数据,包括检索事件详细信息、样本、列出最近发生的事件以及分析事件以提出修复建议。

  1. 概述
    1. 先决条件
      1. 安装
        1. 选项 1:从 npm 安装(推荐)
        2. 选项 2:从源安装
      2. 用法
        1. 运行 MCP 服务器
        2. 与人工智能助手集成
      3. 可用工具
        1. 获取事件
        2. 获取事件样本
        3. 列出事件
        4. 分析事件
      4. 示例提示
        1. 执照

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that integrates with Linear, enabling AI assistants to create, update, search, and comment on issues for project management and issue tracking.
            Last updated -
            5
            6
            Python
            Apache 2.0
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.
            Last updated -
            84
            50
            Python
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server providing AI assistants with access to healthcare data tools, including FDA drug information, PubMed research, health topics, clinical trials, and medical terminology lookup.
            Last updated -
            7
            17
            26
            JavaScript
            MIT License
            • Linux
            • Apple
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that lets AI assistants interact with the Sentry API to retrieve and analyze error data, manage projects, and monitor application performance.
            Last updated -
            11
            7
            TypeScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/c20020207/appsignal-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server