mcp-cron 0.2.0 → 0.2.2
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 +30 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -59,6 +59,32 @@ A more complete setup with AI provider, model selection, and sleep prevention:
|
|
|
59
59
|
}
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
#### Using LiteLLM
|
|
63
|
+
|
|
64
|
+
To route AI tasks through a [LiteLLM](https://docs.litellm.ai/) proxy:
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"mcpServers": {
|
|
69
|
+
"mcp-cron": {
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": [
|
|
72
|
+
"-y", "mcp-cron",
|
|
73
|
+
"--transport", "stdio",
|
|
74
|
+
"--prevent-sleep",
|
|
75
|
+
"--ai-base-url", "https://litellm.yourcompany.com",
|
|
76
|
+
"--ai-model", "claude-sonnet-4-5-20250929"
|
|
77
|
+
],
|
|
78
|
+
"env": {
|
|
79
|
+
"MCP_CRON_AI_API_KEY": "sk-your-litellm-key"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
> The `--ai-model` value should match a model name in your LiteLLM proxy config. LiteLLM exposes an OpenAI-compatible API, so `--ai-provider` can be omitted (defaults to `openai`).
|
|
87
|
+
|
|
62
88
|
> See [Command Line Arguments](#command-line-arguments) and [Environment Variables](#environment-variables) for all available options.
|
|
63
89
|
|
|
64
90
|
### Building from Source
|
|
@@ -302,18 +328,15 @@ mcp-cron/
|
|
|
302
328
|
└── README.md # Project documentation
|
|
303
329
|
```
|
|
304
330
|
|
|
305
|
-
### Building
|
|
331
|
+
### Building
|
|
306
332
|
|
|
307
333
|
```bash
|
|
308
|
-
# Build the application
|
|
309
334
|
go build -o mcp-cron cmd/mcp-cron/main.go
|
|
335
|
+
```
|
|
310
336
|
|
|
311
|
-
|
|
312
|
-
go test ./...
|
|
337
|
+
### Testing
|
|
313
338
|
|
|
314
|
-
|
|
315
|
-
go test ./... -cover
|
|
316
|
-
```
|
|
339
|
+
See [docs/testing.md](docs/testing.md) for the full testing guide, including integration tests and AI task tests.
|
|
317
340
|
|
|
318
341
|
## Acknowledgments
|
|
319
342
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-cron",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
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.
|
|
15
|
-
"mcp-cron-darwin-arm64": "0.2.
|
|
16
|
-
"mcp-cron-linux-amd64": "0.2.
|
|
17
|
-
"mcp-cron-linux-arm64": "0.2.
|
|
18
|
-
"mcp-cron-windows-amd64": "0.2.
|
|
19
|
-
"mcp-cron-windows-arm64": "0.2.
|
|
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"
|
|
20
20
|
}
|
|
21
21
|
}
|