Commit 40083e5
authored
docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable (#3153)
`MCP_GATEWAY_SESSION_TIMEOUT` was used in `internal/server/transport.go`
to configure unified mode session lifetime but was absent from all
documentation, leaving users with no visibility into this tuning knob.
## Changes
- **`docs/ENVIRONMENT_VARIABLES.md`** — Added entry to the "Optional
(Non-Containerized Mode)" table clarifying it applies only to unified
mode (`/mcp`), accepts Go duration strings, defaults to `2h`, and that
routed mode is unaffected (hardcoded 30 min)
- **`AGENTS.md`** — Added matching bullet entry in the Environment
Variables section for agent/dev reference2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments