Skip to content

docs: fix documentation discrepancies from reconciliation report 2026-03-13#1919

Merged
lpcox merged 2 commits intomainfrom
copilot/fix-working-directory-documentation
Mar 14, 2026
Merged

docs: fix documentation discrepancies from reconciliation report 2026-03-13#1919
lpcox merged 2 commits intomainfrom
copilot/fix-working-directory-documentation

Conversation

Copy link
Contributor

Copilot AI commented Mar 14, 2026

Addresses all 6 discrepancies identified in the nightly documentation reconciliation report (#2026-03-13).

Changes

AGENTS.md

  • Added Test-CI make target to Quick Start section (make test-ci — unit tests with coverage and JSON output for CI)
  • Removed stale test count — "21 comprehensive validation tests" updated to just "comprehensive validation tests" (count was stale)
  • Added 8 missing environment variables used in production code:
    • MCP_GATEWAY_GUARDS_MODE
    • MCP_GATEWAY_WASM_GUARDS_DIR
    • MCP_GATEWAY_GUARD_POLICY_JSON
    • MCP_GATEWAY_ALLOWONLY_SCOPE_PUBLIC
    • MCP_GATEWAY_ALLOWONLY_SCOPE_OWNER
    • MCP_GATEWAY_ALLOWONLY_SCOPE_REPO
    • MCP_GATEWAY_ALLOWONLY_MIN_INTEGRITY
    • RUNNING_IN_CONTAINER

README.md — Server Configuration Fields

  • Added headers field (HTTP headers for type: "http" servers)
  • Added tools field (optional tool filtering list)
  • Added registry field (informational URI to MCP registry)
  • Added guard field (per-server DIFC guard assignment, references [guards] section)
  • Added working_directory field (parsed but not yet implemented in launcher — noted as such)

README.md — TOML Configuration

  • Added guards_mode documentation as a TOML top-level config key with example snippet
  • Fixed sequential_launch section: was incorrectly stating the key goes in [gateway] section; corrected to top-level with example snippet

Closes #(issue number)

Copilot AI and others added 2 commits March 14, 2026 23:29
…-03-13

- AGENTS.md: add Test-CI make target to Quick Start
- AGENTS.md: remove stale '21 comprehensive' test count
- AGENTS.md: add 8 missing env vars (DIFC/guard/container)
- README.md: add working_directory, registry, guard, headers, tools server fields
- README.md: add guards_mode TOML top-level config key documentation
- README.md: fix sequential_launch section incorrectly referencing [gateway]

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot AI linked an issue Mar 14, 2026 that may be closed by this pull request
Copilot AI requested a review from lpcox March 14, 2026 23:35
@lpcox lpcox marked this pull request as ready for review March 14, 2026 23:37
Copilot AI review requested due to automatic review settings March 14, 2026 23:37
@lpcox lpcox merged commit 7e1e2c2 into main Mar 14, 2026
3 checks passed
@lpcox lpcox deleted the copilot/fix-working-directory-documentation branch March 14, 2026 23:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Documentation-only PR to resolve discrepancies flagged by the nightly documentation reconciliation report, aligning README/agent docs with current MCP Gateway configuration and CI/testing workflows.

Changes:

  • Document additional server config fields in README.md (headers, tools, registry, guard, working_directory) and clarify TOML placement for sequential_launch and guards_mode.
  • Update AGENTS.md Quick Start with make test-ci and refresh/expand documented environment variables used by the gateway.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
README.md Adds/adjusts configuration field documentation and TOML key placement examples.
AGENTS.md Adds test-ci make target to Quick Start; documents additional env vars used in production.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +204 to +205
- **`tools`** (optional): List of tool names to expose from this server
- If omitted or empty, all tools are exposed
Comment on lines +211 to +214
- **`guard`** (optional): Name of the guard to use for this server (DIFC)
- References a guard defined in the top-level `[guards]` section
- Enables per-server DIFC guard assignment independent of `guard-policies`
- Example: `guard = "github"` (uses the guard named `github` from `[guards.github]`)
Comment on lines +216 to +217
- **`working_directory`** (optional): Working directory for the server process
- **Note**: This field is parsed and stored but not yet implemented in the launcher; it has no runtime effect currently
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-03-13

3 participants