mcp-cron 0.2.2 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -9,6 +9,7 @@ Model Context Protocol (MCP) server for scheduling and managing tasks through a
9
9
  - [Manage tasks](#available-mcp-tools) via MCP protocol
10
10
  - Task execution with command output capture
11
11
  - Task persistence across restarts (SQLite)
12
+ - Multi-instance safe — multiple instances can share the same database without duplicate execution
12
13
 
13
14
  ## Installation
14
15
 
@@ -173,6 +174,7 @@ The following command line arguments are supported:
173
174
  | `--mcp-config-path` | Path to MCP configuration file | `~/.cursor/mcp.json` |
174
175
  | `--db-path` | Path to SQLite database for result history | `~/.mcp-cron/results.db` |
175
176
  | `--prevent-sleep` | Prevent system from sleeping while mcp-cron is running (macOS and Windows) | `false` |
177
+ | `--poll-interval` | How often to check for due tasks | `1s` |
176
178
 
177
179
  ### Environment Variables
178
180
 
@@ -199,6 +201,7 @@ The following environment variables are supported:
199
201
  | `MCP_CRON_MCP_CONFIG_FILE_PATH` | Path to MCP configuration file | `~/.cursor/mcp.json` |
200
202
  | `MCP_CRON_STORE_DB_PATH` | Path to SQLite database for result history | `~/.mcp-cron/results.db` |
201
203
  | `MCP_CRON_PREVENT_SLEEP` | Prevent system from sleeping while mcp-cron is running (macOS and Windows) | `false` |
204
+ | `MCP_CRON_POLL_INTERVAL` | How often to check for due tasks (Go duration format) | `1s` |
202
205
 
203
206
  ### Sleep Prevention
204
207
 
@@ -341,4 +344,4 @@ See [docs/testing.md](docs/testing.md) for the full testing guide, including int
341
344
  ## Acknowledgments
342
345
 
343
346
  - [modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) - Official Go SDK for the Model Context Protocol
344
- - [robfig/cron](https://github.com/robfig/cron) - Cron library for Go
347
+ - [robfig/cron](https://github.com/robfig/cron) - Cron expression parsing for Go
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-cron",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "MCP server for cron task scheduling (shell commands and AI prompts)",
5
5
  "license": "AGPL-3.0-only",
6
6
  "bin": {
@@ -11,11 +11,11 @@
11
11
  "url": "git+https://github.com/jolks/mcp-cron.git"
12
12
  },
13
13
  "optionalDependencies": {
14
- "mcp-cron-darwin-amd64": "0.2.2",
15
- "mcp-cron-darwin-arm64": "0.2.2",
16
- "mcp-cron-linux-amd64": "0.2.2",
17
- "mcp-cron-linux-arm64": "0.2.2",
18
- "mcp-cron-windows-amd64": "0.2.2",
19
- "mcp-cron-windows-arm64": "0.2.2"
14
+ "mcp-cron-darwin-amd64": "0.3.0",
15
+ "mcp-cron-darwin-arm64": "0.3.0",
16
+ "mcp-cron-linux-amd64": "0.3.0",
17
+ "mcp-cron-linux-arm64": "0.3.0",
18
+ "mcp-cron-windows-amd64": "0.3.0",
19
+ "mcp-cron-windows-arm64": "0.3.0"
20
20
  }
21
21
  }