Droid + Cloudflare


目录

import { Steps } from "/components"; import AgentHeader from "/components/agent-setup/AgentHeader.astro"; import PlatformAccess from "/components/agent-setup/PlatformAccessSection.astro"; import ExamplePromptsList from "/components/agent-setup/ExamplePromptsList.astro"; import RandomPrompt from "/components/agent-setup/RandomPrompt.astro"; import TipsList from "/components/agent-setup/TipsList.astro"; import FAQList from "/components/agent-setup/FAQList.astro"; import FAQItem from "/components/agent-setup/FAQItem.astro"; import TroubleshootingList from "/components/agent-setup/TroubleshootingList.astro"; import TroubleshootingItem from "/components/agent-setup/TroubleshootingItem.astro"; import BuildAgentsCallout from "/components/agent-setup/BuildAgentsCallout.astro"; import OtherAgents from "/components/agent-setup/OtherAgents.astro";

Quick start

1. **Install Droid**
	Install the Droid CLI. For Windows, Homebrew, or npm, refer to the [Droid quickstart guide](https://docs.factory.ai/cli/getting-started/quickstart).

	```bash
	curl -fsSL https://app.factory.ai/cli | sh
	```

2. **Install the Cloudflare plugin**

	From your shell, register the Cloudflare marketplace and install the plugin. This installs Cloudflare Skills and registers the Cloudflare MCP servers in one step.

	```bash
	droid plugin marketplace add https://github.com/cloudflare/skills
	droid plugin install cloudflare@skills
	```

3. **Launch Droid in your project**

	Start Droid from the root of your project, where `wrangler.jsonc` lives (if it already exists).

	```bash
	droid
	```

4. **Try a prompt**

	For example:

	<RandomPrompt />

Cloudflare platform access

Example prompts

Tips

FAQ

All three — and the Cloudflare plugin configures them together. Skills give Droid persistent Cloudflare knowledge (when to use Durable Objects vs KV, what a good Workers project layout looks like). The Cloudflare API MCP server handles platform operations (DNS, WAF, R2 buckets, Zero Trust). Wrangler runs local dev and Workers-specific commands. The `wrangler` Skill teaches Droid when to reach for which. The first time Droid calls a Cloudflare tool, it redirects you to authorize via OAuth and choose what permissions to grant. You can also manage authentication from the `/mcp` manager inside Droid. Yes. Run Droid from your existing project directory where `wrangler.jsonc` is located, and it will understand your project configuration and deploy accordingly. Yes. The [Factory desktop and web apps](https://docs.factory.ai/web/getting-started/overview) run the same agent with a graphical interface. Desktop sessions run on your local or remote machine and share the CLI's configuration, so the Cloudflare plugin from the Quick start is available there too. You can also run cloud sessions on Factory-managed machines, or use Droid inside VS Code, JetBrains IDEs, and Zed. Droid is model-agnostic. It ships with frontier models from Anthropic, OpenAI, and Google, and supports bring-your-own-key (BYOK) providers and local models. Switch models mid-session with the `/model` command.

Troubleshooting

Run `droid mcp list` from your shell to verify the Cloudflare servers are registered, or use the `/mcp` manager inside Droid to inspect connection status. If a server is stuck, remove and re-add it: `droid mcp remove cloudflare-api` then `droid mcp add cloudflare-api https://mcp.cloudflare.com/mcp --type http`. The MCP servers use OAuth. Open the `/mcp` manager inside Droid, select the Cloudflare server, and complete the authorization flow in your browser. Enable the Cloudflare docs MCP server so the agent can fetch current documentation at runtime. If you prefer not to use the MCP server, point the agent directly at developers.cloudflare.com/llms.txt for a directory of every product, or developers.cloudflare.com/<product>/llms.txt for a product-specific index.

Build agents on Cloudflare

Other agents


版本号 #2
由 壳壳虫 创建于 2026-10-31 23:20:53 UTC
由 壳壳虫 更新于 2026-10-31 23:20:54 UTC