cloudflare/mcp-server-cloudflare @repo/mcp-common@0.20.5
cloudflare/mcp-server-cloudflare
Captured source
source ↗@repo/mcp-common@0.20.5
Repository: cloudflare/mcp-server-cloudflare
Tag: @repo/mcp-common@0.20.5
Published: 2026-04-30T14:50:34Z
Prerelease: no
Release notes:
Patch Changes
- f77355c: fix(mcp-common): allow
workfloweventTypeand treatwallTimeMs/cpuTimeMsas optional in observability response schema
The Workers Observability response schema (zCloudflareMiniEvent / zCloudflareEvent in packages/mcp-common/src/types/workers-logs.types.ts) was missing 'workflow' from the eventType enum, and zCloudflareEvent re-declared cpuTimeMs / wallTimeMs as required. Cloudflare Workflow events emit eventType: "workflow" and do not always include the time fields, so the workers-observability MCP's query_worker_observability tool would reject any response containing a workflow event with a Zod validation error and return no data to the caller.
This left the MCP unable to surface logs from any Worker built on Cloudflare Workflows. Adding 'workflow' to the enum and making the time fields optional unblocks those queries.