mcp-cron 0.5.2 → 0.5.4
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 +5 -29
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +9,8 @@ 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
|
+
- Multi-instance safe — multiple instances can share the same database without duplicate execution
|
|
13
|
+
- Support multiple isolated instances with different `--db-path`
|
|
13
14
|
|
|
14
15
|
## Installation
|
|
15
16
|
|
|
@@ -185,8 +186,8 @@ The following environment variables are supported:
|
|
|
185
186
|
| `MCP_CRON_SERVER_ADDRESS` | The address to bind the server to | `localhost` |
|
|
186
187
|
| `MCP_CRON_SERVER_PORT` | The port to bind the server to | `8080` |
|
|
187
188
|
| `MCP_CRON_SERVER_TRANSPORT` | Transport mode: `sse` or `stdio` | `sse` |
|
|
188
|
-
| `MCP_CRON_SERVER_NAME` |
|
|
189
|
-
| `MCP_CRON_SERVER_VERSION` |
|
|
189
|
+
| `MCP_CRON_SERVER_NAME` | **Deprecated** — ignored; the server name is fixed to ensure self-reference detection works correctly | - |
|
|
190
|
+
| `MCP_CRON_SERVER_VERSION` | **Deprecated** — ignored; version is set at build time via ldflags | - |
|
|
190
191
|
| `MCP_CRON_SCHEDULER_DEFAULT_TIMEOUT` | Default timeout for task execution | `10m` |
|
|
191
192
|
| `MCP_CRON_LOGGING_LEVEL` | Logging level: `debug`, `info`, `warn`, `error`, `fatal` | `info` |
|
|
192
193
|
| `MCP_CRON_LOGGING_FILE` | Log file path | stdout |
|
|
@@ -313,31 +314,6 @@ Examples:
|
|
|
313
314
|
|
|
314
315
|
## Development
|
|
315
316
|
|
|
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
317
|
### Building
|
|
342
318
|
|
|
343
319
|
```bash
|
|
@@ -351,4 +327,4 @@ See [docs/testing.md](docs/testing.md) for the full testing guide, including int
|
|
|
351
327
|
## Acknowledgments
|
|
352
328
|
|
|
353
329
|
- [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
|
|
330
|
+
- [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.4",
|
|
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.4",
|
|
15
|
+
"mcp-cron-darwin-arm64": "0.5.4",
|
|
16
|
+
"mcp-cron-linux-amd64": "0.5.4",
|
|
17
|
+
"mcp-cron-linux-arm64": "0.5.4",
|
|
18
|
+
"mcp-cron-windows-amd64": "0.5.4",
|
|
19
|
+
"mcp-cron-windows-arm64": "0.5.4"
|
|
20
20
|
}
|
|
21
21
|
}
|