@agiflowai/one-mcp 0.3.13 → 0.3.15
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 +9 -3
- package/dist/cli.cjs +579 -241
- package/dist/cli.mjs +541 -203
- package/dist/index.cjs +18 -12
- package/dist/index.d.cts +334 -23
- package/dist/index.d.mts +335 -23
- package/dist/index.mjs +2 -2
- package/dist/{http-_ThlSpST.mjs → src-CH93aUm2.mjs} +805 -167
- package/dist/{http-SFQFxDCq.cjs → src-CWShQS8u.cjs} +828 -166
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -390,6 +390,12 @@ npx @agiflowai/one-mcp mcp-serve --config ./mcp-config.yaml --clear-definitions-
|
|
|
390
390
|
# Start with HTTP transport
|
|
391
391
|
npx @agiflowai/one-mcp mcp-serve --config ./mcp-config.yaml --type http --port 3000
|
|
392
392
|
|
|
393
|
+
# Start stdio-http bridge (reuses existing HTTP server on host/port when available)
|
|
394
|
+
npx @agiflowai/one-mcp mcp-serve --config ./mcp-config.yaml --type stdio-http --host 127.0.0.1 --port 3000
|
|
395
|
+
|
|
396
|
+
# Start stdio-http bridge with explicit search proxy mode
|
|
397
|
+
npx @agiflowai/one-mcp mcp-serve --config ./mcp-config.yaml --type stdio-http --proxy-mode search --host 127.0.0.1 --port 3000
|
|
398
|
+
|
|
393
399
|
# Initialize config file
|
|
394
400
|
npx @agiflowai/one-mcp init --output mcp-config.yaml
|
|
395
401
|
|
|
@@ -497,9 +503,9 @@ The definitions cache stores tool schemas, prompt metadata, and prompt-based ski
|
|
|
497
503
|
| Option | Description | Default |
|
|
498
504
|
|--------|-------------|---------|
|
|
499
505
|
| `-c, --config` | Path to config file (YAML or JSON) | Required |
|
|
500
|
-
| `-t, --type` | Transport: `stdio`, `http`, `sse` | `stdio` |
|
|
501
|
-
| `-p, --port` | Port for HTTP/SSE | `3000` |
|
|
502
|
-
| `--host` | Host for HTTP/SSE | `localhost` |
|
|
506
|
+
| `-t, --type` | Transport: `stdio`, `http`, `sse`, `stdio-http` | `stdio` |
|
|
507
|
+
| `-p, --port` | Port for HTTP/SSE/stdio-http internal HTTP | `3000` |
|
|
508
|
+
| `--host` | Host for HTTP/SSE/stdio-http internal HTTP | `localhost` |
|
|
503
509
|
| `--no-cache` | Force reload config, bypass cache | `false` |
|
|
504
510
|
| `--definitions-cache` | Read tool/prompt/skill definitions from a specific JSON or YAML cache file | Auto-derived from config path |
|
|
505
511
|
| `--clear-definitions-cache` | Delete the effective definitions cache file before startup | `false` |
|