1. ai
  2. /tools
  3. /cline

Cline

Cline is an open-source VS Code extension that runs autonomous coding agents — plan, edit files, run terminal commands, and connect MCP tools — without switching editors.

Last reviewed: June 2026

Cline UI labels, model providers, and pricing change between releases. Verify at cline.bot and the VS Code marketplace listing.

What it is good at

StrengthDetail
Open sourceInspect and fork the extension; no vendor IDE lock-in
VS Code nativeWorks in VS Code, VSCodium, and compatible forks
Multi-modelBring your own API keys — Anthropic, OpenAI, Google, local models
MCP supportConnect databases, docs, and internal APIs via MCP servers
Terminal integrationAgent runs shell commands with approval gates
Cost controlPay API providers directly; no separate Cline subscription required

Setup

# 1. Install from VS Code Extensions: search "Cline"
# 2. Open Cline panel (sidebar icon)
# 3. Configure API key in Cline settings for your chosen provider
SettingRecommendation
API providerMatch your org policy (Anthropic, OpenAI, etc.)
Auto-approveOff for file writes and terminal commands
MCPAdd servers in Cline MCP settings (same shape as Cursor)

Docs: Cline documentation.

Modes / core workflow

ModeUse when
PlanMulti-file feature; approve file list before edits
ActImplement approved plan; iterative fixes
ChatRead-only exploration; no file changes

Typical loop:

  1. Describe task with @file references to relevant paths
  2. Review proposed plan — reject scope creep
  3. Approve file edits and terminal commands one batch at a time
  4. Run tests locally; paste failures back into Cline
  5. Human diff review before commit

Same verification bar as Cursor Agent — see Verifying AI Output.

MCP with Cline

Configure MCP servers in Cline settings (JSON shape matches MCP Config Cheat Sheet):

{
  "mcpServers": {
    "my-dev-tools": {
      "command": "node",
      "args": ["./mcp-server/dist/index.js"],
      "env": { "DATABASE_URL": "${env:DATABASE_URL}" }
    }
  }
}

Use MCP for internal docs and read-only staging DB — not production writes without security review.

When to use it vs alternatives

Choose ClineChoose something else
Must stay in stock VS CodeCursor — dedicated AI IDE with deeper agent UX
Open-source requirementCopilot — enterprise deployment at scale
BYO API keys / local modelsClaude Code — terminal-first Anthropic agent
Budget: pay providers onlyDevin Desktop — multi-agent orchestration
Git-centric terminal workflowAider — lighter CLI pair programmer

See Choosing an AI Coding Tool.

Limitations

  • No built-in multi-repo orchestration like Devin Desktop
  • Agent quality depends entirely on the model and API key you configure
  • Enterprise SSO and audit features vary — confirm before regulated industries
  • You own prompt injection risk when MCP tools are enabled