The 1Monitor MCP server: cron monitoring from your editor

1Monitor now runs an MCP server, so the agent in your editor can create a monitor for the cron job you just wrote and tell you what alerted last night. Until now, you switched to the browser, created the monitor, copied its ping URL and pasted it into the crontab line.

The server is at https://public-api.1monitor.io/mcp. Connect Claude Code, Cursor or VS Code to it with an API key and ask:

  • “Create a monitor for the backup job in this crontab and add the success and fail pings to the line.”
  • “What alerted last night, and is any of it still open?”
  • “Why did the nightly import alert? Show me the failing run’s output.”
  • “Pause every monitor tagged staging while I deploy.”

Connect Claude Code in one command

Shell
claude mcp add --transport http 1monitor https://public-api.1monitor.io/mcp \
  --header "Authorization: Bearer $ONEMONITOR_API_KEY"

The server runs on our side, next to the REST API, and your editor connects to it over HTTP, so there is no package to install or update. Cursor and VS Code take the same URL and header in their mcp.json.

What the agent can do

It reads projects, monitors, notification channels and alerts, including an alert’s timeline with the failing run’s exit code and output. It creates, changes, pauses and resumes monitors, and it acknowledges or snoozes an alert for 1 to 24 hours. A new monitor comes back with its ping URLs for the start, success and fail pings, so the agent writes the curl into your crontab, Kubernetes manifest or CI job for you.

Every tool calls the REST API with your key. A read-only key gives the agent a read-only view. A key without monitors:write cannot create or change monitors, and the agent is told which scope is missing.

A change to a monitor is recorded under the API key in the audit log on Pro and higher plans. An acknowledgment or snooze shows on the alert’s timeline with the key’s name, so name the key after the editor that uses it.

The MCP server is available on Standard and higher plans, and on Free during the 14-day trial, like the API.

The setup for each editor, the scopes a read-only or read-write key needs and the full tool list are in the MCP server docs.

See every cron job you run, and know when one breaks.

Get started free