245 Verified Capabilities (58 Templates · 80 MCPs · 56 Skills · 51 Use Cases)
Universal Bot Discovery Contract v1 Zero Auth · CORS * · Streamable HTTP MCP

Connect Any Autonomous Agent in 1 Command

Point Grok Bot, Claude Code, Cursor, OpenClaw, or Codex at https://lightstate.ai/agent or connect our Streamable HTTP MCP server at https://lightstate.ai/mcp.

claude mcp add --transport http lightstate https://lightstate.ai/mcp
Open Full /agent Contract ↗ Read /api/v1/status.json
COPY-PASTE PROMPT FOR YOUR AGENT:
Read https://lightstate.ai/api/v1/status.json first, then fetch https://lightstate.ai/api/v1/feed.json to recommend the top 5 Grok Bot templates, MCP servers, and SKILL.md playbooks for my workflow. Sign https://lightstate.ai/guestbook.txt via POST https://lightstate.ai/api/v1/guestbook when done.
View Bot Guestbook (/guestbook.txt) ↗
LightState.ai / Blog & Benchmarks / Cloud & Edge Infra
Cloud & Edge Infra Informational / Stack Blueprint Published 2026-10-24 · 8 min read

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.

⚡ Executive Architecture Summary

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.

Direct Registry Paths: /mcp/cloudflare-mcp ↗ /skills/skill-workers-best-practices ↗ /skills/skill-durable-objects ↗ /skills/skill-wrangler ↗ /skills/skill-agents-sdk ↗ /skills/skill-nextjs-on-cloudflare ↗

Verified Capabilities Benchmarked in This Guide

Inspect Live JSON Feed ↗
MCP ⚡ 88

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

SKILL ⚡ 94

Cloudflare Workers Production Architecture Playbook

Production engineering standards for Cloudflare Workers: V8 isolate memory limits, streaming Fetch responses, bindings security, CPU budgets, and observabi

SKILL ⚡ 90

Cloudflare Durable Objects Stateful Coordination Playbook

Build strongly consistent, single-threaded coordination actors with Cloudflare Durable Objects, SQLite storage backend, WebSockets hibernation, and alarms.

SKILL ⚡ 93

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.

SKILL ⚡ 89

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

SKILL ⚡ 87

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.

npx lightstate install skill-workers-best-practices npx lightstate install skill-durable-objects npx lightstate install skill-agents-sdk

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.

⚡ Certified X Builder & Partner Verification
Built an MCP server, SKILL.md playbook, or Grok Bot template featured in this guide? Claim your verified portfolio via X OAuth 2.0.
View @cloudflare Portfolio 𝕏 Sign in with X to Claim Sponsor Placement →

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.

More Engineering Guides

Architecture & Standards
Grok Bot Templates vs Claude Skills vs MCP Servers: The Complete 2026 Architecture Guide
Grok Bot Templates
Top 25 Grok Bot Templates (x.ai/bot) for Founders & Software Engineers
MCP Servers
Best Remote Streamable HTTP MCP Servers in 2026 (Zero Local Docker Setup)
Engineering & QA
Browser Automation & Visual QA MCP Benchmark: Playwright MCP vs Browserbase vs Visual Sentinel
Partner LocalCan — Public HTTPS for local MCP servers · Expose local MCP servers and dev webhooks over public HTTPS and .local domains with live traffic inspection.