mcp-incident-analyzer
mcp-incident-analyzer
基于 Python 的 MCP(Model Context Protocol) 服务器,支持从事件检测 → 分析 → 响应指南的完整周期。
功能
Tool | 描述 |
| 检测当前活跃事件(按严重程度/类型过滤) |
| 分析特定事件的根本原因(RCA)、时间线、影响范围 |
| 事件响应建议(自动/手动措施、升级) |
| 查看全部事件列表 |
| 查看系统指标(CPU、内存、网络等) |
Related MCP server: mcp-incident-responder
事件类型
基础设施:服务器宕机、CPU 峰值、磁盘已满
安全:异常登录、恶意流量、入侵检测
应用程序:错误率激增、响应延迟、部署失败
安装与运行
# 설치
pip install -e .
# MCP 서버 실행
python -m mcp_incident_analyzer
# 또는 mcp CLI로 실행
mcp run mcp_incident_analyzer/server.pyMCP 客户端配置
添加到 claude_desktop_config.json 或 MCP 客户端配置中:
{
"mcpServers": {
"incident-analyzer": {
"command": "python",
"args": ["-m", "mcp_incident_analyzer"]
}
}
}开发
pip install -e ".[dev]"
pytest架构
mcp_incident_analyzer/
├── __init__.py
├── __main__.py # 엔트리포인트
├── server.py # MCP 서버 정의 & tool 등록
├── models.py # Pydantic 데이터 모델
├── mock_data.py # Mock 인시던트/메트릭 데이터
├── detector.py # 인시던트 탐지 로직
├── analyzer.py # 근본 원인 분석 로직
└── responder.py # 대응 권고 생성 로직许可证
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
AI-powered incident management and server monitoring via MCP.
MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA multi-agent MCP server that turns LLMs into an autonomous incident-response copilot, enabling rapid investigation, correlation, and remediation of production incidents.MIT
- FlicenseNot gradedqualityCmaintenanceAn AI-native incident response server that exposes diagnostic tools (system status, error logs, ticket creation) via MCP, enabling LLM agents to autonomously assess and respond to incidents.-
- AlicenseAqualityDmaintenanceA production-ready MCP server that turns any MCP-compatible AI assistant into an AI-powered ServiceNow Incident Management Assistant, exposing incidents, users, CMDB records, and knowledge articles through validated tools.12MIT
- FlicenseAqualityDmaintenanceAI-powered incident management MCP server that enables investigation, root cause analysis, and response actions for production incidents using mocked data for demo purposes.8-