> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ref.tools/llms.txt
> Use this file to discover all available pages before exploring further.

# Cline

> Connect Cline to up-to-date and token-efficient documentation.

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

You can find your API key at [ref.tools/keys](https://ref.tools/keys)

## Install Steps

1. Open Cline plugin in VSCode and click the `MCP Servers` button at the top.

<img src="https://mintcdn.com/ref/JCiPXQpBBR5CnJ1u/context/install/images/cline-mcp-servers-button.png?fit=max&auto=format&n=JCiPXQpBBR5CnJ1u&q=85&s=fb81b029ac39e3ee234f027fa9b53572" width="896" height="142" data-path="context/install/images/cline-mcp-servers-button.png" />

2. Select the `Configure` tab and click `Configure MCP Servers`. This should open `cline_mcp_settings.json`.

3. Update `cline_mcp_settings.json`

```
{
  "mcpServers": {
    "Ref": {
      "command": "npx",
      "args": ["ref-tools-mcp@latest"],
      "env": {
        "REF_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

## Verify

Open a new chat with Cline and run the following prompt.

```
what is ref tools mcp, search the docs with ref
```

This should results in a `ref_search_documentation` tool call.

## Get help

If you have any issues, please reach out to `help@ref.tools`. We're happy to help you get started!
