Cloudflare docs MCP case study
Ship docs.clawql.com
Agent intent
Deploy the Next.js docs site to docs.clawql.com on Cloudflare Workers and verify custom-domain routing.
Recall prior context
memory_recall()Query the vault for “Cloudflare docs deploy”, Workers 1101, and OpenNext fs failures — skip dead ends from earlier sessions.
Discover control-plane ops
search()Rank Cloudflare REST operations for Workers custom domains and zone bindings — no multi‑MB OpenAPI in the prompt.
Attach hostname
execute()workers.domains.update — bind docs.clawql.com to the clawql-docs Worker with account_id, zone_id, and service name.
Deploy and verify
OpenNext build via Wrangler; HTTP 200 on /; wrangler tail clean after fixing fs.readdir and MDX prerender crashes.
Persist runbook
memory_ingest()Append deploy decisions and fixes to the vault with append: true and wikilinks — durable recall for the next incident.
