This release includes 3 breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Affected surfaces
ReleasePort's take
Moderate signalThe release removes the `accounts_list` and `set_active_account` tools.
Why it matters: Removal of accounts_list and set_active_account impacts integrations that rely on these tooling APIs; affected code must be updated before upgrading.
Summary
AI summaryUpdates Patch Changes, Minor Changes, and f625075 across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Breaking | High |
Removes `accounts_list` and `set_active_account` tools. Removes `accounts_list` and `set_active_account` tools. Source: llm_adapter@2026-06-02 Confidence: high |
— |
| Feature | Low |
Introduces `AccountManager` for automatic Cloudflare account resolution. Introduces `AccountManager` for automatic Cloudflare account resolution. Source: granite4.1:30b@2026-06-02-audit Confidence: low |
— |
| Feature | Low |
Adds `server.accountTool()` registration to centralize account scoping logic. Adds `server.accountTool()` registration to centralize account scoping logic. Source: granite4.1:30b@2026-06-02-audit Confidence: low |
— |
| Feature | Low |
Prioritizes auth-pinned account, `cf-account-id` header, and optional `account_id` argument for multi‑account tokens. Prioritizes auth-pinned account, `cf-account-id` header, and optional `account_id` argument for multi‑account tokens. Source: granite4.1:30b@2026-06-02-audit Confidence: low |
— |
| Dependency | Low |
Upgrades `@cloudflare/workers-oauth-provider` from 0.4.0 to 0.7.0. Upgrades `@cloudflare/workers-oauth-provider` from 0.4.0 to 0.7.0. Source: llm_adapter@2026-06-02 Confidence: high |
— |
| Dependency | Low |
Upgrades `agents` from 0.2.19 to 0.13.3, `@modelcontextprotocol/sdk` from 1.20.2 to 1.29.0, `zod` from 3 to 4, and `ai` from 4 to 6. Upgrades `agents` from 0.2.19 to 0.13.3, `@modelcontextprotocol/sdk` from 1.20.2 to 1.29.0, `zod` from 3 to 4, and `ai` from 4 to 6. Source: llm_adapter@2026-06-02 Confidence: high |
— |
| Bugfix | Low |
Tool error responses now set `isError: true` to distinguish failures. Tool error responses now set `isError: true` to distinguish failures. Source: granite4.1:30b@2026-06-02-audit Confidence: low |
— |
Full changelog
Minor Changes
-
f625075: Centralize Cloudflare account resolution and remove the account-management tools.
The
accounts_listandset_active_accounttools are removed. Account scoping is now
resolved automatically by anAccountManager(via the newserver.accountTool()
registration), in priority order:- Auth-pinned account — an account-scoped API token's account, or an OAuth token with a
single account, is used automatically (noaccount_idparameter is exposed). cf-account-idrequest header — for tokens that can access multiple accounts, set this
header in your MCP client config to pick an account.account_idtool argument — for multi-account tokens, account-scoped tools expose an
optionalaccount_idparameter; when omitted (and no header is set) the tool returns an
error listing the accounts you can use. Multi-account credentials also list their accounts
in the server'sinitializeinstructions.
All tool error responses now set
isError: trueso clients can distinguish failures. - Auth-pinned account — an account-scoped API token's account, or an OAuth token with a
Patch Changes
-
a358e69: Upgrade
@cloudflare/workers-oauth-provider0.4.0 → 0.7.0.No tool or behavior changes. The only API change affecting this repo is that
TokenExchangeCallbackOptionsnow carries a requiredgrantIdfield, which only
touched a test fixture (the provider supplies it at runtime). -
f625075: Upgrade core dependencies:
agents0.2.19 → 0.13.3,@modelcontextprotocol/sdk1.20.2 →
1.29.0,zod3 → 4, andai4 → 6.No user-facing tool or behavior changes. Internal adjustments for the new versions:
zod4:z.record(...)now takes an explicit key schema;z.string().ip()replaced with
z.ipv4()/z.ipv6()validation; dropped the removedobjectOutputTypehelper.agents0.13:McpAgentenv generic is constrained toCloudflare.Env.- MCP SDK 1.29: tool
annotationshints must be flat ({ title, readOnlyHint, ... }) — fixes a
latent bug where nested hints were silently ignored. ai6: eval tooling updated (LanguageModel,inputSchema,stopWhen/stepCountIs, tool-callinput).
Breaking Changes
- Removed `accounts_list` and `set_active_account` tools; account scoping now resolved automatically via Auth‑pinned token, `cf-account-id` header, or optional `account_id` parameter.
- Upgraded dependencies: agents 0.2.19 → 0.13.3 (McpAgent env generic constrained to Cloudflare.Env), @modelcontextprotocol/sdk 1.20.2 → 1.29.0 (annotations must be flat), zod 3 → 4 (z.record requires explicit key schema, string.ip replaced with ipv4/ipv6 validators, objectOutputType removed), ai 4 → 6 (eval tooling updates).
- Upgraded `@cloudflare/workers-oauth-provider` 0.4.0 → 0.7.0; `TokenExchangeCallbackOptions` now requires a `grantId` field.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About cloudflare/mcp-server-cloudflare
Integration with Cloudflare services including Workers, KV, R2, and D1
Related context
Related tools
Earlier breaking changes
- [email protected] Adds delete-class migration for UserDetails Durable Object in graphql server.
- [email protected] Removes `accounts_list` and `set_active_account` tools.
- [email protected] Removes `accounts_list` and `set_active_account` tools.
- [email protected] Removes `accounts_list` and `set_active_account` tools.
- [email protected] Removes `accounts_list` and `set_active_account` tools.
Beta — feedback welcome: [email protected]