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

# Cline

> Connect Geekflare MCP server to Cline in VS Code for web scraping, search, screenshot, and DNS tools in your agentic coding workflow.

[Cline](https://github.com/cline/cline) is a VS Code extension that provides an autonomous AI coding agent. With Geekflare MCP connected, Cline can scrape pages, run searches, take screenshots, and look up DNS as part of any coding or research task.

## Setup

<Steps>
  <Step title="Open Cline MCP settings">
    In VS Code, click the Cline icon in the sidebar, then click the **MCP Servers** button (plug icon) at the top of the Cline panel.
  </Step>

  <Step title="Add the Geekflare server">
    Click **Edit MCP Settings** to open the config file, then add:

    <Tabs>
      <Tab title="Remote URL (Recommended)">
        ```json theme={null}
        {
          "mcpServers": {
            "geekflare": {
              "url": "https://mcp.geekflare.com/YOUR_API_KEY/mcp",
              "disabled": false
            }
          }
        }
        ```
      </Tab>

      <Tab title="Local via npx">
        ```json theme={null}
        {
          "mcpServers": {
            "geekflare": {
              "command": "npx",
              "args": ["-y", "@geekflare/mcp"],
              "env": {
                "API_KEY": "YOUR_API_KEY"
              },
              "disabled": false
            }
          }
        }
        ```
      </Tab>
    </Tabs>

    Replace `YOUR_API_KEY` with your Geekflare API key.
  </Step>

  <Step title="Verify connection">
    The Geekflare server should appear in the MCP Servers list with a green status indicator. Click it to see all available tools.
  </Step>
</Steps>

## Usage Examples

Type directly in the Cline chat panel:

**Scrape a webpage**

```
Scrape https://example.com and extract all the headings and paragraph text.
```

**Screenshot**

```
Take a screenshot of https://shopify.com and describe the above-the-fold message.
```

**Search with grounded answer**

```
Search for "React Server Components best practices" and synthesize a grounded answer.
```

**DNS lookup**

```
Look up the DNS records for stripe.com.
```
