MCP server for AI agents
Let Claude, Cursor or any other MCP client create, check, pause and fix your cron jobs for you.
Writing a script or a CI step instead? Use the REST API. The MCP server and the API share the same tokens, validation and limits.
What your assistant can do
Cronit runs a remote MCP server at https://cronit.app/mcp. When you connect an AI assistant to it, the assistant can work with your Cronit account on its own:
- Set up jobs from a sentence. “Call this URL every 15 minutes on weekdays, Berlin time.” The assistant turns that into a cron expression. Before it saves anything, it shows you the next runs and how many monthly runs the job needs.
- Check an endpoint first. It can send the request once and see whether the endpoint answers. That test doesn't create a job and doesn't use your monthly runs.
- Find and fix failures. Every failed run comes with an explanation and a hint, for example which header is missing or which URL to use instead of a redirect. The assistant can read these and suggest the change, or make it.
- Keep an eye on usage. It knows how many runs you have used this month, how many your jobs need, and when the runs would run out at the current pace.
- Pause, resume, run now, delete. Day-to-day job management, without leaving the chat.
Everything the assistant changes appears under Settings → Activity, labelled with the app or token it used, for example “Claude (via MCP)”.
Connect a client
There are two ways to sign in:
- OAuth sign-in. You add the URL, the client sends you to Cronit, and you click Allow access. You don't need a token. This works in Claude and in other clients that support MCP sign-in.
- API token. Create a token under Settings → API & AI agents and send it as
Authorization: Bearer YOUR_TOKEN. This works in every client, and it is the only way to give an assistant read-only access.
Claude (claude.ai and the desktop app)
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it “Cronit” and enter the URL
https://cronit.app/mcp. - Click Connect. Claude opens Cronit; sign in if needed and choose Allow access.
Then turn the Cronit connector on in a chat and ask away. On Team and Enterprise plans, an organization owner may have to add custom connectors first.
Claude Code
With a token (create one under Settings → API & AI agents; the page also shows this command with your token filled in):
claude mcp add --transport http cronit https://cronit.app/mcp \
--header "Authorization: Bearer YOUR_TOKEN"
Or without a token: run claude mcp add --transport http cronit https://cronit.app/mcp, then type /mcp in Claude Code, choose cronit and sign in to Cronit in the browser.
Cursor
Add Cronit to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"cronit": {
"url": "https://cronit.app/mcp"
}
}
}
Cursor asks you to sign in to Cronit the first time. To use a token instead, add "headers": {"Authorization": "Bearer YOUR_TOKEN"} next to url. If you use a token, keep the file out of version control.
VS Code
Add Cronit to .vscode/mcp.json. With the inputs block, VS Code asks for the token once and stores it securely, so it never lands in the file:
{
"inputs": [
{ "type": "promptString", "id": "cronit-token", "description": "Cronit API token", "password": true }
],
"servers": {
"cronit": {
"type": "http",
"url": "https://cronit.app/mcp",
"headers": { "Authorization": "Bearer ${input:cronit-token}" }
}
}
}
Leave out inputs and headers to sign in with OAuth instead.
Other clients
Any client that supports MCP over Streamable HTTP works with Cronit:
- Server URL:
https://cronit.app/mcp - Token:
Authorization: Bearer YOUR_TOKENon every request. - OAuth 2.1:
- Discovery is at
https://cronit.app/.well-known/oauth-protected-resource. - Clients register themselves at
/oauth/register(dynamic client registration). - After approval, Cronit sends people back to Claude, ChatGPT,
localhost, or the Claude, Cursor, VS Code and Windsurf desktop apps.
- Discovery is at
Many clients take a configuration like this one:
{
"mcpServers": {
"cronit": {
"type": "http",
"url": "https://cronit.app/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Access and safety
| Connected with | The assistant can |
|---|---|
| OAuth sign-in | See your jobs, runs and usage; create, change, pause, run and delete jobs; send test requests. That is what the consent screen lists. |
| Read + write token | The same. |
| Read-only token | Look only: list jobs, read runs and failure explanations, preview schedules, read the activity log. Tools that change something (and test_request) answer that the connection is read-only. |
- Disconnect at any time. Apps you approved with OAuth are listed under Settings → API & AI agents → Connected apps. Tokens are on the same page; revoke one and every client using it stops working right away.
- Sessions renew themselves. An OAuth connection gets a new access token every day, so it stays connected. If it goes unused for 90 days, connect it again.
- One token per client. Give each client its own token. The activity log then shows which one made each change, and you can revoke one without touching the others.
- Built-in guidance. Cronit tells connected assistants to preview a schedule and report its monthly runs before saving it. They should also test unknown endpoints first and ask you before deleting anything.
delete_jobis marked as destructive, so clients that confirm risky actions will ask you before running it. To stop a job for a while, ask the assistant to pause it instead. - Same rules as the app. Jobs created through MCP are checked exactly like jobs made in the app: public URLs only, timeout up to 30 seconds, your plan's monthly runs.
- Limits. 120 MCP requests a minute per account. Of those, at most 10 a minute can be test requests and 10 can be manual runs.
Tools
Cronit offers 13 tools. Read tools work with any connection; write tools need OAuth or a read + write token. Timestamps in answers are UTC (ISO 8601); the assistant converts them for you.
| Tool | What it does | Inputs | Access |
|---|---|---|---|
get_account | Plan, runs used this month, runs your switched-on jobs need, when the runs run out, time zone, limits, and whether this connection may change things. Assistants call it first. | none | read |
list_jobs | Your jobs with schedule, next run and last result. Failed results include the explanation. | status (all, failing, enabled, disabled), search (title or URL), page (25 per page) | read |
get_job | One job in full: request, schedule in plain English, runs a month, next 3 runs, last 10 runs, last 5 changes. | job_id | read |
preview_schedule | Checks a schedule without saving. Returns plain English, the next 5 runs, runs a month, and whether that fits your plan, with a clear reason when the expression is invalid. | cron_expression, schedule_type, run_at, timezone, expires_at, job_id (when rescheduling, so its current runs aren't counted twice) | read |
test_request | Sends the request once, as a job would, without saving it. Returns status, timing, the start of the response, and a fix if it failed. Doesn't use monthly runs. | url (required), method, headers, body, auth_user, auth_password, timeout, redirect_success, job_id (to reuse a job's stored password) | write |
create_job | Creates a job. With dry_run it only validates and returns the schedule preview. | title, url, cron_expression (or schedule_type once with run_at), any job field, dry_run | write |
update_job | Changes only the fields you send. With dry_run it shows which fields would change and the new schedule, without saving. | job_id, any job field, dry_run | write |
set_job_enabled | Pauses or resumes a job. Resuming also clears an automatic switch-off and its failure streak. | job_id, enabled | write |
run_job | Runs a saved job right now and returns the result. Counts as one monthly run and appears in the history; doesn't affect failure alerts. | job_id | write |
list_runs | Run history, newest first, with explanations for failures. | job_id, outcome (all, ok, failed), limit (default 20, up to 50) | read |
get_run | One run in detail: time spent on DNS, connect, TLS, server and download, the failure explanation, and the response headers and the first 8 KB of the body if the job saves responses. | job_id, run_id | read |
list_activity | Recent changes and who made them: you in the app, an API token, an AI agent, or Cronit itself, for example when it switches off a job that kept failing. | job_id, limit (default 20, up to 50) | read |
delete_job | Deletes a job and its history for good. | job_id | write, destructive |
Answers include app_url links, so the assistant can send you straight to the job or run in Cronit.
Job fields
create_job and update_job take the same fields as the REST API's job object, with two differences:
headersis an object:{"Authorization": "Bearer …"}.- Folders, the recovery e-mail and the switch-off e-mail are set in the app or through the API.
| Field | Description |
|---|---|
title | Name in the list and in alert e-mails, up to 120 characters. |
url | Public http:// or https:// URL. Private and internal addresses are refused. |
method | GET (default), POST, PUT, PATCH, DELETE, HEAD or OPTIONS. |
headers, body | Request headers and body. A JSON body is sent as application/json unless you set a Content-Type. |
auth_user, auth_password | HTTP basic authentication. Leave the password out to keep the stored one; it is never sent back. |
timeout | Seconds to wait, 1 to 30 (default 30). |
redirect_success | Redirects are not followed; with true a 3xx response counts as success. |
save_responses | Keep response headers and the first 64 KB of each body. |
schedule_type | cron (default, repeats) or once. |
cron_expression | Five fields: minute, hour, day of month, month, day of week, e.g. 0 9 * * 1 (Mondays at 9:00). @hourly, @daily, @weekly, @monthly and @yearly work too. |
timezone | IANA name such as Europe/Berlin; daylight saving time included. Defaults to your account's zone. |
run_at | For once jobs: local date and time in the job's zone, e.g. 2026-12-01 09:00. |
expires_at | Optional: no runs after this local date and time. |
enabled | Runs on schedule (default true). |
description | Notes: what the job does, who owns the endpoint. |
notify_on_failure, notify_failure_threshold | E-mail you when the job fails (default on), after this many failures in a row (default 1). |
Things to ask
- “Call https://example.com/cron/sync every 15 minutes on weekdays, Berlin time. Check that the URL answers first.”
- “Which of my jobs are failing, and what should I change?”
- “Will I run out of runs this month? Which jobs use the most?”
- “Move the daily report to 7:30 New York time. Show me the next runs before you save it.”
- “Pause the newsletter job.” … “Switch it back on and run it once now.”
- “What changed on the billing sync job this week, and who changed it?”
- “Run the cache warm-up job now and tell me how long the server took to answer.”
Troubleshooting
- The client says it needs authentication, or gets
401. The token is missing, mistyped, expired or revoked, or the OAuth connection was disconnected. Create a new token, or connect again. - “This connection has read-only access”. The token is read-only. Create a read + write token, or connect with OAuth.
403straight away. Confirm your e-mail address first: only verified accounts can use the MCP server.- The sign-in page says the redirect is not allowed. Your client sends people back to an address Cronit doesn't accept. Connect with a token instead.
- “Too many test requests / manual runs in a minute”. Wait a minute; see the limits above.
- A job was created but never runs. Ask the assistant for
get_account: the month's runs may be used up, in which case scheduled runs are skipped until the next month.
Language models can read a short description of Cronit at /llms.txt. Something not working? Contact us.
Run online cronjobs without server setup
Plan, schedule and run periodic tasks and scripts, from your browser with the first online cronjob platform.