Repository navigation
Document mount allowlist and testifylint enforcement - #16800
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the documentation updates reconcile the environment-variable, mount-policy, and contributor-lint guidance.
No open issues 🎉
What changed in this PR
This documentation-only PR reconciles environment-variable and contributor guidance with the gateway's mount policy and lint configuration.
Changes:
- Documents
MCP_GATEWAY_ALLOWED_MOUNT_ROOTS, including syntax, permissions, default roots, and enforcement timing. - Adds
testifylintto the enforced linter list in the contributor guide. - Notes a minor formatting issue where the mount syntax displays an unnecessary escape before the pipe.
| File | Description |
|---|---|
| docs/ENVIRONMENT_VARIABLES.md | Documents the MCP_GATEWAY_ALLOWED_MOUNT_ROOTS environment variable, including its syntax and default behavior. |
| CONTRIBUTING.md | Adds testifylint to the contributor guide's enforced linter list. |
Review effort: Lite (adaptive)
🔒 mcpg Read-Only Stress — defaultSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE (
|
The environment-variable reference omitted the mount allowlist, and the contributor guide omitted an enabled linter.
MCP_GATEWAY_ALLOWED_MOUNT_ROOTS, including override syntax, default permissions, built-in roots, and enforcement timing.testifylintto the enforced linter list.