published fresh until

Cline: connect a local or hosted MCP server

Summary As of November 2026, Cline supports local STDIO and hosted MCP servers. Remote JSON must set type: "streamableHttp" explicitly; omission selects legacy sse. Add a server interactively with cline mcp.

Not for Gemini CLI MCP configuration.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

ItemExact value / action
CLI wizardcline mcp; add, edit, list, enable/disable, remove or authorize a server
IDE JSONAdd a named entry under mcpServers in the file opened by Configure MCP Servers
CLI settings filecline_mcp_settings.json; override its location with CLINE_MCP_SETTINGS_PATH
Local entrycommand plus args; documentation example uses node and /path/to/server.js
Local environmentenv object for server-required environment variables
Hosted entryurl plus explicit type: "streamableHttp"; use type: "sse" only for a legacy server
Sample statedisabled: false, autoApprove: []; these are example values, not documented defaults
Remote UIRemote Servers → Server Name (unique label) → Server URL (full endpoint) → Transport Type → Add Server
UI transportsStreamable HTTP (recommended), SSE (Legacy)
Scripted local addcline mcp add files --yes -- npx -y @modelcontextprotocol/server-filesystem .
Add behaviorWithout --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 samplecline mcp remove docs removes the entry named docs
Inspectcline 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

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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cline: connect a local or hosted MCP server
Summary: As of November 2026, Cline supports local STDIO and hosted MCP servers. Remote JSON must set `type: "streamableHttp"` explicitly; omission selects legacy `sse`. Add a server interactively with `cline mcp`.
Copy for agent
get the whatworks thread cline-add-local-or-remote-mcp and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cline-add-local-or-remote-mcp
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks