Skip to content

docs: fix three documentation inaccuracies (port field, MCP methods, tracing var expansion)#7157

Merged
lpcox merged 2 commits into
mainfrom
copilot/fix-documentation-discrepancies
Jun 7, 2026
Merged

docs: fix three documentation inaccuracies (port field, MCP methods, tracing var expansion)#7157
lpcox merged 2 commits into
mainfrom
copilot/fix-documentation-discrepancies

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Three misleading or incorrect documentation claims identified by the nightly reconciliation report.

Changes

  • README.mdport field: Was "Listen port", implying it sets the server's bind address. The field is metadata-only (range-validated, never read by the server). Updated to direct users to --listen / MCP_GATEWAY_PORT for actual listen address control.

  • README.md — MCP methods: "forwarded as-is" implied arbitrary MCP methods are proxied to backends. Only tools/list and tools/call are proxied; all other methods are handled natively by the MCP SDK. Reworded accordingly.

  • docs/CONFIGURATION.md (line 413): Incorrectly listed [gateway.tracing] alongside [gateway.opentelemetry] as supporting ${VAR_NAME} expansion. expandTracingVariables() is only called when cfg.Gateway.Opentelemetry != nil; the legacy tracing block is never expanded. Corrected to match config.example.toml and CONTRIBUTING.md, which already had the right description.

Copilot AI linked an issue Jun 7, 2026 that may be closed by this pull request
- README.md: Correct `port` field description to clarify it is metadata-only
  and does not control the listen address; direct users to --listen flag or
  MCP_GATEWAY_PORT env var instead.
- README.md: Replace ambiguous "forwarded as-is" MCP methods description with
  accurate language distinguishing proxied methods from SDK-native lifecycle
  methods.
- docs/CONFIGURATION.md: Remove incorrect claim that [gateway.tracing] supports
  ${VAR} expansion; only [gateway.opentelemetry] fields are expanded.
Copilot AI changed the title [WIP] Fix discrepancies in documentation reconciliation report docs: fix three documentation inaccuracies (port field, MCP methods, tracing var expansion) Jun 7, 2026
Copilot finished work on behalf of lpcox June 7, 2026 16:56
Copilot AI requested a review from lpcox June 7, 2026 16:56
@lpcox lpcox marked this pull request as ready for review June 7, 2026 17:04
Copilot AI review requested due to automatic review settings June 7, 2026 17:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates user-facing documentation to correct three misleading claims called out by the nightly reconciliation report, aligning docs with current gateway behavior/config parsing.

Changes:

  • Clarify that the gateway.port field is metadata-only (range-validated) and does not control the actual bind/listen address.
  • Correct the description of which MCP methods are proxied vs handled by the MCP SDK session/lifecycle handling.
  • Fix TOML variable-expansion documentation to match implementation: ${VAR_NAME} expansion applies only to [gateway.opentelemetry], not legacy [gateway.tracing].
Show a summary per file
File Description
README.md Corrects port semantics and clarifies which MCP methods are proxied vs handled by the SDK.
docs/CONFIGURATION.md Fixes TOML variable-expansion claims to match the actual tracing/opentelemetry expansion path.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@lpcox lpcox merged commit 3811cc7 into main Jun 7, 2026
16 checks passed
@lpcox lpcox deleted the copilot/fix-documentation-discrepancies branch June 7, 2026 17: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-06-06

3 participants