Back to MCP directory
publicPublicdnsLocal runtime

incident-io-mcp-server

一个用于Incident.io集成的模型上下文协议(MCP)服务器,提供事件管理和严重性查询功能。

article

README

🚀 Incident.io MCP 服务器

一个用于集成 Incident.io 的 Model Context Protocol (MCP) 服务器,可助力实现与 Incident.io 的高效集成。

🚀 快速开始

📦 安装指南

可通过以下两种方式进行安装:

# 直接从 GitHub 安装
npm install -g github:stuartphilp/incident-io-mcp-server

# 或者克隆并本地安装
git clone https://github.com/stuartphilp/incident-io-mcp-server.git
cd incident-io-mcp-server
npm install
npm run build

💻 使用示例

基础用法

运行服务器:

# 如果全局安装
incident-io-mcp-server

# 或者在本地运行
node ./dist/index.js

所需环境变量:

  • API_KEY: 您的 Incident.io API 密钥

可选环境变量:

  • PORT: 服务器端口(默认:3000)

配置示例

全局安装示例 MCP 配置:

{
  "mcpServers": {
    "incident-io": {
      "command": "incident-io-mcp-server",
      "env": {
        "API_KEY": "your-api-key-here",
        "PORT": "3000"
      }
    }
  }
}

本地安装示例 MCP 配置:

{
  "mcpServers": {
    "incident-io": {
      "command": "node",
      "args": ["./node_modules/incident-io-mcp-server/dist/index.js"],
      "env": {
        "API_KEY": "your-api-key-here",
        "PORT": "3000"
      }
    }
  }
}

📚 详细文档

接口说明

  • GET /health: 健康检查端点
  • GET /mcp/incidents: 获取最新事件
  • GET /mcp/severities: 获取可用严重性
  • POST /mcp/incidents: 创建新的事件
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client