cloudflare-agents

Create and deploy Cloudflare Workers AI agents with MCP integration.

204|30|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/secondsky/claude-skills --skill cloudflare-agents-secondsky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-agents
Source: https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-agents/skills/cloudflare-agents
Command: npx skills add https://github.com/secondsky/claude-skills --skill cloudflare-agents-secondsky

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Build AI agents on Cloudflare Workers with MCP integration, tools, and LLM providers for scalable, autonomous workflows.

Core Features & Use Cases

  • Agent patterns, tools, and MCP integration
  • Web API, WebSocket, and browser bindings
  • Templates for basic, browser, and complex agent scenarios

Quick Start

Create a basic agent, wire bindings, and push to environment. Use templates for speed.

Frequently Asked Questions about cloudflare-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build AI agents on Cloudflare Workers?

Build AI agents on Cloudflare Workers by registering tools, integrating MCP protocol support, and connecting LLM providers like OpenAI, Anthropic, or Gemini. Use templates for basic, browser, or complex agent scenarios, then deploy to your Cloudflare environment with bindings like D1, KV, R2, or Durable Objects for state persistence.

Can I use MCP integration with Cloudflare agents?

Yes, MCP protocol support is built into Cloudflare agents, enabling tool registration and execution across multiple LLM providers. This allows your agents to handle tool use, LLM prompting, RAG, web rendering, and scheduled tasks within Cloudflare's serverless environment.

What bindings and storage options work with Cloudflare agents?

Cloudflare agents support bindings including D1 for databases, KV for key-value storage, R2 for object storage, and Durable Objects for state persistence. These bindings enable agents to read, write, and maintain state across autonomous workflows and tool executions.

How do I handle tool execution in a Cloudflare agent?

Register tools by defining their schemas and handlers, then execute them through the agent's tool-use mechanism. The agent routes LLM tool calls to registered handlers and returns results back to the LLM, enabling autonomous decision-making and workflow execution.

Do I need to manage infrastructure for Cloudflare agents?

No. Cloudflare agents run on Cloudflare Workers, which is serverless infrastructure. Deploy your agent code directly to the platform using templates; Cloudflare handles scaling, provisioning, and infrastructure management automatically.

What's the difference between basic and complex agent templates?

Basic templates provide simple agent setup with tool registration and LLM integration. Browser and complex templates add capabilities like web rendering, WebSocket connections, and multi-step workflows for more sophisticated autonomous agent scenarios.