MCP server
Crony has a Model Context Protocol (MCP) server, so an AI agent can list, read, create, change, pause, resume and delete a project's checks. Its endpoint is:
https://staging.crony.sh/mcpThe endpoint uses the Streamable HTTP transport. It accepts only POST requests and answers each one with a single JSON object. It speaks revision 2026-07-28 of the protocol. It also answers clients that start with the initialize handshake of revisions 2025-11-25, 2025-06-18 and 2025-03-26. It refuses JSON-RPC batches.
Authentication
The server takes the project API keys of the management API. Owners and managers create them in the project's settings. Send the key as Authorization: Bearer, or in the X-Api-Key header. A request without a valid key answers 401. There is no OAuth sign-in.
A read-write key can call every tool. A read-only key is offered only list_checks and get_check. As in the management API, its checks carry a unique_key in place of the UUID, the ping URL and the integrations, and it names a check by that unique key. For such a key get_check returns no pings.
Claude Code
claude mcp add --transport http crony https://staging.crony.sh/mcp \
--header "Authorization: Bearer $CRONY_API_KEY"To share the server with everyone who works in a repository, without sharing a key, put it in the repository's .mcp.json instead. Claude Code fills in CRONY_API_KEY from each person's environment.
{
"mcpServers": {
"crony": {
"type": "http",
"url": "https://staging.crony.sh/mcp",
"headers": {
"Authorization": "Bearer ${CRONY_API_KEY}"
}
}
}
}Claude Desktop
Add Crony as a custom connector. In Claude's Connectors directory, select Add, then Add custom connector, and enter a name and the endpoint above. For the authentication, choose No sign-in. Under Request headers, pick authorization and enter Bearer, a space and the API key as its value.
Anthropic offers request headers to a limited set of organizations while the feature is in beta. If the dialog has no Request headers section, connect through a bridge instead. Claude Desktop's configuration file starts only programs on your own computer, and mcp-remote is such a program: it passes Claude's requests on to Crony. It needs Node.js. In Claude Desktop, open the settings, go to Developer, select Edit Config, and add:
{
"mcpServers": {
"crony": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://staging.crony.sh/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": {
"AUTH_HEADER": "Bearer crony_rw_..."
}
}
}
}Then quit Claude Desktop and start it again.
Tools
| Tool | Key | What it does |
|---|---|---|
list_checks | Either | Lists the project's checks, oldest first, each with its status (new, up, late, down or paused), schedule and last ping. |
get_check | Either | Returns one check with its most recent pings and flips, both newest first. A flip is a change of state: down for an outage, up for a recovery, or paused. A read-only key names the check by its unique_key and gets no pings. |
create_check | Read-write | Creates a check and returns it with its ping_url, the URL the job requests each time it finishes. Without timeout or schedule the check expects a ping every day, with one hour of grace time. Without channels it alerts through every integration of the project. |
update_check | Read-write | Changes the fields given and leaves the others as they are. Returns the check as it is afterwards. |
pause_check | Read-write | Pauses a check, so it expects no pings and sends no alerts until it is resumed or, unless manual_resume is set, pinged again. Alerts that have not gone out yet are cancelled. |
resume_check | Read-write | Resumes a paused check, which then waits as new for its next ping. It fails when the check is not paused. |
delete_check | Read-write | Deletes a check with its ping log for good, and returns it as it was. Its ping_url stops working. |
list_channels | Read-write | Lists the project's integrations, the channels that alerts go to, each with its id, name, kind and timing. Their settings are never returned, because they hold secrets. |
create_check and update_check take the fields that the management API takes when it creates a check, all but unique. The other check tools take the check's id, which is its UUID. get_check returns the 20 most recent pings and the 20 most recent flips, or as many of each as its limit says, up to 100.
Results use the management API's JSON for a check, a ping, a flip and an integration. A tool that returns one check answers {"check": {...}}, get_check adds pings and flips to that, list_checks answers {"checks": [...]}, and list_channels answers {"channels": [...]}.
The tools differ from the management API in two ways. A check that create_check makes without channels alerts through every integration of the project, as a check made in the dashboard does. And an argument that a tool does not have is refused, where the API ignores an unknown field.
When a tool refuses a call, its result is marked as an error and says what is wrong. That covers a field that is not valid, a check that does not exist in the project, a slug that is taken, the plan's check limit, and a read-only key calling a tool that needs a read-write key.