You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@backblaze-labs/b2-mcp v0.2.3
Added
docs/TEST-COVERAGE-MAP.md: snapshot map of the existing tests to a shared
list of 38 B2 capabilities, with known gaps. (#469)
Test-only B2_TEST_REALM endpoint override and a local HTTPS fake endpoint,
so the built server can be driven in the protocol layer with no real
credentials. The override is inert unless NODE_ENV=test, trusts exactly one https: origin, and is covered by a basic-path stdio test (bucket and object
round trip, multipart, saveToPath). (#469)
Changed
The repository adopts the AI-native SDLC playbook: a one-page AGENTS.md with reference material in ARCHITECTURE.md and docs/TESTING.md, design artifacts in intent/, REVIEW.md and review lessons, pnpm run ci mirroring the required PR jobs, Claude Code hooks and playbook skills, agent evals, control bands and review metrics. No runtime or package change. (#528)
Net dependency changes since v0.2.2, as pinned in package.json: runtime @modelcontextprotocol/server2.0.0 → 2.4.0, zod4.5.4 → 4.6.7, pino10.3.1 → 10.4.0, @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner3.1125.0 → 3.1156.0, and @smithy/types 4.17.2 → 4.19.0 so the S3 peer adapter's command/type boundary stays on a
single version. Dev-only: @modelcontextprotocol/client2.4.0, @modelcontextprotocol/node2.1.2 (peer range server^2.4.0), @modelcontextprotocol/inspector2.12.0, @toon-format/toon4.4.0, typescript-eslint8.72.0, eslint-plugin-jsdoc65.1.0, vercel60.1.3, @vercel/node16.0.1, wrangler4.152.0 (direct miniflare pin 5.20261019.2-beta), and the GitHub Actions minor/patch group. eslint
stays at 10.9.1 because newer releases pull the quarantined @cacheable/*
packages, and @biomejs/biome is 2.5.15 because 2.6.x formats Markdown
and YAML by default and needs a config migration. Tool descriptions and a few
input-schema constraints also changed: the s3_copy_object and s3_get_object
content-type and copy-version descriptions were reworded, the multipart parts array bounds are now minimum 1 / maximum 10000 (minItems 1 / maxItems 10000), and the email pattern regex changed with the zod bump.
(#481, #500, #503, #504, #518, #525, #526, #527)
Adopt Changie release fragments, require release milestones, and verify release tags before preparing artifacts. (#563)
Breaking: Presigned uploads now bind the approved Content-Type header, so an uploader that omits it or sends a different one (for example curl -T) is rejected where v0.2.2 accepted it. Results include requiredHeaders; send them exactly as returned. (#567)
Tool input is now capped at 10,000 elements in total before schema validation runs, counted across all nested arrays and objects. Multipart completion is therefore limited by total elements rather than the advertised maxItems: 10000 on parts: 3,332 parts (10,000 elements) are accepted and 3,333 are rejected. Larger uploads need fewer, larger parts. (#525)
Remove the signed release tag requirement from the publish workflow; the workflow now requires an annotated tag that points at the release commit. (#644)
Fixed
s3_copy_object with REPLACE and s3_create_multipart_upload reject
browser-executable content types in the shared S3 adapter. An omitted or empty contentType is still permitted on s3_copy_object, which lets S3 reset it to
the default type instead of retaining the source type. COPY continues to ignore a supplied content type. (#542)
s3_put_object accepts an empty content string and stores a zero-byte
object instead of answering "Either filePath or content must be provided."
(#505)
Ignore non-CSV objects when choosing the comparison snapshot for usage growth. (#571)
Validate multipart copy source versions against their bucket and object key before copying. Versioned copies reject conflicting or malformed selectors; unversioned copy sources pass through unchanged.
Treat an empty copySourceVersionId as omitted for compatibility; embedded source versions are still validated; omit both version selectors to copy the current version.
Stage save-to-path downloads before creating destination directories so transfer failures leave no new directories or partial files. Finalization errors preserve parent directories; a hard kill can leave a .part file while the final path remains unchanged.
Local filesystem policy refusals for s3_put_objectfilePath and s3_get_objectsaveToPath, including a configured B2_FILE_ROOT that does not exist, now return bad_request (HTTP 400) instead of internal_error (HTTP 500). (#452)
Concurrent first report reads now reuse one S3 client, preventing an overwritten client from leaking. (#559)
Native B2 writes no longer replay after a 401 response, socket reset, or timeout; ambiguous outcomes return operation_status_unknown without SDK retries, while reads retain safe reauthorization retries. (#475)
Reject malformed base64 and conflicting input sources in s3_put_object, and
read local uploads through EOF within the inline size limit. (#553)
Preserve unexpected filesystem failures as server errors and reject local paths containing NUL bytes as bad_request. (#452)
Return the biggest storage declines first when usage growth uses shrinking order with a limit. (#558)
Anchor usage growth comparison windows to the latest available report snapshot. (#582)
Allow files and directories whose names begin with two dots inside a local
filesystem sandbox while continuing to reject paths outside it. (Refs #582)
Raise the HTTP and serverless MCP body cap to 2 MiB to allow 1 MiB inline uploads. (#582)
Keep temporary S3 fallback clients alive until download bodies finish or are
closed, and release them during shutdown. (Refs #582)
Preserve cancellation for batch version checks, contain HTTP auth hook failures, avoid retrying multipart aborts, and release retry listeners. (#587)
Avoid a sanitizer RangeError when a proxied array reports a length above the native array-length limit. Preserve intact redaction markers when configured secrets match their contents, while continuing to redact real secrets outside or across marker boundaries (#469).
Preserve underlying socket error codes in ambiguous-write warnings and keep unavailable optional diagnostic metadata from masking the original write outcome.
Preserve prototype-named metadata as sanitized own data without replacing object, array, or Error prototypes.
Treat only owned destructive detector entries as registered tools, so prototype-named unknown tools do not produce invalid effects or throw.
Isolate cached OAuth authorization metadata from mutations made by individual verifier callers.
Preserve durable-secret ledger write failure recovery, bounded replay, and ownership cleanup when synchronization fails.
Durable-credential failure messages no longer point operators to the critical log for the created key or account, which that log no longer records; they now say to find it by listing keys or accounts created at that time.
Security
Runtime dependency bump: @modelcontextprotocol/server2.0.0 → 2.4.0 and zod4.5.4 → 4.6.7. The matching dev-only @modelcontextprotocol/client
bump clears the client OAuth advisory (GHSA-6qxp-vccf-f47h). (#481, #525, #527)
Renewed the dev-only zod advisory exception (#524) in audit-policy.json to 2026-12-05 — re-checked 2026-11-02, still no patched zod 3.x (latest 3.25.76); reached only through dev-only @anthropic-ai/mcpb / vercel tooling, not the published package or any runtime path.
Patched transitive dev-toolchain advisories via pinned pnpm overrides: brace-expansion, proxy-addr, smol-toml, source-map-js, and sharp
(the librsvg advisory fixed in 0.35.5), in both the root and deploy/customer-hosted lockfiles. cross-spawn is overridden to 7.1.2
in the root, deploy/customer-hosted, and tools/mutation workspaces
for GHSA-ghv9-86vm-4v8m. (#481, #640) ws is overridden to the patched 8.23 line (GHSA 1251030), minimatch to
the patched 11.0.8+ line (GHSA 1251034/1244623), and tar pinned to 7.5.21
(GHSA 1251052); all dev-only, in the root and deploy/customer-hosted
lockfiles. (#640, #643, #647)
Patched the dev-only node-forge (GHSA-86w9-cpqp-85rv, fixed in 1.4.1) and qs (GHSA-6pq8-jhm2-2vcw, fixed in 6.16.1) advisories via pnpm overrides in
the root, deploy/customer-hosted, and tools/mutation workspaces, and
retired the node-forge and stale braces audit exceptions. The dev-only zod 3.x exception remains until a patched 3.x or the upstream tooling
moves. (#524)
Keep configured secrets redacted across nested MCP output, logs, and Error fields when supplied as a one-shot iterable. Found while closing sanitizer mutation-testing gaps (#469).
Restrict durable-secret post-create logs to fixed operation context and allowlisted recovery statuses, preventing provider results and callback-controlled details from exposing minted values.