Coding Agent Setup, Workflows, MCP, and Comparison
How to pick a coding agent, compare workflows and tradeoffs, and connect agents to platform Skills and MCP.
This page summarizes Cloudflare’s developer documentation on agent setup: choosing a third-party coding agent, understanding where it runs, comparing pricing and context models, and wiring it to Cloudflare through Skills, Model Context Protocol (MCP), and related guides. Most linked material is Cloudflare’s hub and per-agent setup pages; a short note on Chrome DevTools for agents appears where vendors document debugging outside that hub.
Agent setup: how to pick a coding agent
Section titled “Agent setup: how to pick a coding agent”Agent setup is Cloudflare’s entry point when you already know you want a coding agent but need step-by-step instructions for a specific product.
Select an agent to get step-by-step setup instructions.
— Cloudflare, Agent setup
You filter agents by workflow (where the tool runs) and open the matching guide—for example Claude Code + Cloudflare, Cursor + Cloudflare, OpenCode + Cloudflare, or Visual Studio Code + Cloudflare. The hub also points to browse all agent setup guides from the main developer docs.
What each listed agent is for (plain-language roles)
Section titled “What each listed agent is for (plain-language roles)”Each agent page repeats a one-line role. Use these to narrow the list before you read a full guide:
| Agent | Role (from Cloudflare hub) | Dedicated setup page |
|---|---|---|
| Claude Code | Terminal agent: codebase, commands, edits, git (Anthropic) | Claude Code + Cloudflare |
| Codex | CLI/desktop agent; files, commands, sandboxed web (OpenAI) | Codex + Cloudflare |
| Cursor | VS Code–based IDE with Composer and background agents | Cursor + Cloudflare |
| GitHub Copilot | Editor extension and CLI; PR integration | GitHub Copilot + Cloudflare |
| OpenCode | Open-source terminal TUI; 75+ LLMs (Anomaly) | OpenCode + Cloudflare |
| Pi | Minimal extensible harness (Earendil) | Pi + Cloudflare |
| Vibe | Terminal, IDE, cloud; PRs (Mistral AI) | Vibe + Cloudflare |
| Devin | IDE with agent manager (Cognition) | Devin + Cloudflare |
| Visual Studio Code | Editor with native MCP client and Copilot Chat | Visual Studio Code + Cloudflare |
| Command Code | Popular agent for open models; learns coding taste | Command Code + Cloudflare |
| Bionic | Local-first; open models in the cloud (LM Studio) | Bionic + Cloudflare |
| Droid | Model-agnostic; CI automation (Factory) | Droid + Cloudflare |
For routing model traffic through Cloudflare separately from MCP setup, see Coding agents under AI Gateway integrations (lists agents such as Claude Code, Cursor, OpenCode, Pi, and Visual Studio Code).
Workflow: Terminal, IDE, Cloud, and Extension
Section titled “Workflow: Terminal, IDE, Cloud, and Extension”Where the agent runs changes how you work with it day to day. Cloudflare groups four workflow types on the hub:
| Workflow | When it fits |
|---|---|
| Terminal | Shell-based work: automation, scripting, CI pipelines |
| IDE | Full editor; visual diffs and multi-file edits |
| Cloud | Hosted infrastructure; async or long-running tasks |
| Extension | Plugs into an existing editor; light install |
Where the agent runs changes how you interact with it.
— Cloudflare, Agent setup
Per-agent pages tag which workflows apply. Examples from the cluster: Claude Code + Cloudflare lists Terminal, Standalone, Cloud, and Extension; Cursor + Cloudflare adds IDE; OpenCode + Cloudflare marks Open Source alongside terminal workflows.
Compare agents: capabilities, pricing, and context
Section titled “Compare agents: capabilities, pricing, and context”The hub’s Compare agents section contrasts capabilities, pricing, and how each tool handles context. The documentation states a single cross-cutting rule:
Every agent listed supports Skills and MCP.
— Cloudflare, Agent setup
Comparison table (from Cloudflare agent setup)
Section titled “Comparison table (from Cloudflare agent setup)”| Agent | Terminal | IDE | Extension | Cloud | Pricing | Model | Context | Open source |
|---|---|---|---|---|---|---|---|---|
| Bionic | No | No | No | Yes | Hybrid | Multi-provider | — | No |
| Claude Code | Yes | No | Yes | Yes | Subscription | Locked | Project memory | No |
| Codex | Yes | No | Yes | Yes | Hybrid | Locked | Project memory | Yes |
| Command Code | Yes | No | Yes | Yes | Subscription | Multi-provider | Project memory | No |
| Cursor | Yes | Yes | No | Yes | Subscription | Multi-provider | Indexed codebase | No |
| Devin | Yes | Yes | Yes | Yes | Subscription | Multi-provider | Indexed codebase | No |
| Droid | Yes | No | Yes | Yes | Hybrid | Multi-provider | Project memory | No |
| GitHub Copilot | Yes | No | Yes | Yes | Subscription | Multi-provider | Indexed codebase | No |
| OpenCode | Yes | No | Yes | No | BYOK | Multi-provider | Project memory | Yes |
| Pi | Yes | No | No | No | BYOK | Multi-provider | Project memory | Yes |
| Vibe | Yes | Yes | Yes | Yes | Hybrid | Multi-provider | Project memory | No |
| Visual Studio Code | Yes | Yes | Yes | No | BYOK | Multi-provider | Project memory | Yes |
Common conclusion: Subscriptions and hybrid plans cluster around commercial IDE and extension products; BYOK (bring your own API key) appears on open editors and harnesses (Pi, OpenCode, Visual Studio Code). Indexed codebase (persistent repo index) vs project memory (session-oriented memory) is the main context split—pick indexed tooling when the agent must retrieve arbitrary files on demand without re-uploading the tree each session.
Common tradeoffs when choosing an agent
Section titled “Common tradeoffs when choosing an agent”Cloudflare lists four decisions that recur when picking tooling:
Cloud vs local
Section titled “Cloud vs local”Cloud agents run on hosted infrastructure and read your code over the network. Local agents run on your own machine, with no code leaving it.
— Cloudflare, Agent setup
Bionic + Cloudflare is described as “natively local, with open models in the cloud,” which illustrates hybrid placement—not purely cloud, not purely offline.
Proprietary vs open source
Section titled “Proprietary vs open source”Proprietary agents ship under a closed license you don’t control. Open-source agents publish their source under an open license, so you can read, modify, or fork the code.
— Cloudflare, Agent setup
Codex + Cloudflare and OpenCode + Cloudflare are tagged Open Source on their setup pages; most subscription IDE agents in the table are not.
Locked model vs BYOK
Section titled “Locked model vs BYOK”Locked agents only work with the vendor’s own proprietary models. BYOK agents let you bring your own API key and switch between providers and models.
— Cloudflare, Agent setup
Locked model columns in the comparison table align with vendor bundles (e.g. Claude Code); BYOK rows suit teams standardizing on AI Gateway or direct provider APIs.
Session context vs indexed codebase
Section titled “Session context vs indexed codebase”Session context resets when you close the conversation. An indexed codebase is built up front and persists, letting the agent retrieve any file in the repo on demand.
— Cloudflare, Agent setup
Cursor, Devin, and GitHub Copilot use indexed codebase in the table; many terminal-first agents use project memory instead.
Cloudflare Skills and MCP on per-agent setup pages
Section titled “Cloudflare Skills and MCP on per-agent setup pages”Each + Cloudflare guide follows the same integration pattern: beside vendor docs, Cloudflare links Cloudflare Skills, Cloudflare Code Mode API MCP, and Cloudflare Domain Specific MCPs. Typical footer lines appear on GitHub Copilot + Cloudflare:
Cloudflare Skills· Cloudflare Code Mode API MCP· Cloudflare Domain Specific MCPs· GitHub Copilot DocsThe hub does not replace vendor install steps; it adds Cloudflare-specific Skills and MCP wiring on top of the agent’s own documentation (linked from each page as “Docs” or “CLI” where present, e.g. Command Code + Cloudflare includes CLI in its integration strip).
Run coding agents in a sandbox and switch runners
Section titled “Run coding agents in a sandbox and switch runners”For isolated execution on Cloudflare, Run coding agents in a sandbox describes agents running inside your sandbox and switching the runner. Documented examples include:
- Codex — edit a GitHub repository with the Codex CLI calling OpenAI models through AI Gateway.
- OpenCode — edit a repository with OpenCode calling models through AI Gateway.
The default Dockerfile reference notes an OpenCode image variant that bundles the OpenCode CLI “for AI-powered coding agents.”
Workers observability: coding agents as automation destinations
Section titled “Workers observability: coding agents as automation destinations”Separately from day-to-day setup, Set up an automation documents coding agents as destinations when an issue automation fires:
Claude Code, Cursor, and Devin are supported prebuilt coding-agent integrations. An automation sends the selected agent an issue summary and captured diagnostic context. The agent can inspect a connected repository and propose code and test changes. You review and deploy those changes.
— Cloudflare, Set up an automation
Required fields differ by integration (routine ID and token for Claude Code, webhook URL for Cursor, token and organization ID for Devin). That path is for reactive fixes from observability events, not for initial MCP/Skills configuration on a laptop.
Chrome DevTools and other agents
Section titled “Chrome DevTools and other agents”Google documents Chrome DevTools for agents for debugging agent-driven browser work. For agents other than the primary DevTools flow, the page directs you to instructions in Google’s GitHub repository:
If you are using any other coding agent like Copilot or OpenCode, follow the instructions on our GitHub repository.
— Google Chrome, Chrome DevTools for agents
Visual Studio Code + Cloudflare highlights the editor’s native Model Context Protocol (MCP) client support, which matters when you debug MCP-connected agents alongside DevTools.
Perplexity Agent API (optional connector pattern)
Section titled “Perplexity Agent API (optional connector pattern)”If you combine a sandboxed agent API with GitHub, Perplexity’s Sandbox docs note that the GitHub connector lets the model use connected credentials in sandbox commands when both sandbox and connector are enabled—overlapping with Cloudflare’s GitHub-oriented sandbox examples but on a different platform. See Connectors for request shape.
Common mistakes
Section titled “Common mistakes”- Choosing by brand, not workflow — An IDE agent is a poor fit for headless CI unless its Terminal or Cloud surface is supported and documented on the setup page.
- Ignoring the context column — Large monorepos often need indexed codebase; session-only project memory may miss files unless you re-scope each chat.
- Assuming MCP replaces AI Gateway — Coding agents integration is about model routing; MCP/Skills on setup pages are about Cloudflare product APIs and domain tools.
- Mixing sandbox runners without re-reading the doc — Run coding agents in a sandbox expects an explicit runner switch when moving between Codex and OpenCode patterns.
How to check this on your site
Section titled “How to check this on your site”-
Open Agent setup, confirm your agent appears in Pick your agent and note its workflow tags (Terminal, IDE, Cloud, Extension).
-
On your agent’s + Cloudflare page (for example Cursor + Cloudflare), verify Cloudflare Skills, Code Mode API MCP, and Domain Specific MCPs are configured per that page—not only the vendor’s default install.
-
If you route LLM calls through Cloudflare, cross-check the agent name under Coding agents and complete that integration’s setup guide for your tool.
-
For sandboxed runs, follow Run coding agents in a sandbox and confirm the runner matches the CLI you use (Codex vs OpenCode).
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the linked documentation, email yimasynthetic@gmail.com with the page URL and the exact sentence you think is wrong, and we will clarify or correct it.