silentwatch-mcp

v1.0.7
io.github.temurkhan13/silentwatch-mcp Checked 11 hours ago Published 7 months ago

MCP server for cron silent-failure detection across crontab, systemd, and OpenClaw schedulers.

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

list_jobs

Enumerate all known cron jobs with last-run summary. Returns id, name, schedule, last run time + status, runs/successes in last 24h, silent-fail count, overdue flag.

get_job_status

Detailed status for one job: last run, last success, success rates over 24h + 7d, overdue state, silent-fail indicators on the last run.

ParameterTypeDescription
job_id *stringJob identifier from list_jobs

get_job_runs

Recent run history for a job (newest first) with timing, exit code, status, silent-fail indicators, output snippet.

ParameterTypeDescription
job_id *stringJob identifier
limitintegerMax runs to return (default 20, max 500)

find_overdue_jobs

Returns jobs whose schedule indicates they should have run but haven't, beyond a grace window.

ParameterTypeDescription
grace_minutesintegerTolerance to avoid flagging jobs about to run (default 5)

find_silent_failures

Jobs that returned exit code 0 but output was flagged by silent-fail rules (empty output, length anomaly, error keywords, duration anomaly).

ParameterTypeDescription
window_hoursintegerLookback window in hours (default 24)

tail_job_logs

Most recent N log lines for a job (newest last).

ParameterTypeDescription
job_id *string
linesinteger