mcp-cron 0.5.2 → 0.5.3
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 +2 -27
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +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. If you need isolated instances
|
|
12
|
+
- Multi-instance safe — multiple instances can share the same database without duplicate execution. The first instance per `--db-path` becomes the **primary** (keeps the scheduler alive); subsequent instances are **secondary** (serve their request and exit). If you need isolated instances, use a different `--db-path` for each.
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
@@ -313,31 +313,6 @@ Examples:
|
|
|
313
313
|
|
|
314
314
|
## Development
|
|
315
315
|
|
|
316
|
-
### Project Structure
|
|
317
|
-
|
|
318
|
-
```
|
|
319
|
-
mcp-cron/
|
|
320
|
-
├── cmd/
|
|
321
|
-
│ └── mcp-cron/ # Main application entry point
|
|
322
|
-
├── internal/
|
|
323
|
-
│ ├── agent/ # AI agent execution functionality
|
|
324
|
-
│ ├── command/ # Command execution functionality
|
|
325
|
-
│ ├── config/ # Configuration handling
|
|
326
|
-
│ ├── errors/ # Error types and handling
|
|
327
|
-
│ ├── logging/ # Logging utilities
|
|
328
|
-
│ ├── model/ # Data models and types
|
|
329
|
-
│ ├── scheduler/ # Task scheduling
|
|
330
|
-
│ ├── server/ # MCP server implementation
|
|
331
|
-
│ ├── sleep/ # Platform-specific system sleep prevention
|
|
332
|
-
│ ├── store/ # SQLite store (persistent task definitions + result history)
|
|
333
|
-
│ └── utils/ # Miscellaneous utilities
|
|
334
|
-
├── npm/ # npm packages (main + platform-specific binaries)
|
|
335
|
-
├── scripts/ # Build and publish scripts
|
|
336
|
-
├── go.mod # Go modules definition
|
|
337
|
-
├── go.sum # Go modules checksums
|
|
338
|
-
└── README.md # Project documentation
|
|
339
|
-
```
|
|
340
|
-
|
|
341
316
|
### Building
|
|
342
317
|
|
|
343
318
|
```bash
|
|
@@ -351,4 +326,4 @@ See [docs/testing.md](docs/testing.md) for the full testing guide, including int
|
|
|
351
326
|
## Acknowledgments
|
|
352
327
|
|
|
353
328
|
- [modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) - Official Go SDK for the Model Context Protocol
|
|
354
|
-
- [robfig/cron](https://github.com/robfig/cron) - Cron expression parsing for Go
|
|
329
|
+
- [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.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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.5.
|
|
15
|
-
"mcp-cron-darwin-arm64": "0.5.
|
|
16
|
-
"mcp-cron-linux-amd64": "0.5.
|
|
17
|
-
"mcp-cron-linux-arm64": "0.5.
|
|
18
|
-
"mcp-cron-windows-amd64": "0.5.
|
|
19
|
-
"mcp-cron-windows-arm64": "0.5.
|
|
14
|
+
"mcp-cron-darwin-amd64": "0.5.3",
|
|
15
|
+
"mcp-cron-darwin-arm64": "0.5.3",
|
|
16
|
+
"mcp-cron-linux-amd64": "0.5.3",
|
|
17
|
+
"mcp-cron-linux-arm64": "0.5.3",
|
|
18
|
+
"mcp-cron-windows-amd64": "0.5.3",
|
|
19
|
+
"mcp-cron-windows-arm64": "0.5.3"
|
|
20
20
|
}
|
|
21
21
|
}
|