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 助手提供以下工具:
- 从 Appsignal 获取事件详细信息
- 获取事件样本
- 列出最近发生的事件
- 分析事件并提出潜在的修复建议
先决条件
- Node.js 14.x 或更高版本
- 具有 API 访问权限的 Appsignal 帐户
- Appsignal 个人 API 令牌
安装
选项 1:从 npm 安装(推荐)
您可以全局安装该包:
或者直接用 npx 运行:
选项 2:从源安装
- 克隆此存储库:
- 安装依赖项:
- 使用您的 Appsignal API 令牌创建一个
.env
文件:您可以在 Appsignal 的个人设置屏幕中找到您的 API 令牌。
用法
运行 MCP 服务器
启动服务器:
对于使用调试日志进行开发:
与人工智能助手集成
VS Code 带光标
将以下内容添加到您的 VS Code settings.json 文件:
如果您从源代码安装,请使用此配置:
克劳德桌面
将以下内容添加到您的 Claude Desktop 配置中:
如果您从源代码安装,请使用此配置:
可用工具
获取事件
获取有关特定事件的详细信息。
参数:
appId
(字符串,必需):Appsignal 应用程序 IDincidentNumber
(数字,必需):要获取的事件编号sampleId
(字符串,可选):要获取的特定样本 ID
获取事件样本
获取与事件相关的样本。
参数:
appId
(字符串,必需):Appsignal 应用程序 IDincidentNumber
(数字,必填):事件编号limit
(数字,可选):返回的最大样本数(默认值:10)
列出事件
列出应用程序中最近发生的事件。
参数:
appId
(字符串,必需):Appsignal 应用程序 IDlimit
(数字,可选):返回的最大事件数(默认值:25)offset
(数字,可选):分页偏移量(默认值:0)state
(字符串,可选):按事件状态过滤(“打开”,“关闭”,“忽略”)namespaces
(数组,可选):按命名空间过滤order
(字符串,可选):排序顺序('last_occurrence','first_occurrence','count')
分析事件
分析事件并提供见解。
参数:
appId
(字符串,必需):Appsignal 应用程序 IDincidentNumber
(数字,必需):要分析的事件编号
示例提示
以下是一些可以与 AI 助手一起使用的示例提示:
- “从 Appsignal 应用程序‘abc123’中获取事件 #123”
- “列出我的 Appsignal 应用中最近发生的未结事件”
- “分析事件#456并提出潜在的修复建议”
- “获取事件 #789 的样本以帮助调试问题”
执照
麻省理工学院
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -56PythonApache 2.0
Appwrite MCP Serverofficial
AsecurityAlicenseAqualityA 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 -8436PythonMIT License- -securityFlicense-qualityA 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 -1Python
Sentry MCP Serverofficial
AsecurityFlicenseAqualityA 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 -113TypeScript