Skip to content

Commit db13c91

Browse files
Copilotlpcox
andcommitted
Add missing payload_dir documentation
- Add --payload-dir flag to README Usage section - Add MCP_GATEWAY_PAYLOAD_DIR to Environment Variables table - Document payload_dir configuration in config.example.toml Fixes documentation discrepancies identified in reconciliation report Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 38ac349 commit db13c91

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ Flags:
218218
-h, --help help for awmg
219219
-l, --listen string HTTP server listen address (default "127.0.0.1:3000")
220220
--log-dir string Directory for log files (falls back to stdout if directory cannot be created) (default "/tmp/gh-aw/mcp-logs")
221+
--payload-dir string Directory for storing large payload files (segmented by session ID) (default "/tmp/jq-payloads")
221222
--routed Run in routed mode (each backend at /mcp/<server>)
222223
--sequential-launch Launch MCP servers sequentially during startup (parallel launch is default)
223224
--unified Run in unified mode (all backends at /mcp)
@@ -254,6 +255,7 @@ When running locally (`run.sh`), these variables are optional (warnings shown if
254255
| `HOST` | Gateway bind address | `0.0.0.0` |
255256
| `MODE` | Gateway mode flag | `--routed` |
256257
| `MCP_GATEWAY_LOG_DIR` | Log file directory (sets default for `--log-dir` flag) | `/tmp/gh-aw/mcp-logs` |
258+
| `MCP_GATEWAY_PAYLOAD_DIR` | Large payload storage directory (sets default for `--payload-dir` flag) | `/tmp/jq-payloads` |
257259

258260
### Docker Configuration
259261

config.example.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ startup_timeout = 60
2929
# How long to wait for a tool call to complete before timing out
3030
tool_timeout = 120
3131

32+
# Directory for storing large payload files (default: /tmp/jq-payloads)
33+
# Payloads are segmented by session ID: {payload_dir}/{sessionID}/{queryID}/payload.json
34+
# Can also be set via MCP_GATEWAY_PAYLOAD_DIR environment variable or --payload-dir flag
35+
# payload_dir = "/tmp/jq-payloads"
36+
3237
# ============================================================================
3338
# MCP Server Configurations
3439
# ============================================================================

0 commit comments

Comments
 (0)