Setup guide
How to add an MCP server to Cline
Cline (the VS Code AI agent extension) manages MCP servers from its own panel, writing them to a settings file.
Steps
- 1
Open the MCP panel
In Cline click the "MCP Servers" icon at the top of the panel.
- 2
Configure
Choose "Configure MCP Servers" to open cline_mcp_settings.json, or use the marketplace to install a server in one click.
- 3
Add the server
Add a named entry under "mcpServers" with the command and args, then save.
- 4
Use it
Cline reloads automatically; ask it for a task the server enables and approve the tool use.
Example
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"]
}
}
} FAQ
How do I add an MCP server to Cline?
Open the MCP Servers panel in Cline → Configure MCP Servers, then add the server under "mcpServers" in cline_mcp_settings.json. Cline also has a marketplace for one-click installs.
Does Cline auto-reload after editing the config?
Yes — Cline picks up changes to its MCP settings file without a manual restart in most cases.
Now pick a server to add
Browse verified MCP servers with copy-paste config for Cline and other clients.
Browse connectorsOther clients