@cronicorn/mcp-server 1.18.3 → 1.19.1

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.
@@ -10,49 +10,48 @@ sidebar_position: 3
10
10
  mcp:
11
11
  uri: file:///docs/mcp-server.md
12
12
  mimeType: text/markdown
13
- priority: 0.9
13
+ priority: 0.95
14
+ lastModified: 2026-02-03T00:00:00Z
14
15
  ---
15
16
 
16
- # Chat Your Way to Scheduled Jobs
17
+ # MCP Server
17
18
 
18
19
  [![npm version](https://badge.fury.io/js/@cronicorn%2Fmcp-server.svg)](https://www.npmjs.com/package/@cronicorn/mcp-server)
19
20
 
20
- **What if you could manage cron jobs by just talking to your AI assistant?**
21
+ Manage cron jobs by talking to your AI assistant.
21
22
 
22
23
  ```
23
- You: "Set up a job that checks my API health every 5 minutes"
24
+ You: "Check my API health every 5 minutes"
24
25
 
25
- AI: *Creates the job, adds the endpoint, configures the schedule*
26
- ✅ Done! Your health check is now running every 5 minutes.
26
+ AI: Done! Health check running every 5 minutes.
27
27
  ```
28
28
 
29
- **No forms. No clicking. Just conversation.**
30
-
31
29
  ## Quick Start
32
30
 
33
- ### Install
34
-
31
+ **Claude Code (CLI):**
35
32
  ```bash
36
- npm install -g @cronicorn/mcp-server
33
+ claude mcp add cronicorn -- npx -y @cronicorn/mcp-server
37
34
  ```
38
35
 
39
- ### Configure Your AI Assistant
40
-
41
- Add the Cronicorn MCP server to your AI assistant's configuration. The exact setup varies by tool:
42
-
43
- - **GitHub Copilot**: Add to VS Code settings
44
- - **Claude Desktop**: Add to `claude_desktop_config.json`
45
- - **Cline/Continue/Cursor**: Check your extension's MCP settings
46
-
47
- See the [full installation guide](https://github.com/weskerllc/cronicorn/tree/main/apps/mcp-server#installation) for platform-specific instructions.
36
+ **Other assistants** (Claude Desktop, Copilot, Cursor, etc.):
37
+ ```json
38
+ {
39
+ "mcpServers": {
40
+ "cronicorn": {
41
+ "command": "npx",
42
+ "args": ["-y", "@cronicorn/mcp-server"]
43
+ }
44
+ }
45
+ }
46
+ ```
48
47
 
49
- ### Authenticate
48
+ See the [full README](https://github.com/weskerllc/cronicorn/tree/main/apps/mcp-server#setup) for platform-specific config locations.
50
49
 
51
- First time you use it, you'll authenticate once via OAuth (browser opens, you approve, done). The MCP server remembers you for 30 days.
50
+ First use triggers OAuth in your browser. Approve once, stay connected for 30 days.
52
51
 
53
52
  ## What You Can Do
54
53
 
55
- **Create jobs instantly:**
54
+ **Create jobs:**
56
55
  ```
57
56
  "Check https://api.myapp.com/health every 5 minutes"
58
57
  ```
@@ -62,66 +61,47 @@ First time you use it, you'll authenticate once via OAuth (browser opens, you ap
62
61
  "My payment-processor job is timing out - fix it"
63
62
  ```
64
63
 
65
- **Monitor everything:**
64
+ **Monitor:**
66
65
  ```
67
66
  "Show me my dashboard stats"
68
- "What's wrong with that failing endpoint?"
69
67
  ```
70
68
 
71
- **Migrate from other systems:**
69
+ **AI-adaptive scheduling:**
72
70
  ```
73
- "Help me move my 15 Vercel cron jobs to Cronicorn"
71
+ "Monitor my API. Check more often if slow, relax when healthy."
74
72
  ```
75
73
 
76
- ## Built-In Guides
77
-
78
- The MCP server includes interactive slash commands that guide you through common workflows:
79
-
80
- **`/setup-first-job`** - Perfect for getting started or migrating
81
- - Learn jobs vs endpoints, baseline schedules, AI adaptation, safety constraints
82
- - Get step-by-step guidance for your first scheduled task
83
-
84
- **`/troubleshoot-failures`** - Debug failing endpoints
85
- - Systematic diagnostic process
86
- - Common issues and fixes (timeouts, rate limits, auth)
87
- - Emergency actions when needed
74
+ ## 21 Tools Available
88
75
 
89
- ## 30+ Tools Available
76
+ | Category | Tools |
77
+ |----------|-------|
78
+ | **Jobs** | `createJob`, `listJobs`, `getJob`, `updateJob`, `archiveJob`, `pauseJob`, `resumeJob` |
79
+ | **Endpoints** | `addEndpoint`, `listEndpoints`, `getEndpoint`, `updateEndpoint`, `archiveEndpoint`, `pauseResumeEndpoint` |
80
+ | **AI Scheduling** | `applyIntervalHint`, `scheduleOneShot`, `clearHints`, `resetFailures` |
81
+ | **Monitoring** | `listEndpointRuns`, `getRunDetails`, `getEndpointHealth`, `getDashboardStats` |
90
82
 
91
- Your AI assistant has access to tools for:
92
-
93
- - **Job Management** - Create, list, update, pause, resume, delete
94
- - **Endpoint Control** - Add, configure, update URLs/timeouts/schedules
95
- - **AI Scheduling** - Apply hints, trigger immediate runs, pause/resume
96
- - **Monitoring** - Health summaries, execution history, run details, dashboard stats
97
-
98
- [See all available tools →](https://github.com/weskerllc/cronicorn/tree/main/apps/mcp-server#available-tools)
83
+ ## Built-In Guides
99
84
 
100
- ## Example Use Cases
85
+ | Command | Description |
86
+ |---------|-------------|
87
+ | `/setup-first-job` | Interactive setup for your first scheduled job |
88
+ | `/troubleshoot-failures` | Debug failing endpoints with systematic diagnosis |
101
89
 
102
- **Health monitoring with AI adaptation:**
103
- ```
104
- "Monitor https://api.acme.com/health every minute.
105
- Check more frequently if slow, relax to 5 minutes when healthy."
106
- ```
107
- → AI auto-adjusts interval based on latency in response
90
+ ## Works With
108
91
 
109
- **Data sync with queue monitoring:**
110
- ```
111
- "Sync https://api.acme.com/sync every 5 minutes.
112
- Speed up when queue_depth > 100, slow down when < 10."
113
- ```
114
- → AI monitors queue_depth and adjusts schedule dynamically
92
+ GitHub Copilot, Claude Desktop, Cursor, Cline, Continue, and any MCP-compatible assistant.
115
93
 
116
- **Daily cleanup:**
117
- ```
118
- "Run cleanup at https://api.acme.com/cleanup daily at 2 AM Pacific"
119
- ```
120
- → Simple cron-based schedule
94
+ ## Security
121
95
 
122
- ## Security & Compatibility
96
+ - OAuth 2.0 Device Flow (same as AWS CLI, GitHub CLI)
97
+ - Credentials stored locally with strict file permissions
98
+ - Tokens auto-refresh, re-auth every 30 days
123
99
 
124
- **Secure authentication** via OAuth 2.0 Device Flow (same as AWS CLI, GitHub CLI). Credentials stored locally with strict permissions. Tokens refresh automatically, re-auth every 30 days.
100
+ ---
125
101
 
126
- **Works with** GitHub Copilot, Claude Desktop, Cline, Continue, Cursor, and any MCP-compatible AI assistant.
102
+ ## See Also
127
103
 
104
+ - [Full README & Tool Reference](https://github.com/weskerllc/cronicorn/tree/main/apps/mcp-server)
105
+ - [Core Concepts](./core-concepts.md) - Understanding jobs and endpoints
106
+ - [How AI Adaptation Works](./technical/how-ai-adaptation-works.md) - AI tools and hints
107
+ - [API Reference](./api-reference.md) - HTTP API for programmatic access
@@ -9,8 +9,8 @@ sidebar_position: 3
9
9
  mcp:
10
10
  uri: file:///docs/quick-start.md
11
11
  mimeType: text/markdown
12
- priority: 0.9
13
- lastModified: 2025-11-02T00:00:00Z
12
+ priority: 0.90
13
+ lastModified: 2026-02-03T00:00:00Z
14
14
  ---
15
15
 
16
16
  # Quick Start Guide
@@ -217,3 +217,12 @@ If you're hitting rate limits:
217
217
  1. Increase **Min Interval** (e.g., from 30s to 60s)
218
218
  2. Adjust **Baseline Schedule** to be less frequent
219
219
  3. Let AI adapt (it will back off automatically)
220
+
221
+ ---
222
+
223
+ ## See Also
224
+
225
+ - **[Core Concepts](./core-concepts.md)** - Understanding jobs, endpoints, and scheduling
226
+ - **[API Reference](./api-reference.md)** - Programmatic access to Cronicorn
227
+ - **[Troubleshooting](./troubleshooting.md)** - Diagnose and fix common issues
228
+ - **[MCP Server](./mcp-server.md)** - Manage jobs via AI assistant
@@ -9,7 +9,8 @@ sidebar_position: 6
9
9
  mcp:
10
10
  uri: file:///docs/self-hosting.md
11
11
  mimeType: text/markdown
12
- priority: 0.8
12
+ priority: 0.80
13
+ lastModified: 2026-02-03T00:00:00Z
13
14
  ---
14
15
 
15
16
  # Self-Hosting Guide
@@ -132,3 +133,11 @@ docker compose up -d
132
133
  - **Auth errors**: Ensure `BETTER_AUTH_SECRET` is at least 32 characters
133
134
  - **API not accessible**: Check that port 3333 isn't already in use
134
135
  - **Database issues**: Check logs with `docker compose logs db`
136
+
137
+ ---
138
+
139
+ ## See Also
140
+
141
+ - **[Quick Start](./quick-start.md)** - Getting started guide
142
+ - **[Troubleshooting](./troubleshooting.md)** - Comprehensive troubleshooting guide
143
+ - **[API Reference](./api-reference.md)** - Programmatic access
@@ -7,8 +7,8 @@ sidebar_position: 5
7
7
  mcp:
8
8
  uri: file:///docs/technical/configuration-and-constraints.md
9
9
  mimeType: text/markdown
10
- priority: 0.80
11
- lastModified: 2025-11-02T00:00:00Z
10
+ priority: 0.85
11
+ lastModified: 2026-02-03T00:00:00Z
12
12
  ---
13
13
 
14
14
  # Configuration and Constraints
@@ -407,3 +407,12 @@ Expensive operation runs every 10 minutes normally, AI can relax to hourly or ti
407
407
  7. **Min/max apply relative to `now`, not `lastRunAt`**
408
408
 
409
409
  Configure conservatively. The system is designed to be safe by default. Add constraints when you encounter real problems, not anticipated ones.
410
+
411
+ ---
412
+
413
+ ## See Also
414
+
415
+ - **[How Scheduling Works](./how-scheduling-works.md)** - Governor logic and constraint clamping
416
+ - **[How AI Adaptation Works](./how-ai-adaptation-works.md)** - AI tools and hints
417
+ - **[Technical Reference](./reference.md)** - Schema and defaults
418
+ - **[Troubleshooting](../troubleshooting.md)** - Debugging configuration issues
@@ -7,8 +7,8 @@ sidebar_position: 4
7
7
  mcp:
8
8
  uri: file:///docs/technical/coordinating-multiple-endpoints.md
9
9
  mimeType: text/markdown
10
- priority: 0.80
11
- lastModified: 2025-11-02T00:00:00Z
10
+ priority: 0.75
11
+ lastModified: 2026-02-03T00:00:00Z
12
12
  ---
13
13
 
14
14
  # Coordinating Multiple Endpoints
@@ -449,3 +449,12 @@ When coordination isn't working:
449
449
  7. **Cross-job coordination**: Embed external status checks in responses
450
450
 
451
451
  These patterns give you the building blocks for complex workflows. Mix and match based on your needs.
452
+
453
+ ---
454
+
455
+ ## See Also
456
+
457
+ - **[How AI Adaptation Works](./how-ai-adaptation-works.md)** - AI tools including sibling queries
458
+ - **[Configuration and Constraints](./configuration-and-constraints.md)** - Endpoint configuration
459
+ - **[Use Cases](../use-cases.md)** - Real-world examples
460
+ - **[Technical Reference](./reference.md)** - Response body patterns