Connect an OAuth MCP client
Add a custom connector with the address https://app.pingjury.com/mcp, then sign in to PingJury and approve.
Confirm your email address first. Only approve apps you are connecting yourself right now. OAuth access tokens last 1 hour; refresh tokens last 90 days. You can disconnect an app on the Account page.
Connect with an API key
On the Account page, under API and connected apps, name your key and choose Create key. Copy it now. You will not see it again. Keys last 1 year, and you can have at most 5 active keys. The same key works for MCP and REST. Keep it private and revoke it on the Account page if it is lost.
Claude Code:
claude mcp add --transport http pingjury https://app.pingjury.com/mcp --header "Authorization: Bearer YOUR_KEY"
Cursor and scripts can use the MCP address with the same Authorization: Bearer YOUR_KEY header. PingJury serves your data to your app; it runs no AI and makes no AI calls.
MCP tools
Use a check’s public id or its exact name (case-insensitive). If names are ambiguous, the error lists matching ids. Every tool returns structured data and a short text summary. Times are UTC.
| Tool | What it does |
|---|---|
status_summary | Counts up, down, paused and waiting checks, open incidents and 7-day uptime. |
list_checks | Lists your checks with ids, names, types, targets, states and intervals. |
get_check | Settings, live verdict per location, 7-day uptime, last 10 incidents and the heartbeat URL. |
list_incidents | Newest first. Optional status: open, resolved or all (default); check; limit: 1–50 (default 50). |
create_check | Creates any of the six types using the fields below. Returns the check and, for heartbeats, its URL. |
update_check | Changes only supplied fields; check identifies the check. Its type cannot change. |
pause_check, resume_check | Pause or resume check. Safe to repeat. |
delete_check | Permanently deletes check and its history. |
REST API
Base address: https://app.pingjury.com/api/v1. Send a bearer token and Accept: application/json. Send JSON bodies with Content-Type: application/json. All ids are public ids, and all timestamps are ISO-8601 UTC.
| Endpoint | Result |
|---|---|
GET /status | Same report as status_summary. |
GET /checks | Your checks in checks. |
POST /checks | Create a check; 201 with its settings. |
GET /checks/{id} | One check, plus locations and recent_incidents. |
PATCH /checks/{id} | Change supplied fields; others stay unchanged. |
DELETE /checks/{id} | Delete the check and history; 204 with no body. |
POST /checks/{id}/pause | Pause; returns the check. |
POST /checks/{id}/resume | Resume; returns the check. |
GET /incidents?status=all&check={id}&page=1 | 50 a page, newest first, in data with pagination metadata. Optional status: open, resolved or all (default). Optional check uses its public id. |
List checks:
curl https://app.pingjury.com/api/v1/checks \
-H "Authorization: Bearer YOUR_KEY" \
-H "Accept: application/json"
Create a check:
curl https://app.pingjury.com/api/v1/checks \
-H "Authorization: Bearer YOUR_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name":"My website","type":"http","url":"https://example.org","interval_seconds":180}'
Check fields
| Field | Values |
|---|---|
name | 1–255 characters. Required for a heartbeat; otherwise defaults to the target name. |
type | http (default), tls, tcp, ping, dns, heartbeat. Cannot be changed. |
url | Required for HTTP; a bare host uses HTTPS. |
host | Required for TLS, TCP, ping and DNS. DNS needs a domain name. |
port | 1–65535 for TCP and TLS. TLS defaults to 443. Ports 25 and 465 are blocked. |
keyword | Optional HTTP text, 1–255 characters; null clears it. Case-sensitive, in the first 64 KB. |
interval_seconds | 180 (default), 300, 600, 900, 1800, 3600. Heartbeats also allow 21600, 43200, 86400, 172800 and 604800. Plan limits apply. |
tls_min_days | 7, 14 (default) or 30. |
dns_record_type | A (default), AAAA, CNAME, MX, NS or TXT. |
dns_expected | Optional expected values separated by newlines; at most 10 values, each at most 255 characters. Null clears them. |
grace_seconds | Heartbeat grace time: 60, 300 (default), 900, 1800 or 3600. |
Responses include id, state (up, down or pending), paused, uptime_7d (percentage, or null when unavailable), created_at and, for heartbeats, heartbeat_url. Keep heartbeat URLs private.
Limits and errors
60 requests a minute per user, shared across REST and MCP and all your keys and apps. A 429 response means the budget is exhausted; wait for Retry-After. Check creation and edits use the same plan limits, host budgets and blocked-target rules as the web form.
REST errors are JSON: message, plus errors by field for 422 validation refusals. Missing, expired or revoked tokens return 401. An unconfirmed email returns 403 with “Confirm your email address first.” An unknown check or another account’s check returns 404. MCP tool refusals have isError: true and the same validation message as the form.
A password reset disconnects your keys and apps. Changing your password on the Account page keeps them working. Deleting your account deletes its tokens and monitoring data.