by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
Cline empowers developers to delegate complex development tasks to an AI agent that can read and modify the codebase, run commands in the integrated terminal, interact with a headless browser, and even create custom MCP tools. Every action—file change, terminal command, or browser click—requires explicit user consent, ensuring a safe, human‑in‑the‑loop workflow.
Ctrl/Cmd + Shift + P
) and run "Cline: Open In New Tab" to launch the side‑panel.@url
, @problems
, @file
, @folder
shortcuts.Q: Do I need an API key? A: Yes. Configure your preferred provider (Anthropic, OpenAI, etc.) in the extension settings and supply the corresponding API key.
Q: Can Cline run commands without my permission? A: No. Every terminal command, file write, or browser action prompts for approval.
Q: Does Cline work with large repositories? A: It analyzes the project structure and selectively adds files/folders to context, preventing context‑window overflow.
Q: How are custom tools installed? A: Ask Cline to "add a tool"; it will generate an MCP server, install it into the extension, and make it available for future tasks.
Q: What platforms are supported? A: Any OS that runs VS Code (Windows, macOS, Linux).
Meet Cline (pronounced /klaɪn/, like "Klein"), an AI assistant that can use your CLI aNd Editor.
Thanks to Claude 3.7 Sonnet's agentic coding capabilities, Cline can handle complex software development tasks step-by-step. With tools that let him create & edit files, explore large projects, use the browser, and execute terminal commands (after you grant permission), he can assist you in ways that go beyond code completion or tech support. Cline can even use the Model Context Protocol (MCP) to create new tools and extend his own capabilities. While autonomous AI scripts traditionally run in sandboxed environments, this extension provides a human-in-the-loop GUI to approve every file change and terminal command, providing a safe and accessible way to explore the potential of agentic AI.
open -a "Google Chrome" index.html
, which you run with a click of a button.[!TIP] Use the
CMD/CTRL + Shift + P
shortcut to open the command palette and type "Cline: Open In New Tab" to open the extension as a tab in your editor. This lets you use Cline side-by-side with your file explorer, and see how he changes your workspace more clearly.
Cline supports API providers like OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras and Groq. You can also configure any OpenAI compatible API, or use a local model through LM Studio/Ollama. If you're using OpenRouter, the extension fetches their latest model list, allowing you to use the newest models as soon as they're available.
The extension also keeps track of total tokens and API usage cost for the entire task loop and individual requests, keeping you informed of spend every step of the way.
Thanks to the new shell integration updates in VSCode v1.93, Cline can execute commands directly in your terminal and receive the output. This allows him to perform a wide range of tasks, from installing packages and running build scripts to deploying applications, managing databases, and executing tests, all while adapting to your dev environment & toolchain to get the job done right.
For long running processes like dev servers, use the "Proceed While Running" button to let Cline continue in the task while the command runs in the background. As Cline works he’ll be notified of any new terminal output along the way, letting him react to issues that may come up, such as compile-time errors when editing files.
Cline can create and edit files directly in your editor, presenting you a diff view of the changes. You can edit or revert Cline's changes directly in the diff view editor, or provide feedback in chat until you're satisfied with the result. Cline also monitors linter/compiler errors (missing imports, syntax errors, etc.) so he can fix issues that come up along the way on his own.
All changes made by Cline are recorded in your file's Timeline, providing an easy way to track and revert modifications if needed.
With Claude 3.5 Sonnet's new Computer Use capability, Cline can launch a browser, click elements, type text, and scroll, capturing screenshots and console logs at each step. This allows for interactive debugging, end-to-end testing, and even general web use! This gives him autonomy to fixing visual bugs and runtime issues without you needing to handhold and copy-pasting error logs yourself.
Try asking Cline to "test the app", and watch as he runs a command like npm run dev
, launches your locally running dev server in a browser, and performs a series of tests to confirm that everything works. See a demo here.
Thanks to the Model Context Protocol, Cline can extend his capabilities through custom tools. While you can use community-made servers, Cline can instead create and install tools tailored to your specific workflow. Just ask Cline to "add a tool" and he will handle everything, from creating a new MCP server to installing it into the extension. These custom tools then become part of Cline's toolkit, ready to use in future tasks.
@url
: Paste in a URL for the extension to fetch and convert to markdown, useful when you want to give Cline the latest docs
@problems
: Add workspace errors and warnings ('Problems' panel) for Cline to fix
@file
: Adds a file's contents so you don't have to waste API requests approving read file (+ type to search files)
@folder
: Adds folder's files all at once to speed up your workflow even more
As Cline works through a task, the extension takes a snapshot of your workspace at each step. You can use the 'Compare' button to see a diff between the snapshot and your current workspace, and the 'Restore' button to roll back to that point.
For example, when working with a local web server, you can use 'Restore Workspace Only' to quickly test different versions of your app, then use 'Restore Task and Workspace' when you find the version you want to continue building from. This lets you safely explore different approaches without losing progress.
To contribute to the project, start with our Contributing Guide to learn the basics. You can also join our Discord to chat with other contributors in the #contributors
channel. If you're looking for full-time work, check out our open positions on our careers page!
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.
by wonderwhy-er
DesktopCommanderMCP is a Model Context Protocol (MCP) server that extends Claude's capabilities to include terminal control, file system search, and diff file editing. It transforms Claude into a powerful development and automation assistant by enabling AI to interact directly with your computer's file system and execute terminal commands.
by opensumi
A framework for quickly building AI native IDE products, supporting Model Context Protocol tools via an MCP server.
by evalstate
Create and interact with sophisticated AI agents and workflows using a declarative syntax, with built‑in support for MCP features, multimodal inputs, and a wide range of language model providers.