Skip to content

docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable#3153

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-mcp-gateway-session-timeout-docs
Draft

docs: document MCP_GATEWAY_SESSION_TIMEOUT environment variable#3153
Copilot wants to merge 2 commits intomainfrom
copilot/add-mcp-gateway-session-timeout-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

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 reference

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
Copilot AI requested a review from lpcox April 4, 2026 04:16
Copilot finished work on behalf of lpcox April 4, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📚 Documentation Reconciliation Report - 2026-04-04

2 participants