docs/mcp/connecting-to-a-remote-server.mdx
To access the MCP Servers interface in Cline:
The MCP Servers interface is divided into three main tabs:
The "Remote Servers" tab allows you to connect to any MCP server that's accessible via a URL endpoint:
https://example.com/mcp-sse)Note: When connecting to a remote server, ensure you trust the source, as MCP servers can execute code in your environment.
Cline supports two transport protocols for remote MCP servers:
Some MCP servers (like Vercel's MCP) require OAuth authentication to access your data securely. When connecting to an OAuth-enabled server:
Once authenticated, your credentials are securely stored and the server will reconnect automatically when you reload Cline. You won't need to authenticate again unless you delete the server or your credentials expire.
If you're looking for MCP servers to connect to, several third-party marketplaces provide directories of available servers with various capabilities.
Warning: The following third-party marketplaces are listed for informational purposes only. Cline does not endorse, verify, or take responsibility for any servers listed on these marketplaces. These servers are cloud-hosted services that process your requests and may have access to data you share with them. Always review privacy policies and terms of use before connecting to third-party services.
Composio's MCP Marketplace provides access to a wide range of third-party servers that support the Model Context Protocol (MCP). These servers expose APIs for services like GitHub, Notion, Slack, and others. Each server includes configuration instructions and built-in authentication support (e.g. OAuth or API keys). To connect, locate the desired service in the marketplace and follow the integration steps provided there.
Smithery is a third-party MCP server marketplace that allows users to discover and connect to a variety of Model Context Protocol (MCP) servers. If you're using an MCP-compatible client (such as Cursor, Claude Desktop, or Cline), you can browse available servers and integrate them directly into your workflow.
To explore available options, visit the Smithery marketplace: https://smithery.ai
Please note: Smithery is maintained independently and is not affiliated with our project. Use at your own discretion.
Once added, your MCP servers appear in the "Configure" tab where you can:
Each server displays its current status:
Click on a server to expand its settings panel:
Toggle the switch next to each server to enable or disable it:
If a server fails to connect:
If you're having trouble authenticating with an OAuth-enabled server:
For advanced users, Cline stores MCP server configurations in a JSON file that can be modified:
{
"mcpServers": {
"exampleServer": {
"url": "https://example.com/mcp-server",
"type": "streamableHttp",
"disabled": false,
"autoApprove": ["tool1", "tool2"],
"timeout": 60
}
}
}
Key configuration options:
"streamableHttp" (recommended) or "sse" (legacy)For additional MCP settings, click the "Advanced MCP Settings" link to access VSCode settings.
Once connected, Cline can use the tools and resources provided by the MCP server. When Cline suggests using an MCP tool:
Vercel MCP is an OAuth-enabled server that provides tools for managing your Vercel projects and deployments:
vercelhttps://mcp.vercel.comYour Vercel authentication persists across sessions, so you won't need to re-authenticate each time you use Cline.