docs/mcp/mcp-marketplace.mdx
MCP servers are specialized extensions that enhance Cline's capabilities. They enable Cline to perform additional tasks like fetching web pages, processing images, accessing APIs, and much more.
The MCP Marketplace provides a one-click installation experience for hundreds of MCP servers across various categories.
Corporate Users: If you're using Cline in a corporate environment, ensure you have permission to install third-party MCP servers according to your organization's security policies.
When you install an MCP server, several things happen automatically:
/Users/<username>/Documents/Cline/MCP//Users/<username>/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonuse_mcp_tool commandsaccess_mcp_resource commandsMake sure your system meets these requirements:
node --versionpython --versioncurl -LsSf https://astral.sh/uv/install.sh | sh
pip install uvuv --versionIf any of these commands fail or show older versions, please install/update before continuing!
To completely remove a faulty MCP server:
/Users/<username>/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonmcpServers objectIf you're getting an error when using an MCP server, you can try the following:
cline_mcp_settings.json file and the /Users/<username>/Documents/Cline/MCP/ directory)Cline is already aware of your active MCP servers and what they are for, but when you have a lot of MCP servers enabled, it can be useful to define when to use each server.
Utilize a .clinerules file or custom instructions to support intelligent MCP server activation through keyword-based triggers, making Cline's tool selection more intuitive and context-aware.
MCP Rules group your connected MCP servers into functional categories and define trigger keywords that activate them automatically when detected in your conversations with Cline.
{
"mcpRules": {
"webInteraction": {
"servers": ["firecrawl-mcp-server", "fetch-mcp"],
"triggers": ["web", "scrape", "browse", "website"],
"description": "Tools for web browsing and scraping"
}
}
}
When you write "Can you scrape this website?", Cline detects "scrape" and "website" as triggers, automatically selecting web-related MCP servers.
For finance tasks like "What's Apple's stock price?", keywords like "stock" and "price" trigger finance-related servers.
{
"mcpRules": {
"category1": {
"servers": ["server-name-1", "server-name-2"],
"triggers": ["keyword1", "keyword2", "phrase1", "phrase2"],
"description": "Description of what these tools do"
},
"category2": {
"servers": ["server-name-3"],
"triggers": ["keyword3", "keyword4", "phrase3"],
"description": "Description of what these tools do"
},
"category3": {
"servers": ["server-name-4", "server-name-5"],
"triggers": ["keyword5", "keyword6", "phrase4"],
"description": "Description of what these tools do"
}
},
"defaultBehavior": {
"priorityOrder": ["category1", "category2", "category3"],
"fallbackBehavior": "Ask user which tool would be most appropriate"
}
}
Add this to your .clinerules file or to your custom instructions to make Cline's MCP server selection more intuitive and context-aware.