Skip to content

[Access] Document MCP portal Code Mode policies - #32432

Open
kennyj42 wants to merge 3 commits into
cloudflare:productionfrom
kennyj42:kjohnson/mcp-code-mode-config
Open

[Access] Document MCP portal Code Mode policies#32432
kennyj42 wants to merge 3 commits into
cloudflare:productionfrom
kennyj42:kjohnson/mcp-code-mode-config

Conversation

@kennyj42

Copy link
Copy Markdown
Collaborator

Summary

  • document the four MCP portal Code Mode policies and their client overrides
  • replace the deprecated allow_code_mode examples with code_mode
  • add an Access changelog entry

Testing

  • git diff --check origin/production...HEAD
  • full build parsed the changed MDX and rendered the new changelog page, then exceeded the 10-minute local timeout during RSS generation
  • pnpm run check is blocked by existing generated skill templates that cannot resolve ExportedHandler and Fetcher

Rollout

Keep this PR in draft until MCP-205 runtime support is ready to ship.

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Review

⚠️ 1 warning found in commit 5938034.

👉 Fix in your agent 👈
Fix the following review findings in PR #32432 (https://github.com/cloudflare/cloudflare-docs/pull/32432).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Style Guide Review

### Warnings (1)

#### SG-194d63cc7bb0 · Enable/disable for toggles
- **File:** `src/content/docs/cloudflare-one/access-controls/ai-controls/mcp-portals.mdx` line 474
- **Issue:** Line 474 uses `enabled` to describe toggle state (`whether they are currently enabled in the session`).
- **Fix:** Use `turned on` instead of `enabled` for toggle state, consistent with the rest of the page.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

Warnings (1)
File Issue
cloudflare-one/access-controls/ai-controls/mcp-portals.mdx line 474 Enable/disable for toggles — Line 474 uses enabled to describe toggle state (whether they are currently enabled in the session). Fix: Use turned on instead of enabled for toggle state, consistent with the rest of the page.
Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@kennyj42

kennyj42 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

/rebase

@kennyj42
kennyj42 force-pushed the kjohnson/mcp-code-mode-config branch from 7545350 to 34b2cd3 Compare August 4, 2026 15:53
@scaraclette

Copy link
Copy Markdown

LGTM!

@kennyj42
kennyj42 force-pushed the kjohnson/mcp-code-mode-config branch from 34b2cd3 to b51f535 Compare August 6, 2026 15:45
@kennyj42
kennyj42 enabled auto-merge (squash) August 6, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants