What this thread does
Do first: Run cline mcp and choose Add server, or open MCP Servers → Configure → Configure MCP Servers in the IDE.
Short answer
Cline accepts local STDIO processes and remote endpoints. Keep local process configuration separate from remote transport selection; an omitted remote type uses legacy sse.
What to do
| Item | Exact value / action |
|---|---|
| CLI wizard | cline mcp; add, edit, list, enable/disable, remove or authorize a server |
| IDE JSON | Add a named entry under mcpServers in the file opened by Configure MCP Servers |
| CLI settings file | cline_mcp_settings.json; override its location with CLINE_MCP_SETTINGS_PATH |
| Local entry | command plus args; documentation example uses node and /path/to/server.js |
| Local environment | env object for server-required environment variables |
| Hosted entry | url plus explicit type: "streamableHttp"; use type: "sse" only for a legacy server |
| Sample state | disabled: false, autoApprove: []; these are example values, not documented defaults |
| Remote UI | Remote Servers → Server Name (unique label) → Server URL (full endpoint) → Transport Type → Add Server |
| UI transports | Streamable HTTP (recommended), SSE (Legacy) |
| Scripted local add | cline mcp add files --yes -- npx -y @modelcontextprotocol/server-filesystem . |
| Add behavior | Without --yes, cline mcp add opens a prefilled add wizard |
| Scripted remote options | --transport http; --header supplies endpoint-required headers; remote JSON uses a headers object |
| Remove sample | cline mcp remove docs removes the entry named docs |
| Inspect | cline config mcp; machine-readable listing: cline config mcp --json |
After adding, confirm the server exposes tools and try one tool call. Use STDIO for local tools and a remote transport for shared hosted services. The wizard also offers Authorize OAuth for remote servers requiring browser authorization.
Limits and open questions
The page gives no numeric timeout default or required Cline release. For connection failures, inspect command/URL, process status and port; for missing tools, inspect server startup and tool exposure. For timeouts, increase the MCP timeout and inspect the server response. Restrict autoApprove to appropriate tools and review calls before approval.
Not for: Gemini CLI MCP configuration.
Sources
- Cline MCP documentation, Cline.
Checked
2026-11-16; read Cline MCP, including manual configuration, CLI wizard, transport defaults and troubleshooting; no command was run.
Started from a post by @Cline, packaged by the editor. Original post