Runhooks

v1.0.1
io.github.runhooks/runhooks-mcp Checked 3 days ago Published 2 days ago

Schedule and manage recurring and one-off HTTP jobs on Runhooks from your AI agent.

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

provision_account

Create a new anonymous Runhooks account (no email required) and save its API key locally for reuse. Idempotent: if this server already has a key (from RUNHOOKS_API_KEY or a previous provision), it returns the EXISTING account instead of creating a duplicate. Call this at most once — never to recover from an auth error.

ParameterTypeDescription
namestringOptional display name for the account

whoami

Show the currently authenticated Runhooks account (name, plan, API key prefix).

rotate_key

Rotate the API key. The old key stops working immediately; the new key is returned, saved locally, and used for the rest of this session.

create_job

Create a new scheduled job — an HTTP request fired on a schedule. The schedule.type is one of: "cron" (schedule.expression is a cron string, e.g. "0 9 * * 1,4" for every Monday & Thursday at 09:00 — build/preview expressions at https://runhooks.app/tools/cron-expression-builder; optional IANA schedule.timezone), "interval" (schedule.expression is the number of milliseconds between runs, as a string), or "once" for a single future run (schedule.expression is an ISO-8601 date-time — either an absolute instant like "2026-12-25T14:00:00Z"/with offset, or a naive wall-clock time like "2026-12…

ParameterTypeDescription
httpConfig *object
name *string
schedule *object
descriptionstring
retryPolicyobject
tagsarray

list_jobs

List your scheduled jobs with optional filters and pagination.

ParameterTypeDescription
limitinteger
namestringFilter by name (regex)
pageinteger
statusstring
tagstring

get_job

Get a single job by its ID.

ParameterTypeDescription
id *string

update_job

Update an existing job. Only the fields you provide are changed.

ParameterTypeDescription
id *string
descriptionstring
httpConfigobject
namestring
retryPolicyobject
scheduleobject
statusstring
tagsarray

delete_job

Delete a job permanently.

ParameterTypeDescription
id *string

pause_job

Pause a job — it stops executing until resumed.

ParameterTypeDescription
id *string

resume_job

Resume a paused job.

ParameterTypeDescription
id *string

list_executions

List recent executions (run history) for a job.

ParameterTypeDescription
jobId *string
limitinteger
pageinteger
statusstring

replay_execution

Re-run a past execution immediately.

ParameterTypeDescription
executionId *string

get_usage

Show the current plan usage and limits for the account.

list_alerts

List your failure-alert configurations.

create_alert

Create a failure alert. Fires when a job dead-letters. Channel is email, webhook, or slack.

ParameterTypeDescription
channel *string
name *string
target *stringEmail address, webhook URL, or Slack webhook URL
consecutiveFailuresThresholdinteger
cooldownMinutesinteger
enabledboolean
jobIdstring | nullScope to one job; omit for all jobs

get_alert

Get a single alert configuration by its ID.

ParameterTypeDescription
id *string

update_alert

Update an alert configuration. Only the fields you provide are changed.

ParameterTypeDescription
id *string
channelstring
consecutiveFailuresThresholdinteger
cooldownMinutesinteger
enabledboolean
jobIdstring | null
namestring
targetstring

delete_alert

Delete an alert configuration.

ParameterTypeDescription
id *string