mcp-cron 0.6.0 → 0.7.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.
- package/README.md +7 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ go build -o mcp-cron cmd/mcp-cron/main.go
|
|
|
105
105
|
|
|
106
106
|
## Usage
|
|
107
107
|
The server supports two transport modes:
|
|
108
|
-
- **
|
|
108
|
+
- **HTTP (Streamable HTTP)**: Default HTTP-based transport for browser and network clients
|
|
109
109
|
- **stdio**: Standard input/output transport for direct piping and inter-process communication
|
|
110
110
|
|
|
111
111
|
| Client | Config File Location |
|
|
@@ -114,10 +114,10 @@ The server supports two transport modes:
|
|
|
114
114
|
| Claude Desktop (Mac) | `~/Library/Application Support/Claude/claude_desktop_config.json`|
|
|
115
115
|
| Claude Desktop (Windows) | `%APPDATA%\Claude\claude_desktop_config.json` |
|
|
116
116
|
|
|
117
|
-
###
|
|
117
|
+
### HTTP (Streamable HTTP)
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
|
-
# Start the server with HTTP
|
|
120
|
+
# Start the server with Streamable HTTP transport (default mode)
|
|
121
121
|
# Default to localhost:8080
|
|
122
122
|
./mcp-cron
|
|
123
123
|
|
|
@@ -129,7 +129,7 @@ Config file example
|
|
|
129
129
|
{
|
|
130
130
|
"mcpServers": {
|
|
131
131
|
"mcp-cron": {
|
|
132
|
-
"url": "http://localhost:8080
|
|
132
|
+
"url": "http://localhost:8080"
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -164,7 +164,7 @@ The following command line arguments are supported:
|
|
|
164
164
|
|----------|-------------|---------|
|
|
165
165
|
| `--address` | The address to bind the server to | `localhost` |
|
|
166
166
|
| `--port` | The port to bind the server to | `8080` |
|
|
167
|
-
| `--transport` | Transport mode: `
|
|
167
|
+
| `--transport` | Transport mode: `http` or `stdio` | `http` |
|
|
168
168
|
| `--log-level` | Logging level: `debug`, `info`, `warn`, `error`, `fatal` | `info` |
|
|
169
169
|
| `--log-file` | Log file path | stdout |
|
|
170
170
|
| `--version` | Show version information and exit | `false` |
|
|
@@ -185,7 +185,7 @@ The following environment variables are supported:
|
|
|
185
185
|
|----------------------|-------------|---------|
|
|
186
186
|
| `MCP_CRON_SERVER_ADDRESS` | The address to bind the server to | `localhost` |
|
|
187
187
|
| `MCP_CRON_SERVER_PORT` | The port to bind the server to | `8080` |
|
|
188
|
-
| `MCP_CRON_SERVER_TRANSPORT` | Transport mode: `
|
|
188
|
+
| `MCP_CRON_SERVER_TRANSPORT` | Transport mode: `http` or `stdio` | `http` |
|
|
189
189
|
| `MCP_CRON_SERVER_NAME` | **Deprecated** — ignored; the server name is fixed to ensure self-reference detection works correctly | - |
|
|
190
190
|
| `MCP_CRON_SERVER_VERSION` | **Deprecated** — ignored; version is set at build time via ldflags | - |
|
|
191
191
|
| `MCP_CRON_SCHEDULER_DEFAULT_TIMEOUT` | Default timeout for task execution | `10m` |
|
|
@@ -227,7 +227,7 @@ MCP_CRON_PREVENT_SLEEP=true mcp-cron --transport stdio
|
|
|
227
227
|
|
|
228
228
|
### Logging
|
|
229
229
|
|
|
230
|
-
When running with the default
|
|
230
|
+
When running with the default HTTP transport, logs are output to the console.
|
|
231
231
|
|
|
232
232
|
When running with stdio transport, logs are redirected to a `mcp-cron.log` log file to prevent interference with the JSON-RPC protocol:
|
|
233
233
|
- Log file location: Same location as `mcp-cron` binary.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-cron",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
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.
|
|
15
|
-
"mcp-cron-darwin-arm64": "0.
|
|
16
|
-
"mcp-cron-linux-amd64": "0.
|
|
17
|
-
"mcp-cron-linux-arm64": "0.
|
|
18
|
-
"mcp-cron-windows-amd64": "0.
|
|
19
|
-
"mcp-cron-windows-arm64": "0.
|
|
14
|
+
"mcp-cron-darwin-amd64": "0.7.1",
|
|
15
|
+
"mcp-cron-darwin-arm64": "0.7.1",
|
|
16
|
+
"mcp-cron-linux-amd64": "0.7.1",
|
|
17
|
+
"mcp-cron-linux-arm64": "0.7.1",
|
|
18
|
+
"mcp-cron-windows-amd64": "0.7.1",
|
|
19
|
+
"mcp-cron-windows-arm64": "0.7.1"
|
|
20
20
|
}
|
|
21
21
|
}
|