@evantahler/mcpcli 0.2.3 → 0.2.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 +8 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,7 +80,6 @@ mcpcli search -q "manage pull requests"
|
|
|
80
80
|
| `-v, --verbose` | Show HTTP request/response headers and timing |
|
|
81
81
|
| `-S, --show-secrets` | Show full auth tokens in verbose output (unmasked) |
|
|
82
82
|
| `-j, --json` | Force JSON output (default when piped) |
|
|
83
|
-
| `--no-daemon` | Disable connection pooling |
|
|
84
83
|
|
|
85
84
|
## Managing Servers
|
|
86
85
|
|
|
@@ -236,22 +235,14 @@ Scenarios and keywords are extracted heuristically from tool names and descripti
|
|
|
236
235
|
|
|
237
236
|
## Environment Variables
|
|
238
237
|
|
|
239
|
-
| Variable
|
|
240
|
-
|
|
|
241
|
-
| `MCP_CONFIG_PATH`
|
|
242
|
-
| `MCP_DEBUG`
|
|
243
|
-
| `MCP_TIMEOUT`
|
|
244
|
-
| `MCP_CONCURRENCY`
|
|
245
|
-
| `MCP_MAX_RETRIES`
|
|
246
|
-
| `MCP_STRICT_ENV`
|
|
247
|
-
| `MCP_NO_DAEMON` | Disable connection pooling | `false` |
|
|
248
|
-
| `MCP_DAEMON_TIMEOUT` | Idle connection timeout (seconds) | `60` |
|
|
249
|
-
|
|
250
|
-
## Connection Pooling
|
|
251
|
-
|
|
252
|
-
mcpcli runs a lightweight daemon that keeps MCP server connections warm. Stdio processes stay alive and HTTP connections are reused across invocations. The daemon exits after `MCP_DAEMON_TIMEOUT` seconds of inactivity (default 60s).
|
|
253
|
-
|
|
254
|
-
Disable with `--no-daemon` or `MCP_NO_DAEMON=true` for one-shot usage.
|
|
238
|
+
| Variable | Purpose | Default |
|
|
239
|
+
| ----------------- | --------------------------- | ------------------- |
|
|
240
|
+
| `MCP_CONFIG_PATH` | Config directory path | `~/.config/mcpcli/` |
|
|
241
|
+
| `MCP_DEBUG` | Enable debug output | `false` |
|
|
242
|
+
| `MCP_TIMEOUT` | Request timeout (seconds) | `1800` |
|
|
243
|
+
| `MCP_CONCURRENCY` | Parallel server connections | `5` |
|
|
244
|
+
| `MCP_MAX_RETRIES` | Retry attempts | `3` |
|
|
245
|
+
| `MCP_STRICT_ENV` | Error on missing `${VAR}` | `true` |
|
|
255
246
|
|
|
256
247
|
## OAuth Flow
|
|
257
248
|
|