The Complete Cloudflare Workers, D1 & Durable Objects Agent Stack (Skills + MCP)
How to equip Claude Code, Cursor, and Grok Bot with official Cloudflare SKILL.md playbooks and the remote Cloudflare MCP server.
Shipping full-stack applications on Cloudflare Workers and D1 is 10x faster when your coding agent loads up-to-date wrangler.jsonc, Durable Objects, and Agents SDK playbooks before writing code.
Verified Capabilities Benchmarked in This Guide
Inspect Live JSON Feed ↗Cloudflare Official MCP — Workers, D1, R2, KV & Observability
Official Cloudflare remote Streamable HTTP MCP server: inspect and manage Workers scripts, D1 SQLite databases, R2 buckets, KV namespaces, and production l
Cloudflare Workers Production Architecture Playbook
Production engineering standards for Cloudflare Workers: V8 isolate memory limits, streaming Fetch responses, bindings security, CPU budgets, and observabi
Cloudflare Durable Objects Stateful Coordination Playbook
Build strongly consistent, single-threaded coordination actors with Cloudflare Durable Objects, SQLite storage backend, WebSockets hibernation, and alarms.
Wrangler CLI Deployment & Resource Management Playbook
Deterministic workflow for configuring `wrangler.jsonc`, provisioning D1/KV/R2 bindings, managing secrets, and running preview vs production deployments.
Cloudflare Agents SDK Stateful AI Runtime Playbook
Build, debug, and deploy persistent AI agents on Cloudflare using the `agents` SDK (`Agent` class, `useAgent` client hooks, scheduled tasks, and MCP client
Next.js on Cloudflare Workers & OpenNext Migration Playbook
Deploy full-stack Next.js App Router applications to Cloudflare Workers using OpenNext and vinext with edge caching, ISR via R2/KV, and bindings integratio
1. Eliminating Hallucinated wrangler.toml Configs
By installing skill-workers-best-practices and skill-wrangler from LightState, your agent automatically uses modern wrangler.jsonc syntax, nodejs_compat flags, and parameterized D1 prepared statements.
2. Live Edge Inspection via Cloudflare Official MCP
Pair the static SKILL.md playbooks with https://mcp.cloudflare.com/mcp so your agent can inspect live D1 schemas, KV namespaces, and Worker tail logs directly.
Frequently Asked Questions
Where are Cloudflare skills sourced from in LightState?
They are curated from official Cloudflare open-source skill repositories and verified against production Wrangler deployments.