Text of developers.cloudflare.com › agent-setup › github-copilot as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

GitHub Copilot + Cloudflare · Agent setup docs

Skip to content Documentation Index Fetch the complete documentation index at: https://developers.cloudflare.com/agent-setup/llms.txt Use this file to discover all available pages before exploring further. All agents GitHub GitHub Copilot + Cloudflare Editor extension and CLI with agent mode, workspace context, and native PR integration. Made by GitHub. Terminal Cloud Extension Cloudflare Skills · Cloudflare Code Mode API MCP · Cloudflare Domain Specific MCPs · GitHub Copilot Docs Quick start Install GitHub Copilot Install the GitHub Copilot extension in VS Code from the Visual Studio Marketplace ↗︎ .

For JetBrains IDEs, Visual Studio, or Xcode, see the Install the Copilot extension ↗︎ guide. Install Cloudflare Skills npx skills add https://github.com/cloudflare/skills Configure the Cloudflare MCP server For VS Code, add to .vscode/mcp.json . For Copilot CLI, add to ~/.copilot/mcp-config.json for user-level configuration or .mcp.json or .github/mcp.json for project-level configuration. For domain-specific MCP servers, refer to mcp-server-cloudflare ↗︎ .

For the full Cloudflare API MCP server (Code Mode), refer to cloudflare/mcp ↗︎ . { "mcpServers" : { "cloudflare" : { "url" : "https://mcp.cloudflare.com/mcp" } } } Try a prompt Open Copilot Chat ( Ctrl+Shift+I ), switch to agent mode, and try a prompt — for example: Deploy a globally distributed REST API on Workers with automatic scaling and zero cold starts. Cloudflare platform access Expand any section to learn more.

Cloudflare Skills Persistent platform context that teaches the agent how Cloudflare works. Skills are instructions the agent loads on demand. The cloudflare/skills bundle covers every layer of the platform — so the agent knows your conventions without you re-explaining them. agents-sdk Build, debug, or review Cloudflare Agents SDK applications using the agents package. basin Build and troubleshoot Cloudflare Basin analytics workflows with Basin Pipelines, Basin Catalog, and Basin SQL.

Use for streaming data into R2 Iceberg tables, managing catalogs, or querying those tables; also use for requests using the former Data Platform, Pipelines, R2 Data Catalog, or R2 SQL names. cf-cli Cloudflare's official cf CLI (beta) for the public Cloudflare API and Workers projects. Use for finding and running Cloudflare commands from the terminal — sign-in and profiles, cf cli search, cf schema, cf deploy/dev/build, resource commands for DNS, zones, D1, KV, and R2 — and for choosing between cf and Wrangler in a project. cloudflare Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security.

Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation. Also use when a Cloudflare-proxied site shows a Cloudflare error page, a `52x` status, a 1xxx error code, or a Cloudflare `403`, to decide whether to fix Cloudflare configuration or the origin. cloudflare-app-bootstrap Get a Cloudflare Workers app to a working local request by connecting its bindings, secrets, and initial data, then verifying real application behavior.

Use for app setup or onboarding after the project exists; use frameworks-on-cloudflare or cf-cli to create or configure the project, and wrangler or cf-cli for isolated commands. cloudflare-email-service Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration. cloudflare-one Design, configure, troubleshoot, or review Cloudflare One Zero Trust and SASE deployments.

Use cloudflare-one-migrations for migration planning from other vendors. Also use when an agent, script, crawler, or other non-browser client needs to reach a webpage or API protected by Cloudflare Access. cloudflare-one-migrations Assess and plan migrations from existing VPN, SWG, or SASE platforms to Cloudflare One, including policy mapping, parity gaps, and rollout. durable-objects Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination. frameworks-on-cloudflare Build, migrate, and deploy web-framework applications on Cloudflare Workers.

Use when a framework project such as Astro, SvelteKit, React Router, TanStack Start, Nuxt, Hono, or a React or Vue SPA targets Cloudflare, or when a framework repository contains Workers deployment configuration. gateway-workers Build, debug, or review Cloudflare Workers invoked by the Forward action in Gateway HTTP policies, including the GatewayMiddleware entrypoint, Gateway types, context, and continuation. k2 Build and troubleshoot Cloudflare K2 or K2 Streams durable logs.

Use for stream setup, producing from Workers or HTTP, configuring retention and inputs, and consuming through subscriptions. nextjs-on-cloudflare Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an existing app to Workers, choosing between vinext and OpenNext, or setting up vinext for Workers. For setup, migration, or deployment, install vinext's upstream skills with `npx skills add cloudflare/vinext` if missing, then read and follow the applicable skill and docs. sandbox-migrate-to-next Migrate Cloudflare Sandbox apps from stable @cloudflare/sandbox to @cloudflare/sandbox@next (SDK 1.0 preview).

Use sandbox-next for apps already on the preview. sandbox-next Build or maintain Cloudflare Sandbox apps on @cloudflare/sandbox@next (SDK 1.0 preview). Use sandbox-migrate-to-next when porting a stable app. sandbox-stable Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations. turnstile-spin Set up, repair, or migrate to Cloudflare Turnstile bot verification in an existing frontend and backend, including server-side Siteverify. web-perf Audit, diagnose, or optimize website loading and interaction performance, Core Web Vitals, and Lighthouse performance scores. workers-best-practices Cloudflare Workers best practices for production applications.

Use when writing, reviewing, or configuring Workers. workers-development Run, inspect, and debug Cloudflare Workers during local development with cf dev, wrangler dev, or the Cloudflare Vite plugin, using Local Explorer to read and seed binding data and query local traces and logs. Also routes production debugging to Workers observability. Use for debugging requests whether or not the project uses Wrangler. workers-profiling Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects.

Then use this information to optimize your code. wrangler Run or troubleshoot Wrangler CLI commands in projects that have a wrangler.jsonc, wrangler.json, or wrangler.toml file, including local development, Previews, deployment, and resource management. For new projects and projects without a Wrangler configuration file, use the cf CLI instead. MCP servers Live access to the Cloudflare API, docs, and observability. MCP servers provide typed tools to call into Cloudflare at runtime.

There are two options: Code Mode — a single server that covers the entire Cloudflare API (2,500+ endpoints in ~1,000 tokens) — or a set of focused, domain-specific servers hosted in the cloudflare/mcp-server-cloudflare repo. The full catalog is also in the MCP servers for Cloudflare docs. Cloudflare API MCP Server code mode Best when you want broad access across Cloudflare's APIs through code execution https://mcp.cloudflare.com/mcp Code mode API code mode Broad access to the full Cloudflare API via code execution, with minimal token overhead https://mcp.cloudflare.com/mcp Browser Run server Fetch web pages, convert them to markdown and take screenshots https://browser.mcp.cloudflare.com/mcp Cloudflare Blog server Search and read posts from the Cloudflare Blog https://blog.mcp.cloudflare.com/mcp Cloudflare One CASB

The rest of this page is on the live site.