All plugins

Cloudflare

Workers, Wrangler, and Agents on Cloudflare

Nothing opened?

Cloudflare installs from inside ZeroTwo. Get the desktop app, then open this plugin from Plugins.

Cloudflare Workers run at the edge in 300+ global locations with near-zero latency. This plugin gives ZeroTwo deep platform knowledge — Workers patterns, Wrangler CLI, Durable Objects, KV, R2, D1, and the Agents SDK — plus official Cloudflare MCP tools to manage deployments and infrastructure directly from the conversation.

What an agent can do with Cloudflare

  • Build Workers apps

    The agent writes Cloudflare Workers code using Wrangler and platform knowledge covering storage options like KV, D1 and R2.

  • Create AI agents

    The agent builds stateful AI agents on Cloudflare using the Agents SDK, including state management, WebSockets and scheduled tasks, plus Durable Objects for coordination.

  • Build remote MCP servers

    The agent builds remote MCP servers on Cloudflare Workers with tools and OAuth authentication, or sandboxed apps for running code securely.

How to connect Cloudflare to ZeroTwo

  1. Open Cloudflare in ZeroTwo

    Press Open in ZeroTwo on this page, or find Cloudflare under Plugins in the app. Get the app first if it is not on this computer.

  2. Install the plugin

    Press Install. Cloudflare needs no account or key.

  3. Give an agent a task

    Ask an agent for work that needs Cloudflare, such as one of the example prompts below. The agent uses the plugin's tools to do it.

Example prompts3

  • CloudflareHow do I deploy a Worker with Wrangler?
  • CloudflareCreate a Durable Object for session management.
  • CloudflareShow me how to use KV storage in a Cloudflare Worker.

Skills9

  • Agents sdk

    Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Building ai agent on cloudflare

    Builds AI agents on Cloudflare using the Agents SDK with state management, real-time WebSockets, scheduled tasks, tool integration, and chat capabilities. Generates production-ready agent code deployed to Workers. Use when: user wants to "build an agent", "AI agent", "chat agent", "stateful agent", mentions "Agents SDK", needs "real-time AI", "WebSocket AI", or asks about agent "state management", "scheduled tasks", or "tool calling". Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Building mcp server on cloudflare

    Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, configures auth providers, and deploys to Workers. Use when: user wants to "build MCP server", "create MCP tools", "remote MCP", "deploy MCP", add "OAuth to MCP", or mentions Model Context Protocol on Cloudflare. Also triggers on "MCP authentication" or "MCP deployment". Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Cloudflare

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Durable objects

    Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Sandbox sdk

    Build sandboxed applications for secure code execution. Load when building AI code execution, code interpreters, CI/CD systems, interactive dev environments, or executing untrusted code. Covers Sandbox SDK lifecycle, commands, files, code interpreter, and preview URLs. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Web perf

    Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (FCP, LCP, TBT, CLS, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.

  • Workers best practices

    Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

  • Wrangler

    Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

Information6

Developer
Cloudflare
Category
Coding
Version
0.1.5

Questions

Does the Cloudflare plugin need an API key?

No. The Cloudflare server needs no account or key.

Does it cost anything?

The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything Cloudflare charges for is billed to your Cloudflare account.

What does Cloudflare receive?

Cloudflare gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.