12happy uptime monitoring

io.github.12happyhq由 GitHub 帳號 12happyhq 發布v0.1.2更新於 Nov 22, 2026

Create uptime monitors, read incidents, uptime and response times, and silence alerts for deploys.

概覽

AI 產生的概覽

將助理接入 12happy 正常運作時間監控,可建立監控項目、查看故障與可用率報告,並在部署期間靜音告警。

可以做什麼
  • 讀取狀態與監控項目:查看正常、故障、緩慢與暫停的監控項目概覽,列出並檢視單一監控項目,列出檢查區域與告警頻道
  • 查詢可用率與效能:依期間或區域取得可用率百分比及 p50/p95/p99 回應時間
  • 檢視故障:列出中斷與變慢事件及其原因與確認區域,並可認領故障以停止升級通知
  • 建立與修改監控項目:監控網址、關鍵字、主機名稱(ping、DNS、SSL 憑證)或 TCP 連接埠,或以心跳監控排程工作;可修改設定、暫停或恢復、立即檢查、刪除監控項目
  • 管理告警:為每個監控項目選擇告警頻道並設定升級延遲,啟動維護以靜音告警或暫停檢查
適用情境
適合想透過對話了解目前是否有服務中斷、查詢歷史可用率與回應時間,或直接建立與調整監控項目和告警路由的情境。部署期間暫時靜音告警也很方便。
執行需求
透過 npx 在本機執行,需要 Node.js 20 或更新版本。需要 12happy 帳號,並在 TWELVEHAPPY_API_KEY 中提供於主控台建立、依需求選擇權限範圍的 API 金鑰。代理商可選設 TWELVEHAPPY_ORG,也可用 TWELVEHAPPY_API_URL 覆寫 API 位址。需要能連線至 12happy API 的網路。
安裝前請注意
API 金鑰屬於憑證:應放在環境變數中,若助理不應做任何變更請只授予唯讀權限,外洩後立即撤銷。寫入類工具可建立、修改、暫停與刪除監控項目並變更告警路由;delete_monitor 會刪除監控項目及其歷史紀錄。維護與認領操作會改變告警接收對象。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 12happy uptime monitoring,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

12happy MCP server

Uptime monitoring you can talk to. This Model Context Protocol server connects 12happy to Claude, Cursor, VS Code and any other MCP client, so you can ask:

  • "Is anything down right now?"
  • "Watch https://api.example.com/health every minute and alert the #ops Slack channel."
  • "Why did the checkout monitor fail last night, and from which regions?"
  • "What was our uptime and p95 response time for the API last month?"
  • "Silence alerts for 20 minutes while I deploy."
  • "Tell me if the nightly backup stops running."

12happy checks from the US, Europe and Israel, and opens an incident only when a quorum of regions agrees that something is down, so one flaky probe doesn't page you.

What you need

  • A 12happy account. Every plan includes API access: one key on Free, as many as you need on Pro and Agency. Start free.
  • An API key: in the console, open API keys and choose Create key. Pick the scopes the assistant should have. A key with only the read scopes can't change anything.
  • Node.js 20 or later.

Install

Claude Code

bash
claude mcp add 12happy -e TWELVEHAPPY_API_KEY=mon_live_... -- npx -y 12happy-mcp

Claude Desktop

Add this to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude:

json
{  "mcpServers": {    "12happy": {      "command": "npx",      "args": ["-y", "12happy-mcp"],      "env": { "TWELVEHAPPY_API_KEY": "mon_live_..." }    }  }}

Cursor

Add the same block to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project.

VS Code

Add this to .vscode/mcp.json. VS Code asks for the key once and stores it securely:

json
{  "inputs": [    { "type": "promptString", "id": "twelvehappy-key", "description": "12happy API key", "password": true }  ],  "servers": {    "12happy": {      "command": "npx",      "args": ["-y", "12happy-mcp"],      "env": { "TWELVEHAPPY_API_KEY": "${input:twelvehappy-key}" }    }  }}

Tools

ToolWhat it does
get_overviewMonitors up, down, slow and paused; open incidents; uptime over N days
list_monitorsAll monitors, filterable by status or text
get_monitorOne monitor's settings and latest results per region
get_uptime_reportUptime % and p50/p95/p99 response time for any period or region
list_incidentsOutages and slowdowns, with cause and confirming regions
list_alert_channelsEmail, Slack, webhook, SMS and other channels, and their health
list_regionsWhere checks can run from
create_monitorWatch a URL, keyword, hostname (ping, DNS, SSL certificate) or TCP port, or a cron job by heartbeat: it returns the URL the job calls when it finishes
update_monitorChange target, interval, regions, keyword, timeout or slow threshold
pause_monitorPause or resume, keeping history
check_nowRun a check immediately
delete_monitorDelete a monitor and its history (assistants are told to confirm first)
acknowledge_incidentTake ownership and stop escalation
start_maintenanceSilence alerts or pause checks for a deploy
set_monitor_alertsChoose which channels a monitor alerts, with escalation delays

Read-only tools are marked as such, and delete_monitor is marked destructive, so clients that ask before risky actions will ask.

Settings

Variable
TWELVEHAPPY_API_KEYRequired. A key from the console's API keys page.
TWELVEHAPPY_ORGOptional. Agencies and resellers: the client organization to act on by default. Every tool also takes an organization argument.
TWELVEHAPPY_API_URLOptional. Defaults to https://be.12hpy.com/v1.

Security

  • The key is sent only to the 12happy API, as a bearer token, and is never logged.
  • Scopes are enforced by the API: a key without monitors:write gets a clear "missing scope" error rather than a change.
  • Revoke a key at any time from the API keys page; it stops working immediately.

Develop

bash
npm installnpm run buildnpm run inspect          # opens the MCP Inspectornode --env-file=.env test/smoke.mjs <test-organization-id>

The API reference is at be.12hpy.com/docs/api.

License

MIT

來源:README.md,提交 95810ce

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.2最新Nov 22, 2026
  2. v0.1.1Nov 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分