@schedjs/mcp
OfficialAllows scheduling and executing tasks as Docker containers, enabling isolated and polyglot workers.
Provides a MariaDB storage adapter for persisting task data, run history, and schedules.
Provides a MongoDB storage adapter for persisting task data, run history, and schedules.
Provides a MySQL storage adapter for persisting task data, run history, and schedules.
Provides a PostgreSQL storage adapter for persisting task data, run history, and schedules.
Provides a SQLite storage adapter as the default for persisting task data, run history, and schedules.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@schedjs/mcplist all scheduled tasks and their next run times"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sched
A queue-based, self-hosted cron scheduler for modern apps — polyglot-ready, built to be operated as a service. Schedule functions in-process, or run a standalone daemon that dispatches HTTP/Docker/SSH workers with run history, retries, priority, and alerts.
Queue-based, not naive-cron — runs, retries with backoff, priority, idempotency via
runId, cancellation that actually reaches the worker.Polyglot workers — workers are dumb HTTP endpoints (or Docker containers, SSH commands, in-process functions). Any language, any stack.
Self-hosted — SQLite by default; MariaDB/MySQL, PostgreSQL, and MongoDB adapters. No SaaS required.
Operable — admin REST API, web UI, CLI, MCP server for AI tooling, status alerts via webhook.
Full documentation: sched docs — quick start, task format, comparison with BullMQ, Agenda, pg-boss and friends, runner protocol, storage, self-hosting, security.
Quick start (5 minutes)
Requires Node.js >= 22.5. Install and schedule a function in-process:
npm install @schedjs/core// embed.mjs — sched as a library (the package is ESM-only)
import { DatabaseSync } from 'node:sqlite'
import { createEngine, createInternalRunner, createSqliteStorage, syncTasks } from '@schedjs/core'
const engine = createEngine({
storage: createSqliteStorage(new DatabaseSync('sched.db')),
runner: createInternalRunner({
handlers: {
generateThumbnail: async (data) => ({ thumb: `thumb-${data.videoId}.png` }),
},
}),
maxConcurrent: 4,
})
await syncTasks(storage, [
{
name: 'generate-thumbnail',
runner: 'internal',
schedules: [{ cron: '0 9 * * *' }],
config: { handler: 'generateThumbnail', data: { videoId: 'v-42' } },
},
], new Date())
engine.start() // fires daily at 09:00Run history, retries with backoff, priority and alerts — all included; the
daemon (schedd --tasks tasks.json) is just the standalone form for
HTTP/Docker/SSH workers. The operator CLI is sched status (from @schedjs/cli).
Want HTTP workers, the admin UI, or the webhook alerts? See the quick start in the docs for the daemon and Docker paths.
Related MCP server: MCP Cron Server
Packages
Package | What it is |
| Engine, storages, runners — the library |
| Standalone daemon, binary |
| Admin REST surface over the engine |
| Operator CLI, binary |
| MCP server (stdio / Streamable HTTP) |
| Web admin UI components + |
| Storage adapters |
License
MIT — see LICENSE. Contributions require a CLA
(details); the sched name and logo are trademarks and are
not granted under the license.
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage CronPulser from an AI agent: HTTP, Runner and TLS jobs, alerts, Runners and run history.
A cron job monitor your AI agent sets up and can ask why a job failed. Free for up to 200 checks.
1A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Connect, monitor, and control AI agents — tasks, approvals, schedules, and governance.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA robust task scheduler server built with Model Context Protocol for scheduling and managing various types of automated tasks including shell commands, API calls, AI tasks, and reminders.4MIT
- FlicenseAqualityDmaintenanceA standalone scheduling service providing cron-like job capabilities through the Model Context Protocol. It allows users to manage and execute scheduled tasks in OpenCode using natural language commands.51-
- AlicenseNot gradedqualityCmaintenanceModel Context Protocol server for EasyShell: manage hosts, execute scripts, orchestrate multi-host tasks, schedule AI inspections, and access infrastructure operations from AI assistants.79MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to monitor and manage Linux infrastructure including services, logs, processes, disk, memory, ports, cron, nginx, Docker, and system health checks via the Model Context Protocol.10MIT