@cronicorn/mcp-server 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -145,6 +145,135 @@ On first run, the server will:
145
145
 
146
146
  Subsequent runs will use the stored access token automatically.
147
147
 
148
+ ## Prompts (Slash Commands)
149
+
150
+ Prompts are interactive conversation starters that guide you through common Cronicorn workflows. They're triggered using slash commands in your AI assistant.
151
+
152
+ ### Available Prompts
153
+
154
+ #### `/setup-first-job` - Get Started with Cronicorn
155
+
156
+ Interactive guide for creating your first scheduled job. Works for all scenarios including new users and migrations from other cron systems.
157
+
158
+ **Optional Arguments:**
159
+ - `task_description`: What the job should do
160
+ - `endpoint_url`: HTTP endpoint to call
161
+ - `schedule_type`: "interval" or "cron"
162
+
163
+ **Example Usage (GitHub Copilot):**
164
+
165
+ In GitHub Copilot Chat, type:
166
+ ```
167
+ @cronicorn /setup-first-job
168
+ ```
169
+
170
+ Or with arguments:
171
+ ```
172
+ @cronicorn /setup-first-job task_description="check API health every 5 minutes" endpoint_url="https://api.myapp.com/health"
173
+ ```
174
+
175
+ The prompt will guide you through:
176
+ 1. Understanding jobs vs endpoints
177
+ 2. Creating a job container
178
+ 3. Adding your HTTP endpoint
179
+ 4. Configuring baseline schedules
180
+ 5. Setting safety constraints
181
+ 6. Enabling AI adaptation
182
+
183
+ **What You'll Learn:**
184
+ - Jobs vs endpoints (containers vs execution units)
185
+ - Baseline schedules (cron vs interval)
186
+ - AI hints for dynamic scheduling
187
+ - Safety constraints (min/max intervals)
188
+ - Response body instrumentation
189
+
190
+ ---
191
+
192
+ #### `/troubleshoot-failures` - Debug Failing Endpoints
193
+
194
+ Debug failing job executions and identify solutions.
195
+
196
+ **Optional Arguments:**
197
+ - `job_or_endpoint_name`: Name/ID of failing endpoint
198
+ - `error_description`: Error symptoms
199
+ - `when_started`: "just-now", "today", "this-week", or "longer"
200
+
201
+ **Example Usage (GitHub Copilot):**
202
+
203
+ ```
204
+ @cronicorn /troubleshoot-failures job_or_endpoint_name="payment-processor" error_description="timeout errors" when_started="today"
205
+ ```
206
+
207
+ The prompt will guide you through:
208
+ 1. Identifying the failing endpoint
209
+ 2. Reviewing run history for patterns
210
+ 3. Analyzing error details (status codes, messages)
211
+ 4. Checking AI hints and scheduling state
212
+ 5. Inspecting response bodies
213
+ 6. Applying fixes (constraints, pausing, configuration)
214
+
215
+ **Common Issues Covered:**
216
+ - Timeout errors (increase timeout/execution time)
217
+ - Rate limiting (429 errors, adjust min interval)
218
+ - Service unavailable (500/503, pause endpoint)
219
+ - Authentication failures (401/403, fix headers)
220
+ - Network issues (connection refused, DNS)
221
+ - Response body problems (size limits, structure)
222
+
223
+ ---
224
+
225
+ ### Using Prompts in GitHub Copilot
226
+
227
+ **In VS Code with GitHub Copilot Chat:**
228
+
229
+ 1. Open GitHub Copilot Chat (Click the chat icon or `Ctrl+Shift+I` / `Cmd+Shift+I`)
230
+
231
+ 2. Use the `@cronicorn` agent with a slash command:
232
+ ```
233
+ @cronicorn /setup-first-job
234
+ ```
235
+
236
+ 3. Copilot will run the prompt and guide you through the workflow
237
+
238
+ 4. Provide arguments inline:
239
+ ```
240
+ @cronicorn /migrate-from-cron current_system="vercel-cron" job_count="10"
241
+ ```
242
+
243
+ 5. Follow the interactive guidance to complete your task
244
+
245
+ **Tips for Best Results:**
246
+
247
+ - **Start broad**: Use prompts without arguments to get full guidance
248
+ - **Provide context**: Include arguments when you have specific info
249
+ - **Follow suggestions**: Prompts reference specific tools to use next
250
+ - **Check resources**: Prompts include doc links for deeper learning
251
+
252
+ **Note:** GitHub Copilot doesn't automatically load bundled resources like Claude Desktop does, but prompts include embedded summaries and hosted doc URLs for universal access.
253
+
254
+ ---
255
+
256
+ ### Using Prompts in Claude Desktop
257
+
258
+ **In Claude Desktop:**
259
+
260
+ 1. Type a slash command in the chat:
261
+ ```
262
+ /setup-first-job
263
+ ```
264
+
265
+ 2. Claude will execute the prompt and start guiding you
266
+
267
+ 3. Prompts can reference bundled documentation resources:
268
+ ```
269
+ file:///docs/quick-start.md
270
+ file:///docs/core-concepts.md
271
+ ```
272
+
273
+ 4. Claude automatically loads these resources for additional context
274
+
275
+ ---
276
+
148
277
  ## Keeping Updated
149
278
 
150
279
  The MCP server does not automatically update. When using `npx` or global installation, you'll continue using the cached version until you manually update.
@@ -345,6 +474,21 @@ git push --follow-tags
345
474
 
346
475
  **Note**: Only production dependency is `@modelcontextprotocol/sdk` - everything else is bundled.
347
476
 
477
+ ## Alternative: Context7 Documentation Access
478
+
479
+ If you have the [Context7 MCP server](https://context7.com) installed alongside Cronicorn MCP, you can access Cronicorn documentation directly in your AI assistant:
480
+
481
+ ```
482
+ @context7 /weskerllc/cronicorn
483
+ ```
484
+
485
+ This provides an alternative way to access up-to-date Cronicorn documentation without leaving your conversation. Context7 complements the Cronicorn MCP server's prompts and bundled resources.
486
+
487
+ **Use cases:**
488
+ - Quick doc lookups while working with Cronicorn MCP tools
489
+ - Access to the latest documentation updates
490
+ - Cross-reference between different sections of the docs
491
+
348
492
  ## Security
349
493
 
350
494
  - OAuth 2.0 Device Authorization Grant for secure authentication
@@ -0,0 +1,324 @@
1
+ ---
2
+ id: competitive-analysis
3
+ title: How Cronicorn Compares
4
+ description: Understand how Cronicorn stacks up against other job scheduling platforms
5
+ sidebar_label: Competitive Analysis
6
+ sidebar_position: 5
7
+ tags:
8
+ - user
9
+ - comparison
10
+ - features
11
+ mcp:
12
+ uri: file:///docs/competitive-analysis.md
13
+ mimeType: text/markdown
14
+ priority: 0.7
15
+ lastModified: 2025-11-04T00:00:00Z
16
+ ---
17
+
18
+ # How Cronicorn Compares to Other Job Schedulers
19
+
20
+ **TL;DR**: Cronicorn is the only platform that automatically adapts job schedules based on real-time performance. While others offer static cron or complex workflow orchestration, Cronicorn learns from your endpoints and optimizes timing automatically—all while staying within your safety constraints.
21
+
22
+ Cronicorn is purpose-built for **adaptive HTTP job scheduling**—a unique position in the workflow automation landscape. Here's how we compare to popular alternatives.
23
+
24
+ ## Quick Comparison
25
+
26
+ | Feature | Cronicorn | Trigger.dev | Inngest | Temporal | QStash | n8n | Windmill |
27
+ |---------|-----------|-------------|---------|----------|--------|-----|----------|
28
+ | **AI-Adaptive Scheduling** | ✅ Core Feature | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
29
+ | **HTTP Endpoint Execution** | ✅ | ✅ | ✅ | ⚠️ Manual | ✅ | ✅ | ✅ |
30
+ | **Cron/Interval Scheduling** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
31
+ | **Self-Hosted** | ✅ Free | ✅ Complex | ✅ Free | ✅ Complex | ❌ | ✅ Free | ✅ Free |
32
+ | **Entry Price** | Free (soon) | $10/mo | Free | $100/mo | Free | Free | Free |
33
+ | **Learning Curve** | Low | Medium | Medium | High | Low | Low | High |
34
+ | **Best For** | HTTP health checks, API polling, adaptive workflows | AI workflows, TypeScript apps | Event-driven serverless | Enterprise orchestration | Simple webhooks | Visual workflows, integrations | Internal tools |
35
+
36
+ ### At a Glance
37
+
38
+ **Cronicorn** = Cron that learns and adapts automatically
39
+ **Trigger.dev** = Code-first workflow orchestration for TypeScript
40
+ **Inngest** = Event-driven serverless background jobs
41
+ **Temporal** = Enterprise workflow engine for distributed systems
42
+ **QStash** = Serverless HTTP message queue
43
+ **n8n** = Visual workflow automation with 400+ integrations
44
+ **Windmill** = Developer platform for internal tools
45
+
46
+ ---
47
+
48
+ ## 🎯 Why Choose Cronicorn?
49
+
50
+ ### 1. **True AI-Powered Adaptation**
51
+
52
+ **Cronicorn is the only platform that automatically adjusts job timing based on real-world performance.**
53
+
54
+ While other platforms offer static scheduling or complex workflow orchestration, Cronicorn learns from your endpoints:
55
+
56
+ - **Backs off automatically** when detecting rate limits or failures
57
+ - **Speeds up** when detecting backlogs or increased activity
58
+ - **Maintains stability** by slowing execution during idle periods
59
+ - **Stays within your constraints** - AI respects your min/max limits
60
+
61
+ **Example**: Your health check runs every 5 minutes baseline. When errors spike, Cronicorn adapts to every 30 seconds. When everything's stable for hours, it backs off to every 15 minutes—all automatically.
62
+
63
+ **Competitors**: Static schedules that run regardless of conditions. You manually adjust based on metrics.
64
+
65
+ ---
66
+
67
+ ### 2. **Simplicity for HTTP Job Scheduling**
68
+
69
+ **Cronicorn is purpose-built for HTTP endpoints. Others require complex setup.**
70
+
71
+ - **Trigger.dev**: Requires writing TypeScript code, deploying functions, managing builds
72
+ - **Inngest**: Event-driven model adds complexity for simple polling
73
+ - **Temporal**: Heavy enterprise framework, steep learning curve
74
+ - **Windmill**: Powerful but requires learning workflow DSL and script management
75
+
76
+ **Cronicorn**: Define a URL, set baseline schedule, done. Optional AI optimization with zero code changes.
77
+
78
+ ```json
79
+ {
80
+ "name": "Health Check",
81
+ "url": "https://api.example.com/health",
82
+ "method": "GET",
83
+ "baselineIntervalMs": 300000,
84
+ "minIntervalMs": 30000,
85
+ "maxIntervalMs": 900000
86
+ }
87
+ ```
88
+
89
+ ---
90
+
91
+ ### 3. **Transparent, Explainable Scheduling**
92
+
93
+ **Every scheduling decision is explained in plain English.**
94
+
95
+ Cronicorn shows you exactly why each job ran when it did:
96
+
97
+ - "Baseline cron schedule (every 5 minutes)"
98
+ - "AI increased frequency—3 consecutive failures detected"
99
+ - "AI decreased interval—stable for 2 hours, no errors"
100
+ - "Clamped to minimum interval (rate limit protection)"
101
+
102
+ **Competitors**: Black-box scheduling. You see *when* jobs run, but not *why* the timing was chosen.
103
+
104
+ ---
105
+
106
+ ### 4. **Constraint Protection Built-In**
107
+
108
+ **Safety constraints prevent runaway costs and rate limit violations.**
109
+
110
+ Set min/max intervals, and Cronicorn guarantees:
111
+ - ✅ Jobs never run faster than your minimum (protects rate limits)
112
+ - ✅ Jobs never run slower than your maximum (ensures freshness)
113
+ - ✅ AI suggestions are always clamped to safe ranges
114
+
115
+ **Example**: API allows 100 requests/hour. Set min interval to 36 seconds—Cronicorn will never exceed your quota, even with AI enabled.
116
+
117
+ **Competitors**: QStash and Trigger.dev have rate limiting, but not adaptive constraint-aware scheduling.
118
+
119
+ ---
120
+
121
+ ### 5. **Works Without AI**
122
+
123
+ **Cronicorn is a production-ready scheduler even without AI.**
124
+
125
+ The baseline scheduler is:
126
+ - Reliable (database-backed with distributed locks)
127
+ - Flexible (cron expressions or simple intervals)
128
+ - Complete (pause/resume, run history, error tracking)
129
+
130
+ Enable AI when you want optimization. Disable it if you prefer predictable behavior.
131
+
132
+ **Competitors**: All-or-nothing. You get their workflow model or nothing.
133
+
134
+ ---
135
+
136
+ ## Platform-by-Platform Comparison
137
+
138
+ ### 🆚 Cronicorn vs. Trigger.dev
139
+
140
+ **Trigger.dev** is excellent for complex, multi-step workflows and AI agent orchestration in TypeScript.
141
+
142
+ | What Trigger.dev Does Better | What Cronicorn Does Better |
143
+ |------------------------------|---------------------------|
144
+ | Multi-step workflow orchestration | Automatic schedule adaptation |
145
+ | Built-in AI SDK integrations | Zero-code HTTP job scheduling |
146
+ | TypeScript-native development | Transparent scheduling decisions |
147
+ | Real-time streaming to frontend | Constraint-based safety |
148
+ | Long-running background jobs | Simple setup for HTTP endpoints |
149
+
150
+ **Choose Trigger.dev if**: You need complex, code-based workflows with multiple steps, retries, and AI integration.
151
+
152
+ **Choose Cronicorn if**: You want HTTP endpoints to run on adaptive schedules with minimal setup and automatic optimization.
153
+
154
+ **Use both**: Cronicorn schedules your Trigger.dev workflow endpoints, adapting their timing based on performance.
155
+
156
+ ---
157
+
158
+ ### 🆚 Cronicorn vs. Inngest
159
+
160
+ **Inngest** excels at event-driven architectures and serverless background jobs.
161
+
162
+ | What Inngest Does Better | What Cronicorn Does Better |
163
+ |-------------------------|---------------------------|
164
+ | Event-driven workflows | Time-based adaptive scheduling |
165
+ | Durable step functions | Explainable scheduling decisions |
166
+ | Built-in retry/recovery | AI learns from job performance |
167
+ | Multi-language SDKs (TS/Python/Go) | Simpler setup for cron jobs |
168
+ | Webhook transformations | Transparent min/max constraints |
169
+
170
+ **Choose Inngest if**: You have event-driven workflows triggered by user actions, webhooks, or app events.
171
+
172
+ **Choose Cronicorn if**: You need scheduled HTTP jobs that adapt their timing based on success rates and patterns.
173
+
174
+ **Use both**: Inngest handles event-driven logic; Cronicorn schedules the periodic data syncs and health checks.
175
+
176
+ ---
177
+
178
+ ### 🆚 Cronicorn vs. Temporal
179
+
180
+ **Temporal** is the gold standard for distributed workflow orchestration in enterprise environments.
181
+
182
+ | What Temporal Does Better | What Cronicorn Does Better |
183
+ |--------------------------|---------------------------|
184
+ | Long-running sagas and distributed transactions | Simple HTTP job scheduling |
185
+ | Enterprise-grade reliability | AI-powered schedule adaptation |
186
+ | Multi-language SDKs | Easy setup and maintenance |
187
+ | Fine-grained workflow control | Transparent, explainable timing |
188
+ | Advanced replay and versioning | Lower operational complexity |
189
+
190
+ **Pricing**: Temporal Cloud starts at $100/month; Cronicorn plans to be free for basic usage.
191
+
192
+ **Choose Temporal if**: You need bulletproof workflow orchestration for mission-critical distributed systems.
193
+
194
+ **Choose Cronicorn if**: You want HTTP endpoints to run on smart schedules without enterprise-level complexity.
195
+
196
+ **Use both**: Temporal orchestrates complex business processes; Cronicorn handles the adaptive scheduled triggers.
197
+
198
+ ---
199
+
200
+ ### 🆚 Cronicorn vs. QStash (Upstash)
201
+
202
+ **QStash** is a great serverless message queue for simple HTTP job delivery.
203
+
204
+ | What QStash Does Better | What Cronicorn Does Better |
205
+ |------------------------|---------------------------|
206
+ | Simple serverless pricing | AI-adaptive scheduling |
207
+ | Fan-out to multiple endpoints | Schedule optimization based on performance |
208
+ | Integration with Upstash ecosystem | Explainable scheduling decisions |
209
+ | Lower operational overhead | Constraint-aware adaptation |
210
+ | HTTP-first message queue | Real-time monitoring dashboard |
211
+
212
+ **Pricing**: QStash free tier (1k messages/day); paid plans start at $1 per 100k messages. Cronicorn plans similar affordability.
213
+
214
+ **Choose QStash if**: You need a simple message queue with retries and don't need adaptive scheduling.
215
+
216
+ **Choose Cronicorn if**: You want your scheduled jobs to automatically optimize timing based on real-world conditions.
217
+
218
+ **Use both**: QStash handles message delivery; Cronicorn schedules when those messages should be sent.
219
+
220
+ ---
221
+
222
+ ### 🆚 Cronicorn vs. Windmill
223
+
224
+ **Windmill** is a powerful open-source platform for internal tools and workflow automation.
225
+
226
+ | What Windmill Does Better | What Cronicorn Does Better |
227
+ |--------------------------|---------------------------|
228
+ | Script-to-UI generation | Focused HTTP job scheduling |
229
+ | Multi-language support (Python, Go, Rust, etc.) | AI-adaptive timing |
230
+ | Internal app builder | Simpler learning curve |
231
+ | Git-based workflow versioning | Transparent scheduling explanations |
232
+ | Extensive integrations library | Purpose-built for HTTP endpoints |
233
+
234
+ **Choose Windmill if**: You need a full developer platform for building internal tools, scripts, and complex workflows.
235
+
236
+ **Choose Cronicorn if**: You specifically need HTTP endpoints to run on adaptive, intelligent schedules.
237
+
238
+ **Use both**: Windmill builds your internal automation scripts; Cronicorn schedules them with adaptive timing.
239
+
240
+ ---
241
+
242
+ ### 🆚 Cronicorn vs. n8n
243
+
244
+ **n8n** is a popular open-source workflow automation platform with a visual node-based editor and 400+ integrations.
245
+
246
+ | What n8n Does Better | What Cronicorn Does Better |
247
+ |---------------------|---------------------------|
248
+ | Visual workflow builder (drag-and-drop) | AI-adaptive scheduling |
249
+ | 400+ pre-built integrations | Purpose-built for HTTP endpoints |
250
+ | Multi-app workflow orchestration | Automatic schedule optimization |
251
+ | Low-code/no-code friendly | Explainable scheduling decisions |
252
+ | Custom JavaScript/Python in workflows | Constraint-aware adaptation |
253
+
254
+ **Pricing**: n8n free (self-hosted); Cloud starts at $20/mo (2,500 executions). Cronicorn plans similar affordability.
255
+
256
+ **Choose n8n if**: You need to connect multiple apps together in visual workflows, especially for non-developers.
257
+
258
+ **Choose Cronicorn if**: You need HTTP endpoints with intelligent, adaptive scheduling that learns from performance.
259
+
260
+ **Use both**: n8n orchestrates multi-step workflows; Cronicorn provides the adaptive scheduling trigger with webhooks. Many teams use Cronicorn to trigger n8n workflows at optimized times based on real conditions.
261
+
262
+ ---
263
+
264
+ ## What Makes Cronicorn Unique?
265
+
266
+ ### The "Adaptive Cron" Gap
267
+
268
+ Every existing tool falls into one of two categories:
269
+
270
+ 1. **Static cron schedulers** - Run jobs at fixed intervals, regardless of conditions
271
+ 2. **Complex workflow engines** - Powerful orchestration, but require significant setup
272
+
273
+ **Cronicorn is the first to offer adaptive, intelligent scheduling for HTTP endpoints without the complexity.**
274
+
275
+ We fill the gap between "too simple" and "too complex":
276
+
277
+ 1. **Simpler than workflow engines** - No code deployment, no learning DSLs, just configure a URL
278
+ 2. **Smarter than static cron** - Learns and adapts automatically based on actual performance
279
+ 3. **Safer than manual tuning** - Built-in constraints prevent runaway schedules and rate limit violations
280
+ 4. **More transparent than black boxes** - Every decision is explained in plain English
281
+
282
+ ### When Cronicorn Shines
283
+
284
+ **Perfect for these use cases:**
285
+
286
+ ✅ **API Health Monitoring** - Automatically increase check frequency when errors occur, back off when stable
287
+ ✅ **Data Synchronization** - Speed up during business hours when changes are frequent, slow down overnight
288
+ ✅ **Web Scraping** - Intelligently back off when rate-limited, resume optimal frequency when quota resets
289
+ ✅ **Webhook Retries** - Adaptive exponential backoff based on downstream service patterns
290
+ ✅ **Scheduled Maintenance** - Run within maintenance windows while adapting to system load
291
+ ✅ **External API Polling** - Optimize request frequency based on data freshness and change patterns
292
+
293
+ ### When to Consider Alternatives
294
+
295
+ **Consider these platforms when you need:**
296
+
297
+ - **Trigger.dev**: Multi-step TypeScript workflows, AI agent orchestration, complex retry logic
298
+ - **Inngest**: Event-driven serverless architectures triggered by user actions or webhooks
299
+ - **Temporal**: Enterprise-grade distributed workflow orchestration with saga patterns
300
+ - **QStash**: Simple serverless message queue without adaptive scheduling needs
301
+ - **n8n**: Visual workflow automation connecting multiple apps with drag-and-drop interface
302
+ - **Windmill**: Full internal tool platform with script-to-UI generation
303
+
304
+ **Or combine them**: Many teams use Cronicorn for adaptive scheduling alongside these platforms for workflow orchestration.
305
+
306
+ ---
307
+
308
+ ## Pricing Comparison (Early 2025)
309
+
310
+ | Platform | Free Tier | Starter Plan | Enterprise |
311
+ |----------|-----------|--------------|------------|
312
+ | **Cronicorn** | Coming soon | Coming soon | Contact |
313
+ | **Trigger.dev** | 5 credits/mo | $10/mo (10 credits) | Custom |
314
+ | **Inngest** | 50k executions/mo | $75/mo (1M executions) | Custom |
315
+ | **Temporal Cloud** | Self-host only | $100/mo | Custom |
316
+ | **QStash** | 1k messages/day | Pay-as-you-go ($1/100k) | Custom |
317
+ | **n8n** | Self-host free | $20/mo (2,500 executions) | Custom |
318
+ | **Windmill** | Self-host free | $120/mo cloud | $170/mo self-hosted |
319
+
320
+ **Cronicorn's pricing philosophy**: Simple, affordable, transparent. Coming soon.
321
+
322
+ ---
323
+
324
+ *Last updated: November 2025. Competitor information based on publicly available documentation and pricing as of this date.*