2026-11-26 15:51 UTC

Cloudflare adds optional OAuth scopes for Wrangler and API MCP

state: expiredheat: lowuncertainty: mediumrelevance: mediummcp agentic-security oauthCloudflare

What is this?

Cloudflare’s August 22, 2026 changelog says Wrangler and the Cloudflare API MCP server now let users decline optional OAuth scopes during authorization; required scopes remain selected. This can narrow the permissions granted to these tools, but using a command or tool call that needs a declined scope requires reauthorization. The source establishes a consent-flow change, not independent evidence of its security impact or adoption.

Why it matters

Cloudflare’s change gives users a finer-grained way to limit what Wrangler and its API MCP server can do, rather than granting every optional permission at sign-in. That is a practical least-privilege control for developer tools and agents connected to cloud accounts, though declined permissions can interrupt workflows that need them and require reauthorization. The announcement establishes the feature, not how much it improves security in practice.

Current assessment

Cloudflare’s August 22, 2026 changelog says Wrangler and the Cloudflare API MCP server now support optional OAuth scopes. During authorization, users can edit the permissions they grant; required scopes stay selected, and a command or tool call needing a declined scope requires reauthorization. This is a first-party report of an available consent-flow change, relevant to limiting the authority of developer tools and MCP-connected agents. It does not establish adoption, security outcomes, or whether reauthorization is handled smoothly. Search results include an InfoQ report describing optional scopes as a broader client-owner capability, but the supplied primary changelog only confirms the user-facing behavior for Wrangler and the Cloudflare API MCP server; avoid generalizing beyond that without further primary evidence.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

08-21 14:00⭐ origin echo-reconstructedWrangler and the Cloudflare API MCP server now use optional OAuth scopes; users can edit granted permissions during authorization, required
Cloudflare on blog (echo) · attributed from hn.story.49684332
—
09-13 14:22first on hacker news · published · +552.4hChoose OAuth Scopes for Wrangler and the Cloudflare API MCP Server
cs1996
—
09-13 14:22amplified on hacker news 👑hn.story.49684332
cs1996
peak 1 · 1 comments · 98% of case engagement
09-13 15:20our radar first saw it · +553.4hdiscovery anchor: hn.story.49684332—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnChoose OAuth Scopes for Wrangler and the Cloudflare API MCP Server
Retrieved article excerpt

Open article · Retrieved 2026-09-13T15:22:33.050898+00:00

August 22, 2026

## Choose OAuth scopes for Wrangler and the Cloudflare API MCP server

[Agents](https://developers.cloudflare.com/agents/)[Workers](https://developers.cloudflare.com/workers/)

Wrangler and the [Cloudflare API MCP server](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/) now use optional OAuth scopes. During authorization, you can choose which optional scopes to grant instead of approving every scope requested by each client.

The consent dialog now includes the option to edit the permissions you grant to Wrangler or the Cloudflare API MCP server:

OAuth consent dialog with an Edit Permissions button

You can then choose which specific permissions to grant:

OAuth permission editor with controls for individual scopes

Required scopes remain selected. Choosing fewer optional scopes limits each tool's access to the permissions needed for your workflow.

If a command or tool call needs a scope that you declined, reauthorize the client and grant that scope.

For more information, refer to [`wrangler login`](https://developers.cloudflare.com/workers/wrangler/commands/general/#login) and [Edit optional permissions](https://developers.cloudflare.com/fundamentals/oauth/authorizing-an-application/#edit-optional-permissions).
cs199611
🟧 echo.blog ⭐Wrangler and the Cloudflare API MCP server now use optional OAuth scopes; users can edit granted permissions during authorization, required Cloudflare——

Interpretation history

Decision trace