Appsignal MCP

by c20020207
Integrations
  • Provides tools for fetching and analyzing incident data from AppSignal, including retrieving incident details, getting incident samples, listing recent incidents, and analyzing incidents to suggest potential fixes.

Appsignal MCP(模型上下文协议)

Appsignal 的模型上下文协议 (MCP) 服务器允许 AI 助手获取和分析事件数据。

概述

该 MCP 服务器为 AI 助手提供以下工具:

  1. 从 Appsignal 获取事件详细信息
  2. 获取事件样本
  3. 列出最近发生的事件
  4. 分析事件并提出潜在的修复建议

先决条件

  • Node.js 14.x 或更高版本
  • 具有 API 访问权限的 Appsignal 帐户
  • Appsignal 个人 API 令牌

安装

选项 1:从 npm 安装(推荐)

您可以全局安装该包:

npm install -g appsignal-mcp

或者直接用 npx 运行:

npx appsignal-mcp

选项 2:从源安装

  1. 克隆此存储库:
    git clone https://github.com/c20020207/appsignal-mcp.git cd appsignal-mcp
  2. 安装依赖项:
    npm install
  3. 使用您的 Appsignal API 令牌创建一个.env文件:
    APPSIGNAL_API_TOKEN=your_personal_api_token APPSIGNAL_APP_ID=your_default_app_id # Optional
    您可以在 Appsignal 的个人设置屏幕中找到您的 API 令牌。

用法

运行 MCP 服务器

启动服务器:

npm start

对于使用调试日志进行开发:

npm run dev

与人工智能助手集成

VS Code 带光标

将以下内容添加到您的 VS Code settings.json 文件:

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

如果您从源代码安装,请使用此配置:

{ "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 配置中:

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

如果您从源代码安装,请使用此配置:

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

可用工具

获取事件

获取有关特定事件的详细信息。

参数:

  • appId (字符串,必需):Appsignal 应用程序 ID
  • incidentNumber (数字,必需):要获取的事件编号
  • sampleId (字符串,可选):要获取的特定样本 ID

获取事件样本

获取与事件相关的样本。

参数:

  • appId (字符串,必需):Appsignal 应用程序 ID
  • incidentNumber (数字,必填):事件编号
  • limit (数字,可选):返回的最大样本数(默认值:10)

列出事件

列出应用程序中最近发生的事件。

参数:

  • appId (字符串,必需):Appsignal 应用程序 ID
  • limit (数字,可选):返回的最大事件数(默认值:25)
  • offset (数字,可选):分页偏移量(默认值:0)
  • state (字符串,可选):按事件状态过滤(“打开”,“关闭”,“忽略”)
  • namespaces (数组,可选):按命名空间过滤
  • order (字符串,可选):排序顺序('last_occurrence','first_occurrence','count')

分析事件

分析事件并提供见解。

参数:

  • appId (字符串,必需):Appsignal 应用程序 ID
  • incidentNumber (数字,必需):要分析的事件编号

示例提示

以下是一些可以与 AI 助手一起使用的示例提示:

  • “从 Appsignal 应用程序‘abc123’中获取事件 #123”
  • “列出我的 Appsignal 应用中最近发生的未结事件”
  • “分析事件#456并提出潜在的修复建议”
  • “获取事件 #789 的样本以帮助调试问题”

执照

麻省理工学院

-
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
            36
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            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 -
            1
            Python
            • 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
            3
            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