Skip to main content
Glama
12happy MCP Server

12happy MCP Server

Official
by 12happyhq

12happy MCP server

12happyhq/12happy-mcp 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.

Related MCP server: Vigilo

Install

Claude Code

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:

{
  "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:

{
  "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

Tool

What it does

get_overview

Monitors up, down, slow and paused; open incidents; uptime over N days

list_monitors

All monitors, filterable by status or text

get_monitor

One monitor's settings and latest results per region

get_uptime_report

Uptime % and p50/p95/p99 response time for any period or region

list_incidents

Outages and slowdowns, with cause and confirming regions

list_alert_channels

Email, Slack, webhook, SMS and other channels, and their health

list_regions

Where checks can run from

create_monitor

Watch 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_monitor

Change target, interval, regions, keyword, timeout or slow threshold

pause_monitor

Pause or resume, keeping history

check_now

Run a check immediately

delete_monitor

Delete a monitor and its history (assistants are told to confirm first)

acknowledge_incident

Take ownership and stop escalation

start_maintenance

Silence alerts or pause checks for a deploy

set_monitor_alerts

Choose 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_KEY

Required. A key from the console's API keys page.

TWELVEHAPPY_ORG

Optional. Agencies and resellers: the client organization to act on by default. Every tool also takes an organization argument.

TWELVEHAPPY_API_URL

Optional. 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

npm install
npm run build
npm run inspect          # opens the MCP Inspector
node --env-file=.env test/smoke.mjs <test-organization-id>

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

License

MIT

Available Tools

15 tools
acknowledge_incidentAcknowledge an incidentA
Idempotent

Take ownership of an open incident, which stops its escalation to the next alert channels. The incident closes by itself when the monitor recovers.

Inputs: incident_id (required).

check_nowCheck a monitor nowA
Idempotent

Run a monitor's next check immediately instead of waiting for its interval, for example after fixing a server. Read the result with get_monitor a few seconds later.

Inputs: monitor_id (required).

create_monitorCreate a monitorA

Start watching a website, API, server or certificate. Only the target is required; sensible defaults cover the rest, and the first check runs immediately. Use check_type keyword with keyword to require text on the page, ssl_cert or dns with a bare hostname, ping with a hostname or IP, and tcp with host:port. For a cron job, backup or script, use check_type heartbeat: no target is needed, interval_seconds is how often the job runs, and the answer has the URL the job must call each time it finishes. A beat that is later than the interval plus grace_period_seconds opens an incident.

Inputs: name, target, keyword, regions, +7 more.

delete_monitorDelete a monitorA
DestructiveIdempotent

Permanently delete a monitor with its history and incidents. This cannot be undone; prefer pause_monitor unless the user clearly wants it gone.

Inputs: monitor_id (required).

get_monitorGet a monitorA
Read-only

One monitor's full settings and its most recent check results from each region, including status codes, errors and response times. Use it to explain why a monitor is down.

Inputs: monitor_id (required), results, failures_only.

get_overviewAccount overviewA
Read-only

How the account is doing right now: monitors up, down, degraded and paused, open and unacknowledged incidents, and uptime over the last N days. Start here when asked "is anything down?".

Inputs: days, organization.

get_uptime_reportUptime and response time reportA
Read-only

A monitor's uptime percentage and response times (p50, p95, p99) over a period, in hourly or daily buckets, overall or for one region. Use it for SLA questions and "was it slow yesterday?".

Inputs: monitor_id (required), to, days, from, +2 more.

list_alert_channelsList alert channelsA
Read-only

Where alerts can go (email, Slack, webhook, SMS and so on), whether each one is verified and delivering, and how many monitors use it. Needed for set_monitor_alerts.

Inputs: organization.

list_incidentsList incidentsC
Read-only

Outages and slowdowns, newest first: which monitor, why, which regions confirmed it, when it opened and closed, and whether someone acknowledged it.

Inputs: limit, open_only, monitor_id, organization.

list_monitorsList monitorsB
Read-only

Every monitor on the account with its current status (up, down, degraded, unknown or paused), check type, target and interval.

Inputs: search, status, organization.

list_regionsList check regionsA
Read-only

The regions monitors can be checked from, with their codes, for create_monitor and get_uptime_report.

Inputs: no named parameters.

pause_monitorPause or resume a monitorA
Idempotent

Pause a monitor (keeps its history, stops checks and alerts) or resume it.

Inputs: paused (required), monitor_id (required).

set_monitor_alertsSet who a monitor alertsA
Idempotent

Replace the alert channels a monitor notifies, optionally as an escalation chain (alert Slack at once, SMS after 10 minutes). An empty list alerts nobody.

Inputs: routes (required), monitor_id (required).

start_maintenanceStart a maintenance windowA

Silence alerts (or pause checks) for a deploy or planned work, starting now unless a start time is given. Covers every monitor unless monitor_ids is given.

Inputs: duration_minutes (required), title, suppress, starts_at, +2 more.

update_monitorUpdate a monitorA
Idempotent

Change a monitor's name, target, interval, regions, keyword, expected status codes or slow threshold. Only the fields given change.

Inputs: monitor_id (required), name, target, keyword, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: monitor CRUD, incident listing/acknowledgment, reporting, alerts, regions, and maintenance are clearly separated. The closest potential overlaps, such as pause_monitor vs. start_maintenance or get_monitor vs. get_uptime_report, are distinguished by scope and timing in their descriptions.

    Naming Consistency4/5

    Nearly all tools use a consistent snake_case verb-first pattern with clear objects, such as list_monitors, create_monitor, and acknowledge_incident. check_now is a minor deviation from the verb_noun pattern, but the overall convention remains predictable.

    Tool Count5/5

    Fifteen tools is at the upper end of the typical well-scoped range, but each maps to a meaningful uptime-monitoring operation. The set covers monitors, incidents, reporting, alerts, regions, and maintenance without obvious filler.

    Completeness4/5

    Core monitor lifecycle and incident workflows are well covered: create, list, get, update, pause/resume, delete, check now, list incidents, and acknowledge incidents. Gaps remain around alert-channel configuration and a fuller maintenance lifecycle, such as explicit end/list operations, which agents may need workarounds for.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients such as Claude to check current uptime status, inspect monitors and incidents, trigger fresh checks, and retrieve status summaries from a self-hosted monitoring service.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables agents to inspect app status, uptime, response times, incidents, and certificate/domain expiry; set up and manage monitors and status pages; and draft incident updates through authenticated MCP tools.
      11
      33
      Functional Source , Version 1.1, MIT Future