Sponsored by Deepsite.site

AppSignal MCP Server

Created By
davidteren10 months ago
Content

AppSignal MCP Server

A Model Context Protocol (MCP) server that provides integration with AppSignal monitoring and APM tools. This server allows AI assistants to fetch metrics, analyze performance, investigate errors, and generate reports from your AppSignal-monitored applications.

Features

Tools

  • list_applications - List all configured AppSignal applications
  • get_metrics - Fetch performance metrics with customizable timeframes and fields
  • get_samples - Retrieve error and performance samples with filtering
  • get_sample_details - Get detailed information about specific samples

Resources

  • Application listings and information
  • Available metrics documentation
  • Per-application resource endpoints

Prompts

  • analyze_performance - Guided performance analysis workflow
  • investigate_errors - Structured error investigation
  • performance_report - Comprehensive performance reporting

Installation

  1. Clone this repository:
git clone <repository-url>
cd appsignal-mcp-server-2
  1. Install dependencies:
npm install
  1. Create a .env file based on .env.example:
cp .env.example .env
  1. Configure your AppSignal credentials in .env:
APPSIGNAL_API_TOKEN=your_personal_api_token
APPSIGNAL_APP_IDS=app_id_1,app_id_2
APPSIGNAL_APP_NAMES=Production,Staging

Getting Your AppSignal API Token

  1. Log in to your AppSignal account
  2. Go to Personal Settings
  3. Find your personal API token
  4. Copy it to your .env file

Finding Application IDs

  1. Open your application in AppSignal
  2. Look at the URL: https://appsignal.com/your-org/sites/YOUR_APP_ID
  3. Copy the application ID from the URL

Usage

With Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "appsignal": {
      "command": "node",
      "args": ["/path/to/appsignal-mcp-server-2/dist/index.js"],
      "env": {
        "APPSIGNAL_API_TOKEN": "your_token",
        "APPSIGNAL_APP_IDS": "app_id_1,app_id_2",
        "APPSIGNAL_APP_NAMES": "Production,Staging"
      }
    }
  }
}

With Other MCP Clients

Build and run the server:

npm run build
npm start

Development

Run in development mode with auto-reload:

npm run dev

Example Queries

Once connected to an MCP client, you can ask questions like:

  • "What's the average response time for my production app over the last 24 hours?"
  • "Show me the most recent errors in the staging environment"
  • "Which endpoints are the slowest in my application?"
  • "Generate a performance report for the last week"
  • "Investigate NoMethodError exceptions from today"

Tool Examples

List Applications

list_applications()

Get Metrics

get_metrics({
  "appId": "your_app_id",
  "timeframe": "day",
  "fields": ["mean", "count"],
  "actionName": "BlogPostsController#show"
})

Get Error Samples

get_samples({
  "appId": "your_app_id",
  "type": "errors",
  "exception": "NoMethodError",
  "limit": 20
})

Get Sample Details

get_sample_details({
  "appId": "your_app_id",
  "sampleId": "sample_id_here"
})

Troubleshooting

Common Issues

  1. Authentication Error: Ensure your API token is correct and has the necessary permissions
  2. Application Not Found: Verify the application ID is correct
  3. No Data Returned: Check that your application has data for the requested timeframe

Debug Mode

Set the DEBUG environment variable for more verbose logging:

DEBUG=* npm start

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
CursorThe AI Code Editor
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。