MCP servers in Cline

Cline is a VS Code extension that manages MCP servers through its "Configure MCP Servers" UI; the cline_mcp_settings.json file it writes lives in the extension's global-storage directory rather than the workspace. Entries sit under "mcpServers" and Cline adds its own "disabled", "alwaysAllow", and "networkTimeout" fields on top of the standard server shape. Remote servers connect natively.

Where the config lives

  • macOS / Linux: cline_mcp_settings.json

Worked example: Git

Here's the exact config to add the Git MCP server to Cline. Every server in the directory has a ready-to-paste Cline config like this.

Add to cline_mcp_settings.json

cline_mcp_settings.json
json
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ],
      "disabled": false,
      "alwaysAllow": [],
      "networkTimeout": 60000
    }
  }
}