12happy uptime monitoring

v0.1.2
io.github.12happyhq/12happy-mcp Checked 2 days ago Published 11 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_overview Account overview

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?".

ParameterTypeDescription
daysintegerUptime window in days (default 30).
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.

list_monitors List monitors

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

ParameterTypeDescription
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.
searchstringOnly monitors whose name or target contains this text.
statusstringOnly monitors in this state.

get_monitor Get a monitor

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.

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.
failures_onlybooleanOnly failed checks.
resultsintegerHow many recent results to include (default 10).

get_uptime_report Uptime and response time report

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?".

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.
daysintegerLook back this many days (default 7). Ignored when from is given.
fromstringStart, ISO 8601 (e.g. 2026-11-01T00:00:00Z).
include_bucketsbooleanInclude the per-hour or per-day series, not just the totals (default false).
regionstringOne region code from list_regions, e.g. ams, nyc or tlv. Leave out for all regions.
tostringEnd, ISO 8601. Defaults to now.

list_incidents List incidents

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

ParameterTypeDescription
limitintegerAt most this many (default 20).
monitor_idstringOnly incidents for this monitor.
open_onlybooleanOnly incidents that are still open.
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.

list_alert_channels List alert channels

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.

ParameterTypeDescription
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.

list_regions List check regions

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

create_monitor Create a monitor

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.

ParameterTypeDescription
alert_channel_idsarrayAlert these channels (ids from list_alert_channels) when it goes down. Without this, nobody is alerted.
check_typestringDefaults to http for URLs.
expected_status_codesarrayHTTP codes that count as up (default [200]).
grace_period_secondsintegerFor heartbeat: how late a beat may be before it counts as missed. The API default applies when left out.
interval_secondsintegerHow often to check. The plan sets the minimum (Free 300, Pro 30, Agency 15). Defaults to the plan's default. For heartbeat: how often the job runs.
keywordstringFor keyword checks: text that must appear in the response.
keyword_absentbooleanFor keyword checks: alert when the keyword IS present instead.
namestringA display name. Defaults to the target.
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.
regionsarrayRegion codes from list_regions. Leave out for the default set. Not for heartbeat, which is called rather than checked.
targetstringWhat to watch: a URL (https://example.com/health), a hostname, or host:port for TCP. Required except for heartbeat.

update_monitor Update a monitor

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

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.
expected_status_codesarray
interval_secondsinteger
keywordstringFor keyword checks.
namestring
regionsarrayRegion codes from list_regions.
slow_above_msMark the monitor degraded when responses are slower than this; null turns it off.
targetstring
timeout_msinteger

pause_monitor Pause or resume a monitor

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

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.
paused *booleantrue to pause, false to resume.

check_now Check a monitor now

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.

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.

delete_monitor Delete a monitor

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

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.

acknowledge_incident Acknowledge an incident

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

ParameterTypeDescription
incident_id *stringThe incident id, from list_incidents.

start_maintenance Start a maintenance window

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.

ParameterTypeDescription
duration_minutes *integerHow long the window lasts.
monitor_idsarrayOnly these monitors. Leave out for all.
organizationstringOrganization id. Leave out to use your own account; resellers can name a client organization.
starts_atstringISO 8601 start time. Defaults to now.
suppressstringalerts (default) keeps checking but alerts nobody; checks stops checking altogether.
titlestringWhat the work is, e.g. "Deploy v2.4".

set_monitor_alerts Set who a monitor alerts

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.

ParameterTypeDescription
monitor_id *stringThe monitor id, from list_monitors.
routes *array