
How to Add MCP Servers to Cline
cline.botOpen-source autonomous coding agent for VS Code with a built-in MCP marketplace for one-click installs. In VS Code, servers live in cline_mcp_settings.json — easiest to open via the Cline panel: MCP Servers icon → Configure MCP Servers. The standalone Cline CLI reads ~/.cline/mcp.json instead. Both use the standard mcpServers shape plus Cline's `disabled` and `autoApprove` fields.
Setup Guide
1. Locate the config file
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json2. Add a server configuration
Add the following to your JSON config:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"],
"disabled": false,
"autoApprove": []
}
}
}3. Restart Cline
Restart or reload Cline to pick up the new MCP server configuration.