docs(site): document two-level MCP permission model#742
Merged
jamesadevine merged 1 commit intoMay 25, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
--allow-tool <server>(Copilot CLI grants server access) +allowed: [tools](MCPG grants tool access).allowed:field description to cross-reference the new section.Changes
site/src/content/docs/reference/mcp.mdx:## Two-Level Permission Modelsection explaining:--allow-tool <server-name>(auto-generated by compiler from extensions + user-defined MCPs)allowed: [...](user-configured per server)--allow-toolis automatic (restricted bash vs wildcard bash modes)allowed:field description to reference the new sectionAccuracy checks
--allow-toolgeneration logic verified insrc/engine.rs→collect_allowed_tools():allowed_copilot_tools()trait method (github, safeoutputs, azure-devops)container:orurl:get--allow-toolentries (sorted alphabetically)allowed:enforcement confirmed via PR feat(mcp): filter SafeOutputs tools based on front matter config #156 (SafeOutputs tool filtering) and MCPG spec references in codebasebash: [":*"]or omitted bash →--allow-all-toolsinstead of individual flagsValidation
cd site && npm ci && npm run build— 29 pages built, all internal links validCreated by the docs-writer workflow.