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 (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:
- Fetch incident details from Appsignal
- Get incident samples
- List recent incidents
- 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
Option 1: Install from npm (Recommended)
You can install the package globally:
Or run it directly with npx:
Option 2: Install from Source
- Clone this repository:
- Install dependencies:
- Create a
.env
file with your Appsignal API token:You can find your API token in your personal settings screen in Appsignal.
Usage
Running the MCP Server
Start the server:
For development with debug logging:
Integrating with AI Assistants
VS Code with Cursor
Add the following to your VS Code settings.json file:
If you installed from source, use this configuration instead:
Claude Desktop
Add the following to your Claude Desktop configuration:
If you installed from source, use this configuration instead:
Available Tools
getIncident
Get details about a specific incident.
Parameters:
appId
(string, required): Appsignal application IDincidentNumber
(number, required): Incident number to fetchsampleId
(string, optional): Specific sample ID to fetch
getIncidentSamples
Get samples related to an incident.
Parameters:
appId
(string, required): Appsignal application IDincidentNumber
(number, required): Incident numberlimit
(number, optional): Maximum number of samples to return (default: 10)
listIncidents
List recent incidents from an application.
Parameters:
appId
(string, required): Appsignal application IDlimit
(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 namespacesorder
(string, optional): Sort order ('last_occurrence', 'first_occurrence', 'count')
analyzeIncident
Analyze an incident and provide insights.
Parameters:
appId
(string, required): Appsignal application IDincidentNumber
(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
This server cannot be installed
A Model Context Protocol server that allows AI assistants to fetch and analyze incident data from Appsignal, including retrieving incident details, samples, listing recent incidents, and analyzing incidents to suggest fixes.
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