GitHub Copilot + Cloudflare·续

Tips

  • The Cloudflare API MCP server uses Code Mode — Copilot writes JavaScript against a typed API to reach any of 2,500+ endpoints in \~1,000 tokens.
  • Use @workspace in Copilot Chat to give the agent full context of your Workers project before asking it to build or deploy.
  • Commit a .github/copilot-instructions.md file with repository-wide conventions — Copilot loads it automatically on every interaction, complementing Skills which are loaded on demand.

FAQ

<details>

<summary>Does Copilot support Cloudflare Skills?

</summary>

Yes. GitHub Copilot added Agent Skills support for VS Code agent mode, the Copilot CLI, and the cloud agent. Run <code>npx skills add https://github.com/cloudflare/skills</code> to install them. Refer to the <a href="https://docs.github.com/en/copilot/concepts/agents/about-agent-skills">About agent skills ↗︎</a> guide for details on where Copilot looks for Skills.

</details>

<details>

<summary>Should I use Skills, the MCP server, a CLI, or all of them?

</summary>

All three. Skills load Cloudflare expertise into every agent-mode session. The Cloudflare API MCP server handles platform operations (DNS, WAF, Zero Trust, R2 buckets). Wrangler runs local dev and deploys in the VS Code terminal. The bundled <code>wrangler</code> Skill teaches Copilot when to reach for which. For tasks across the whole Cloudflare API, Copilot can also use the <a href="https://developers.cloudflare.com/cf/">Cloudflare CLI</a>, <code>cf</code>.

</details>

<details>

<summary>Can Copilot use the Cloudflare CLI?

</summary>

Yes. The <a href="https://developers.cloudflare.com/cf/">Cloudflare CLI</a>, <code>cf</code>, is in beta and covers the whole Cloudflare API and prints JSON output. Install it with <code>npm install -g cf</code>, sign in with <code>cf auth login</code>, and tell Copilot to prefer it in <code>.github/copilot-instructions.md</code> or <code>AGENTS.md</code>. Refer to <a href="https://developers.cloudflare.com/cf/agents/">Use cf with AI agents</a>.

</details>

<details>

<summary>Do I still need .github/copilot-instructions.md?

</summary>

It's complementary. Use custom instructions for simple repository-wide conventions that apply to almost every task (coding standards, preferred libraries). Use Skills for detailed, situational guidance Copilot should only load when relevant.

</details>

<details>

<summary>Can Copilot deploy to Cloudflare directly?

</summary>

Yes, via Wrangler or <code>cf</code> in the VS Code terminal, or via a GitHub Actions workflow that Copilot can generate for you.

</details>

Troubleshooting

<details>

<summary>Skills do not load in Copilot

</summary>

Skills only work in VS Code agent mode, the Copilot CLI, and the cloud agent — not with inline completion or plain chat. Switch Copilot Chat to agent mode. If Skills are still not discovered, refer to <a href="https://docs.github.com/en/copilot/concepts/agents/about-agent-skills">About agent skills ↗︎</a> for the paths Copilot checks.

</details>

<details>

<summary>MCP server not available in VS Code

</summary>

Ensure you are using VS Code 1.99+ which supports MCP natively. Add the server configuration to <code>.vscode/mcp.json</code>.

</details>

<details>

<summary>Getting outdated information about Cloudflare products

</summary>

Point the agent directly at <a href="https://developers.cloudflare.com/llms.txt">developers.cloudflare.com/llms.txt</a> for a directory of every product, or <code>developers.cloudflare.com/<product>/llms.txt</code> for a product-specific index.

</details>

Build agents on Cloudflare

Cloudflare is not just a deploy target for agents, it is a full stack for building your own.

Agents SDK Stateful AI agents with state, scheduling, RPC, email, streaming chat — and the Code Mode SDK for token-efficient tool use.Learn more Build an MCP server Ship a remote MCP server on Workers with OAuth, durable state, and streamable HTTP transport.Learn more Workers AI Run open-source LLMs, embedding models, and image models at the edge. Use it as your agent's model provider.Learn more Worker Loader Load user-generated code into isolated Workers on demand. The secure sandbox behind Code Mode.Learn more

Other agents

GitHub Copilot + Cloudflare·续 - 图1GitHub Copilot + Cloudflare·续 - 图2 Anthropic<h3>Claude Code</h3>Terminal-based coding agent that understands your codebase, runs commands, edits files, and manages git. Made by Anthropic.View guide GitHub Copilot + Cloudflare·续 - 图3GitHub Copilot + Cloudflare·续 - 图4 OpenAI<h3>Codex</h3>OpenAI coding agent available as a terminal CLI and desktop app. It reads and writes files, runs commands, and browses the web in a sandbox.View guide GitHub Copilot + Cloudflare·续 - 图5GitHub Copilot + Cloudflare·续 - 图6 Cursor<h3>Cursor</h3>AI-first IDE built on VS Code with multi-file Composer edits and background agents. Made by Cursor.View guide GitHub Copilot + Cloudflare·续 - 图7GitHub Copilot + Cloudflare·续 - 图8 Anomaly<h3>OpenCode</h3>Open-source terminal agent with a rich TUI that works with 75+ LLMs. Made by Anomaly.View guide GitHub Copilot + Cloudflare·续 - 图9GitHub Copilot + Cloudflare·续 - 图10 Mistral AI<h3>Vibe</h3>Coding agent for terminal, IDE, and cloud workflows that reads files, runs commands, writes code, and opens pull requests. Made by Mistral AI.View guide GitHub Copilot + Cloudflare·续 - 图11GitHub Copilot + Cloudflare·续 - 图12 Cognition<h3>Devin</h3>A full IDE with an agent manager built in — the command center for managing all your agents in one place. Made by Cognition.View guide GitHub Copilot + Cloudflare·续 - 图13GitHub Copilot + Cloudflare·续 - 图14 Microsoft<h3>Visual Studio Code</h3>Free, open-source code editor with native Model Context Protocol (MCP) client support and Copilot Chat integration. Made by Microsoft.View guide GitHub Copilot + Cloudflare·续 - 图15GitHub Copilot + Cloudflare·续 - 图16 Command Code<h3>Command Code</h3>Command Code is one of the most used coding agents for open models. It automatically learns your coding taste and self-improves as you work.View guide GitHub Copilot + Cloudflare·续 - 图17GitHub Copilot + Cloudflare·续 - 图18 LM Studio<h3>Bionic</h3>Powerful agent for coding and work. Natively local, with open models in the cloud. By LM Studio.View guide GitHub Copilot + Cloudflare·续 - 图19GitHub Copilot + Cloudflare·续 - 图20 Factory<h3>Droid</h3>Model-agnostic coding agent that plans, edits files, runs commands, and automates CI, from the terminal, desktop app, or cloud. Made by Factory.View guide

Was this helpful?

YesNo

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/agent-setup/github-copilot/#page","headline":"GitHub Copilot + Cloudflare","description":"Editor extension and CLI with agent mode, workspace context, and native PR integration. Made by GitHub.","url":"https://developers.cloudflare.com/agent-setup/github-copilot/","inLanguage":"en","image":"https://developers.cloudflare.com/agent-setup/github-copilot/og.png?v=6162f1c14230bc21","dateModified":"2026-10-05","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Open-source terminal agent with a rich TUI that works with 75+ LLMs. Made by Anomaly. title: OpenCode + Cloudflare image: https://developers.cloudflare.com/agent-setup/opencode/og.png?v=c6d479b47c893580


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 Copilot + Cloudflare·续 - 图21GitHub Copilot + Cloudflare·续 - 图22

Anomaly