# How to add MCP servers to Cline

Cline reads MCP servers from ~/.cline/data/settings/cline_mcp_settings.json, under the "mcpServers" key. A local server’s entry is a command with args; a remote server’s entry is its URL in "url".

Last checked 25 Nov 2026. Page: https://ai-powered.com/clients/cline

## Quick facts

- Local servers: Yes (stdio)
- Remote servers: Streamable HTTP: Yes · SSE: Yes (URL field: url)
- Sign-in: OAuth: Partly · Headers: Yes (Browser sign-in is documented for the Cline CLI (cline mcp, then Authorize OAuth). Tokens can go in headers.)
- Tool approval: Yes
- Platforms: macOS, Windows and Linux

## Cline config files

| Scope | System | Path |
| --- | --- | --- |
| For you | All systems | `~/.cline/data/settings/cline_mcp_settings.json` |

## Servers that work in Cline

- [REA](https://ai-powered.com/mcp/rea): CLI and MCP server that lets coding agents reverse engineer apps and binaries
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser agents and cloud browsers for AI, with an MCP server for web tasks
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): MCP server for AI clients to scrape sites with HTTP and stealth browser sessions
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): Hosted MCP connector for creating and rendering videos from HTML through AI chat
- [Context7](https://ai-powered.com/mcp/context7): Version-specific library docs and code examples piped into coding agents via MCP
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): MCP server and CLI that let coding agents drive and inspect a live Chrome browser
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Local MCP server that builds a code knowledge graph for AI coding agents
- [GitHub](https://ai-powered.com/mcp/github): Official MCP server connecting AI assistants to GitHub repos, issues and workflows
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): MCP toolkit giving coding agents symbol-level code retrieval and editing
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): Local FFmpeg video and audio editing tools for coding agents over MCP
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): MCP server for managing and automating Home Assistant from AI assistants
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Open-source analytics app where an AI agent builds charts and dashboards from your data

## Troubleshooting

- A remote server won’t connect: Without a type, Cline treats a remote server as SSE. Set "type": "streamableHttp" for current servers.
- Where is the settings file in the editor?: Click the MCP Servers icon in the Cline panel, open Configure, then Configure MCP Servers. That opens cline_mcp_settings.json.
- Tool calls time out: Raise the server’s request timeout in MCP settings and check that the server answers on its own.
- A server stops responding: Use the restart option for that server in MCP settings.
- A local server fails with “npx” (or uvx, docker) not found: Apps started from a dock or menu may not see your terminal’s PATH. Use the full path of the command (run which npx in a terminal to find it), then restart Cline.
- You can’t tell whether the server or Cline is at fault: Test the server on its own with the MCP Inspector (npx @modelcontextprotocol/inspector). If it lists tools there, check the Cline setup.

## Safety

- Keep autoApprove to read-only tools you trust; everything else should ask first.
- Review each tool call before you approve it.
- Tokens in headers or env are stored in plain text in cline_mcp_settings.json.
- A local server runs on your computer with your access to files and the network. Add only servers whose source you trust.

## Questions

### Where is cline_mcp_settings.json?
The Cline CLI uses ~/.cline/data/settings/cline_mcp_settings.json (change it with CLINE_MCP_SETTINGS_PATH). In the editor, open it from MCP Servers → Configure → Configure MCP Servers.

### Why do I need "type": "streamableHttp"?
Cline falls back to the older SSE connection when type is missing, so most current remote servers fail without it.

### Can I add a remote server without editing JSON?
Yes. The Remote Servers tab asks for a name, the server URL and the transport type.

### How do I add a server from the Cline CLI?
Run cline mcp for a guided menu, or cline mcp add <name> --yes -- <command> for a local server and cline mcp add <name> <url> --transport http --yes for a remote one.

### Can I use local MCP servers in Cline?
Yes. Cline starts a local server as a command on your computer (stdio).

### Can Cline sign in to MCP servers with OAuth?
Partly. Browser sign-in is documented for the Cline CLI (cline mcp, then Authorize OAuth). Tokens can go in headers.

## Sources

- [Cline docs: Configuring MCP servers](https://docs.cline.bot/mcp/configuring-mcp-servers)
- [Cline docs: MCP overview](https://docs.cline.bot/mcp/mcp-overview)