docs(mcp): document mcpAutonomyUrlOverrides managed setting#1179
Open
factory-ain3sh wants to merge 3 commits into
Open
docs(mcp): document mcpAutonomyUrlOverrides managed setting#1179factory-ain3sh wants to merge 3 commits into
factory-ain3sh wants to merge 3 commits into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
|
Droid finished @factory-ain3sh's task —— View job Validated 1/1 candidate comment for posting; it flags a real internal consistency issue between this page and the Autonomy Level semantics around whether “high risk” always prompts. |
Add admin-facing docs for the org-managed mcpAutonomyUrlOverrides config option: the URL-rule shape (urlPattern + defaultLevel) and the matching/precedence behavior (remote-only, first-match-wins, safety escalation for non-read-only tools, built-in fallback). Closes CLI-730. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
The deprecated mint CLI used mint.json; the current Mintlify CLI uses docs.json. No mint binary is installed (only mintlify), so this removes the lingering source of confusion. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…ding (CLI-730) A defaultLevel of high sets a tool's risk classification, not an unconditional prompt; high-risk tools still follow the normal Autonomy Level comparison. Reword the Safety floor bullet to match auto-run semantics. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@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.
Description
Adds admin-facing documentation for the org-managed
mcpAutonomyUrlOverridessetting, which shipped in the managed-settings schema (factory-mono #14150) without public docs. The new "MCP autonomy URL overrides" subsection incli/configuration/mcp.mdxdocuments the URL-rule shape (urlPattern+defaultLevel), the matching/precedence behavior, and frames it as an admin-managed (MDM) setting alongside the existingmcpPolicydocs. Placed inmcp.mdxto follow the established pattern where MCP managed settings live next tomcpPolicyrather than in the hierarchical-settings schema list.Also replaces stale
mint.jsonreferences indocs/README.mdwithdocs.json(the deprecatedmintCLI usedmint.json; the currentmintlifyCLI usesdocs.json).Related Issue
Closes CLI-730
Follow-up flagged in review of factory-mono #14150 (pre-pr-checklist requires public docs for new config options).
Reviewer Guide
Read order:
docs/cli/configuration/mcp.mdx(the new## MCP autonomy URL overridessection) >docs/README.md(2-line tooling-config fix).Review depth: Standard — verify the documented behavior matches the source in
apps/cli/src/agent/shouldConfirmExecution.ts(resolveMcpUrlAutonomyOverride) and the schema inpackages/common/src/settings/schema.ts.Open for pushback: placement in
mcp.mdxvs. the hierarchical-settings schema list — chosemcp.mdxfor consistency withmcpPolicy.Risk & Impact
Low risk — documentation only, no code or schema changes. The one correctness risk is the docs drifting from the implementation; the matching rules (remote-only, first-match-wins,
high-always-confirms, non-read-only/destructive escalation, built-in fallback) were taken directly fromshouldConfirmExecution.ts.Verification
Behavior verified.
mintlify broken-linksrun fromdocs/passes with no broken links; all pages (including both edited files) parse cleanly. New internal links to/cli/user-guides/auto-runand/enterprise/hierarchical-settings-and-org-controlresolve.Content accuracy. URL-rule shape and precedence behavior cross-checked against
McpAutonomyUrlOverrideSchema(schema.ts) andresolveMcpUrlAutonomyOverride/resolveMcpToolImpactLevel(shouldConfirmExecution.ts).Not tested. No rendered-site visual check beyond link/parse validation — content is a standard table + list + JSON block matching existing page conventions.
Standard validators. mintlify broken-links clean.