Skip to content

Commit 5a53e80

Browse files
Version Packages (#385)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a358e69 commit 5a53e80

39 files changed

Lines changed: 655 additions & 106 deletions

.changeset/bump-workers-oauth-provider.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.changeset/centralize-account-id-resolution.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.changeset/upgrade-agents-mcp-sdk-zod-ai.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/ai-gateway/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# cloudflare-ai-gateway-mcp-server
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- f625075: Centralize Cloudflare account resolution and remove the account-management tools.
8+
9+
The `accounts_list` and `set_active_account` tools are removed. Account scoping is now
10+
resolved automatically by an `AccountManager` (via the new `server.accountTool()`
11+
registration), in priority order:
12+
13+
1. **Auth-pinned account** — an account-scoped API token's account, or an OAuth token with a
14+
single account, is used automatically (no `account_id` parameter is exposed).
15+
2. **`cf-account-id` request header** — for tokens that can access multiple accounts, set this
16+
header in your MCP client config to pick an account.
17+
3. **`account_id` tool argument** — for multi-account tokens, account-scoped tools expose an
18+
optional `account_id` parameter; when omitted (and no header is set) the tool returns an
19+
error listing the accounts you can use. Multi-account credentials also list their accounts
20+
in the server's `initialize` instructions.
21+
22+
All tool error responses now set `isError: true` so clients can distinguish failures.
23+
24+
### Patch Changes
25+
26+
- a358e69: Upgrade `@cloudflare/workers-oauth-provider` 0.4.0 → 0.7.0.
27+
28+
No tool or behavior changes. The only API change affecting this repo is that
29+
`TokenExchangeCallbackOptions` now carries a required `grantId` field, which only
30+
touched a test fixture (the provider supplies it at runtime).
31+
32+
- f625075: Upgrade core dependencies: `agents` 0.2.19 → 0.13.3, `@modelcontextprotocol/sdk` 1.20.2 →
33+
1.29.0, `zod` 3 → 4, and `ai` 4 → 6.
34+
35+
No user-facing tool or behavior changes. Internal adjustments for the new versions:
36+
37+
- `zod` 4: `z.record(...)` now takes an explicit key schema; `z.string().ip()` replaced with
38+
`z.ipv4()`/`z.ipv6()` validation; dropped the removed `objectOutputType` helper.
39+
- `agents` 0.13: `McpAgent` env generic is constrained to `Cloudflare.Env`.
40+
- MCP SDK 1.29: tool `annotations` hints must be flat (`{ title, readOnlyHint, ... }`) — fixes a
41+
latent bug where nested hints were silently ignored.
42+
- `ai` 6: eval tooling updated (`LanguageModel`, `inputSchema`, `stopWhen`/`stepCountIs`, tool-call `input`).
43+
344
## 0.1.12
445

546
### Patch Changes

apps/ai-gateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudflare-ai-gateway-mcp-server",
3-
"version": "0.1.12",
3+
"version": "0.2.0",
44
"private": true,
55
"scripts": {
66
"check:lint": "run-eslint-workers",

apps/auditlogs/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# auditlogs
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- f625075: Centralize Cloudflare account resolution and remove the account-management tools.
8+
9+
The `accounts_list` and `set_active_account` tools are removed. Account scoping is now
10+
resolved automatically by an `AccountManager` (via the new `server.accountTool()`
11+
registration), in priority order:
12+
13+
1. **Auth-pinned account** — an account-scoped API token's account, or an OAuth token with a
14+
single account, is used automatically (no `account_id` parameter is exposed).
15+
2. **`cf-account-id` request header** — for tokens that can access multiple accounts, set this
16+
header in your MCP client config to pick an account.
17+
3. **`account_id` tool argument** — for multi-account tokens, account-scoped tools expose an
18+
optional `account_id` parameter; when omitted (and no header is set) the tool returns an
19+
error listing the accounts you can use. Multi-account credentials also list their accounts
20+
in the server's `initialize` instructions.
21+
22+
All tool error responses now set `isError: true` so clients can distinguish failures.
23+
24+
### Patch Changes
25+
26+
- a358e69: Upgrade `@cloudflare/workers-oauth-provider` 0.4.0 → 0.7.0.
27+
28+
No tool or behavior changes. The only API change affecting this repo is that
29+
`TokenExchangeCallbackOptions` now carries a required `grantId` field, which only
30+
touched a test fixture (the provider supplies it at runtime).
31+
32+
- f625075: Upgrade core dependencies: `agents` 0.2.19 → 0.13.3, `@modelcontextprotocol/sdk` 1.20.2 →
33+
1.29.0, `zod` 3 → 4, and `ai` 4 → 6.
34+
35+
No user-facing tool or behavior changes. Internal adjustments for the new versions:
36+
37+
- `zod` 4: `z.record(...)` now takes an explicit key schema; `z.string().ip()` replaced with
38+
`z.ipv4()`/`z.ipv6()` validation; dropped the removed `objectOutputType` helper.
39+
- `agents` 0.13: `McpAgent` env generic is constrained to `Cloudflare.Env`.
40+
- MCP SDK 1.29: tool `annotations` hints must be flat (`{ title, readOnlyHint, ... }`) — fixes a
41+
latent bug where nested hints were silently ignored.
42+
- `ai` 6: eval tooling updated (`LanguageModel`, `inputSchema`, `stopWhen`/`stepCountIs`, tool-call `input`).
43+
344
## 0.1.13
445

546
### Patch Changes

apps/auditlogs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auditlogs",
3-
"version": "0.1.13",
3+
"version": "0.2.0",
44
"private": true,
55
"scripts": {
66
"check:lint": "run-eslint-workers",

apps/autorag/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# cloudflare-autorag-mcp-server
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- f625075: Centralize Cloudflare account resolution and remove the account-management tools.
8+
9+
The `accounts_list` and `set_active_account` tools are removed. Account scoping is now
10+
resolved automatically by an `AccountManager` (via the new `server.accountTool()`
11+
registration), in priority order:
12+
13+
1. **Auth-pinned account** — an account-scoped API token's account, or an OAuth token with a
14+
single account, is used automatically (no `account_id` parameter is exposed).
15+
2. **`cf-account-id` request header** — for tokens that can access multiple accounts, set this
16+
header in your MCP client config to pick an account.
17+
3. **`account_id` tool argument** — for multi-account tokens, account-scoped tools expose an
18+
optional `account_id` parameter; when omitted (and no header is set) the tool returns an
19+
error listing the accounts you can use. Multi-account credentials also list their accounts
20+
in the server's `initialize` instructions.
21+
22+
All tool error responses now set `isError: true` so clients can distinguish failures.
23+
24+
### Patch Changes
25+
26+
- a358e69: Upgrade `@cloudflare/workers-oauth-provider` 0.4.0 → 0.7.0.
27+
28+
No tool or behavior changes. The only API change affecting this repo is that
29+
`TokenExchangeCallbackOptions` now carries a required `grantId` field, which only
30+
touched a test fixture (the provider supplies it at runtime).
31+
32+
- f625075: Upgrade core dependencies: `agents` 0.2.19 → 0.13.3, `@modelcontextprotocol/sdk` 1.20.2 →
33+
1.29.0, `zod` 3 → 4, and `ai` 4 → 6.
34+
35+
No user-facing tool or behavior changes. Internal adjustments for the new versions:
36+
37+
- `zod` 4: `z.record(...)` now takes an explicit key schema; `z.string().ip()` replaced with
38+
`z.ipv4()`/`z.ipv6()` validation; dropped the removed `objectOutputType` helper.
39+
- `agents` 0.13: `McpAgent` env generic is constrained to `Cloudflare.Env`.
40+
- MCP SDK 1.29: tool `annotations` hints must be flat (`{ title, readOnlyHint, ... }`) — fixes a
41+
latent bug where nested hints were silently ignored.
42+
- `ai` 6: eval tooling updated (`LanguageModel`, `inputSchema`, `stopWhen`/`stepCountIs`, tool-call `input`).
43+
344
## 0.1.12
445

546
### Patch Changes

apps/autorag/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudflare-autorag-mcp-server",
3-
"version": "0.1.12",
3+
"version": "0.2.0",
44
"private": true,
55
"scripts": {
66
"check:lint": "run-eslint-workers",

apps/browser-rendering/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# cloudflare-browser-mcp-server
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- f625075: Centralize Cloudflare account resolution and remove the account-management tools.
8+
9+
The `accounts_list` and `set_active_account` tools are removed. Account scoping is now
10+
resolved automatically by an `AccountManager` (via the new `server.accountTool()`
11+
registration), in priority order:
12+
13+
1. **Auth-pinned account** — an account-scoped API token's account, or an OAuth token with a
14+
single account, is used automatically (no `account_id` parameter is exposed).
15+
2. **`cf-account-id` request header** — for tokens that can access multiple accounts, set this
16+
header in your MCP client config to pick an account.
17+
3. **`account_id` tool argument** — for multi-account tokens, account-scoped tools expose an
18+
optional `account_id` parameter; when omitted (and no header is set) the tool returns an
19+
error listing the accounts you can use. Multi-account credentials also list their accounts
20+
in the server's `initialize` instructions.
21+
22+
All tool error responses now set `isError: true` so clients can distinguish failures.
23+
24+
### Patch Changes
25+
26+
- a358e69: Upgrade `@cloudflare/workers-oauth-provider` 0.4.0 → 0.7.0.
27+
28+
No tool or behavior changes. The only API change affecting this repo is that
29+
`TokenExchangeCallbackOptions` now carries a required `grantId` field, which only
30+
touched a test fixture (the provider supplies it at runtime).
31+
32+
- f625075: Upgrade core dependencies: `agents` 0.2.19 → 0.13.3, `@modelcontextprotocol/sdk` 1.20.2 →
33+
1.29.0, `zod` 3 → 4, and `ai` 4 → 6.
34+
35+
No user-facing tool or behavior changes. Internal adjustments for the new versions:
36+
37+
- `zod` 4: `z.record(...)` now takes an explicit key schema; `z.string().ip()` replaced with
38+
`z.ipv4()`/`z.ipv6()` validation; dropped the removed `objectOutputType` helper.
39+
- `agents` 0.13: `McpAgent` env generic is constrained to `Cloudflare.Env`.
40+
- MCP SDK 1.29: tool `annotations` hints must be flat (`{ title, readOnlyHint, ... }`) — fixes a
41+
latent bug where nested hints were silently ignored.
42+
- `ai` 6: eval tooling updated (`LanguageModel`, `inputSchema`, `stopWhen`/`stepCountIs`, tool-call `input`).
43+
344
## 0.1.12
445

546
### Patch Changes

0 commit comments

Comments
 (0)