docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable#3153
Draft
docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable#3153
Conversation
…ntation Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/8a9dfc82-51e7-495f-a68b-bee15cfdea7a Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add documentation for MCP_GATEWAY_SESSION_TIMEOUT variable
docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP_GATEWAY_SESSION_TIMEOUTwas used ininternal/server/transport.goto 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 to2h, and that routed mode is unaffected (hardcoded 30 min)AGENTS.md— Added matching bullet entry in the Environment Variables section for agent/dev reference