Skip to main content
Cline is a VS Code extension with its own MCP configuration, separate from the editor’s built-in Copilot support.

Add the server

Open the Cline panel, click the MCP Servers icon, then Configure MCP Servers. That opens cline_mcp_settings.json.
cline_mcp_settings.json
Cline names the remote transport streamableHttp. If your version does not recognise it, look at an existing entry in the same file for the shape it expects, then supply the same three values: https://mcp.2extract.com/mcp, Streamable HTTP, and Authorization: Bearer 2xt_....
Cline writes this file itself, so it may reformat your edits - that is normal.

Verify

The server appears in the MCP Servers panel with a green indicator and its tool list. Then start a task:
What is my 2extract balance?
Cline requests approval for the tool call, then reports the number.

Auto-approve

Cline can auto-approve individual tools so it stops asking every time. Safe candidates are the read-only ones:
  • getAccountBalance
  • getAccountTrafficUsage
  • listProxyResources
  • listGeoCountries and the other searchGeo* tools
Do not auto-approve createProxyResource - it is billable. Do not auto-approve deleteProxyResource or regenerateProxyPassword - they are destructive and the confirmation is the only thing standing between an agent and a deleted proxy.

Troubleshooting

Open the entry to see the error. A missing /mcp path or a malformed header are the usual causes.
Cline owns this file and rewrites it. Make changes through the panel where possible, and close the JSON editor before switching back to the panel.
The key is wrong, expired, or the header is missing the word Bearer.

Next steps

Tools

Which tools are safe to auto-approve.

Usage Examples

Sessions from request to connection string.