Skip to main content
Glama
clm-cloud-solutions

UptimeBolt MCP Server

UptimeBolt MCP Server

面向 Claude、Claude Code、Cursor 以及任何兼容 MCP 的客户端的 AI 驱动基础设施监控工具。

UptimeBolt 是一个 AI 优先的监控平台,可将监控项分组为逻辑业务服务,在级联故障发生前进行预测,并自动识别导致每次事件的部署——包括相关的提交、文件和代码行。

由位于西班牙马德里的 CLM Cloud Solutions 构建。

为什么选择 UptimeBolt MCP Server?

用自然语言向你的基础设施提问。无需浏览仪表盘,让你的 AI 助手直接查询实时监控数据:

  • "现在部署安全吗?" — 基于健康评分、活跃事件和预测获得数据驱动的答案

  • "上次事件是什么原因导致的?" — 结合部署关联的 AI 根因分析

  • "给我一份过去 24 小时的执行摘要" — 可直接用于你的站会或状态报告

  • "显示已降级的监控项" — 跨基础设施的即时筛选视图

Related MCP server: PilotOps MCP

功能特性

  • 10 个监控工具 — 服务状态、事件、预测、RCA、部署安全等

  • 双传输方式 — stdio(本地)+ HTTP(远程/CI-CD)

  • API 密钥认证 — 对 UptimeBolt 数据的安全按请求访问

  • 随处可用 — Claude Desktop、Claude Code、Cursor、Cline 以及任何 MCP 客户端

  • CI/CD 就绪 — 直接在流水线中进行部署安全检查

快速开始

全局安装(推荐)

npm install -g @uptimebolt/mcp-server

Claude Desktop(stdio)

添加到你的 Claude Desktop 配置(~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "uptimebolt": {
      "command": "uptimebolt-mcp",
      "env": {
        "UPTIMEBOLT_API_KEY": "your-api-key",
        "UPTIMEBOLT_API_URL": "https://api.uptimebolt.io"
      }
    }
  }
}

或者不进行全局安装,使用 npx:

{
  "mcpServers": {
    "uptimebolt": {
      "command": "npx",
      "args": ["-y", "--package=@uptimebolt/mcp-server", "uptimebolt-mcp"],
      "env": {
        "UPTIMEBOLT_API_KEY": "your-api-key",
        "UPTIMEBOLT_API_URL": "https://api.uptimebolt.io"
      }
    }
  }
}

Claude Code / Cursor

添加到你的项目 .mcp.json:

{
  "mcpServers": {
    "uptimebolt": {
      "command": "uptimebolt-mcp",
      "env": {
        "UPTIMEBOLT_API_KEY": "your-api-key",
        "UPTIMEBOLT_API_URL": "https://api.uptimebolt.io"
      }
    }
  }
}

Docker(HTTP)

docker run -p 3100:3100 \
  -e UPTIMEBOLT_API_URL=https://api.uptimebolt.io \
  ghcr.io/clm-cloud-solutions/uptimebolt-mcp-server:latest

然后通过 mcp-remote 连接:

{
  "mcpServers": {
    "uptimebolt": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:3100/mcp", "--header", "x-api-key:your-api-key"]
    }
  }
}

npm(编程方式)

npm install @uptimebolt/mcp-server
import { TOOLS, HANDLERS } from "@uptimebolt/mcp-server";

// TOOLS — MCP tool definitions (10 tools)
// HANDLERS — tool handler functions: (args, context?) => Promise<result>

可用工具

工具

描述

get_service_status

业务服务的健康状态,包含健康评分(0-100)、监控项细分和活跃事件

get_monitors

列出所有监控项,包含运行状态、响应时间和可用性百分比

get_monitor_health

特定监控项的详细健康信息,包括响应时间趋势和活跃预测

get_monitor_metrics

响应时间统计(平均值、p95、p99)、可用性百分比和错误细分

get_incidents

活跃和已解决的事件,可选 AI 根因分析详情

get_predictions

对即将发生问题的 AI 预测,包含置信度和预测影响

get_deployments

最近的部署,自动关联事件(GitHub/GitLab)

run_root_cause_analysis

使用多模型分析(Claude、GPT)的 AI 根因分析,包含部署关联

is_safe_to_deploy

基于健康评分、预测和活跃事件的 CI/CD 部署安全检查

get_executive_summary

用于站会、周报或状态更新的基础设施健康摘要

身份验证

在 app.uptimebolt.io/settings/api-keys 获取你的 API 密钥。

  • stdio 模式:设置 UPTIMEBOLT_API_KEY 环境变量

  • HTTP 模式:在每个请求中传递 x-api-key 请求头(无需启动密钥)

CI/CD 集成

在部署流水线中使用 is_safe_to_deploy 作为门禁:

curl -X POST http://localhost:3100/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "x-api-key: your-api-key" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "is_safe_to_deploy",
      "arguments": { "service_name": "my-service" }
    }
  }'

响应包含风险等级(low、medium、high)、活跃问题和建议(proceed、proceed_with_caution、wait_and_monitor)。

配置

变量

描述

默认值

UPTIMEBOLT_API_KEY

你的 UptimeBolt API 密钥

(stdio 必需)

UPTIMEBOLT_API_URL

UptimeBolt API 基础 URL

http://localhost:3200

MCP_HTTP_PORT

HTTP 服务器端口

3100

NODE_ENV

环境(production 禁用控制台日志)

development

LOG_LEVEL

日志级别(error、warn、info、debug)

debug(开发)/ info(生产)

开发

git clone https://github.com/clm-cloud-solutions/uptimebolt-mcp-server.git
cd uptimebolt-mcp-server
cp .env.example .env          # configure your environment
npm install
npm run dev          # stdio mode
npm run dev:http     # HTTP mode
npm run build        # compile TypeScript
npm run typecheck    # type check without emitting

关于 UptimeBolt

UptimeBolt 是一个面向 DevOps 团队和 SRE 的 AI 优先 SaaS 监控平台。核心能力:

  • 级联故障预测 — 依赖关系图,支持假设分析、停机成本估算和主动缓解措施

  • 部署关联 + RCA 2.0 — 自动将 GitHub/GitLab 部署与事件关联,识别责任提交和文件

  • AI 副驾驶 — 具有实时基础设施上下文的对话式助手

  • 8 种监控类型 — HTTP、TCP、DNS、数据库、电子邮件、合成、推送、Ping

关于 CLM Cloud Solutions

CLM Cloud Solutions S.L. 是一家位于西班牙马德里的科技公司,为工程团队构建 SaaS 产品,使其能够自信、快速、安全地运营。

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that enables Claude to manage infrastructure across Kubernetes, Docker, Prometheus, and Terraform through natural language. It provides over 42 specialized tools with a safety-first design, including risk-based command classification and audit logging.
    43
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-driven incident response by connecting Claude to monitoring tools like Prometheus, Grafana, Loki, PagerDuty, and Slack for automated investigation and runbook generation.
    9
    -
  • A
    license
    A
    quality
    D
    maintenance
    MCP server exposing portfolio AI tools including semantic search, evaluation framework, and prompt management, enabling natural language interaction with these services via Claude Desktop.
    5
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    AI infrastructure agent that gives Claude eyes into servers via a hub-and-spoke system with MCP endpoint, lightweight agents, and 19 integration packs for enterprise systems.
    1 npm
    1
    Apache 2.0