Cursor + Cloudflare·续

Cloudflare MCP server repository

Available MCP servers, and when to use Code Mode versus traditional MCP servers.

FAQ

<details>

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

</summary>

All three work together. Skills give Cursor persistent Cloudflare knowledge loaded into every Composer prompt. The Cloudflare API MCP server handles platform operations (DNS, WAF, R2 buckets, Zero Trust). Wrangler runs local dev and Workers-specific commands. The bundled <code>wrangler</code> Skill teaches Cursor when to reach for which. For tasks across the whole Cloudflare API, Cursor can also use the <a href="https://developers.cloudflare.com/cf/">Cloudflare CLI</a>, <code>cf</code>.

</details>

<details>

<summary>Can Cursor 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 Cursor to prefer it in your project rules or <code>AGENTS.md</code>. Refer to <a href="https://developers.cloudflare.com/cf/agents/">Use cf with AI agents</a>.

</details>

<details>

<summary>How do I give Cursor access to Cloudflare?

</summary>

Install the Skills plugin (from the Cursor Marketplace, or Settings > Rules

Add Rule > Remote Rule with <code>cloudflare/skills</code>). The first time Cursor calls a Cloudflare tool, you will be redirected to authorize via OAuth and choose permissions.

</details>

<details>

<summary>Can Cursor deploy to Cloudflare without leaving the IDE?

</summary>

Yes. Ask Composer to deploy your project. Cursor runs <code>wrangler deploy</code> or <code>cf deploy</code> in the integrated terminal, depending on how the project is configured, and can also call the API MCP server for managed deploys and resource creation.

</details>

Troubleshooting

<details>

<summary>MCP server not connecting in Cursor

</summary>

Verify your <code>.cursor/mcp.json</code> configuration is valid JSON. Restart Cursor after making changes to the MCP config.

</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>

<details>

<summary>Composer does not understand Workers APIs

</summary>

Add Workers documentation to your project context. Use @-mentions to reference <code>wrangler.jsonc</code> or <code>cloudflare.config.ts</code>.

</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

Cursor + Cloudflare·续 - 图1Cursor + 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 Cursor + Cloudflare·续 - 图3Cursor + 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 Cursor + Cloudflare·续 - 图5Cursor + Cloudflare·续 - 图6 GitHub<h3>GitHub Copilot</h3>Editor extension and CLI with agent mode, workspace context, and native PR integration. Made by GitHub.View guide Cursor + Cloudflare·续 - 图7Cursor + Cloudflare·续 - 图8 Anomaly<h3>OpenCode</h3>Open-source terminal agent with a rich TUI that works with 75+ LLMs. Made by Anomaly.View guide Cursor + Cloudflare·续 - 图9Cursor + 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 Cursor + Cloudflare·续 - 图11Cursor + 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 Cursor + Cloudflare·续 - 图13Cursor + 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 Cursor + Cloudflare·续 - 图15Cursor + 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 Cursor + Cloudflare·续 - 图17Cursor + 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 Cursor + Cloudflare·续 - 图19Cursor + 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/cursor/#page","headline":"Cursor + Cloudflare","description":"AI-first IDE built on VS Code with multi-file Composer edits and background agents. Made by Cursor.","url":"https://developers.cloudflare.com/agent-setup/cursor/","inLanguage":"en","image":"https://developers.cloudflare.com/agent-setup/cursor/og.png?v=cd111722160e6c8a","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: A full IDE with an agent manager built in — the command center for managing all your agents in one place. Made by Cognition. title: Devin + Cloudflare image: https://developers.cloudflare.com/agent-setup/devin/og.png?v=561c22db409a0d78


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

Cursor + Cloudflare·续 - 图21Cursor + Cloudflare·续 - 图22

Cognition