> ## 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.

# Cursor

> Connect Geekflare to Cursor using MCP to give the AI agent web scraping, search, screenshot, and DNS tools.

[Cursor](https://cursor.com) is an AI-powered code editor. With the Geekflare MCP server connected, Cursor's agent can scrape pages, run searches, take screenshots, and look up DNS records directly from your editor.

## Setup

> [tab] Remote URL with sign-in (Recommended)
>
> No installation or API key required. Open **Cursor Settings → MCP** and add:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "geekflare": {
>       "url": "https://mcp.geekflare.com/mcp"
>     }
>   }
> }
> ```
>
> Then click **Connect** next to the server in **Cursor Settings → MCP**, sign in to Geekflare and choose **Allow access**. Sign-in was tested in Cursor 3.20.21.

> [tab] Remote URL with API key
>
> No installation required. Open **Cursor Settings → MCP** and add:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "geekflare": {
>       "url": "https://mcp.geekflare.com/YOUR_API_KEY/mcp"
>     }
>   }
> }
> ```
>
> Replace `YOUR_API_KEY` with your Geekflare API key.

> [tab] Local via npx
>
> Requires [Node.js](https://nodejs.org) installed locally.
>
> Open **Cursor Settings → MCP** and add:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "geekflare": {
>       "command": "npx",
>       "args": ["-y", "@geekflare/mcp"],
>       "env": {
>         "API_KEY": "YOUR_API_KEY"
>       }
>     }
>   }
> }
> ```

After saving, sign-in users click **Connect** as described above. For the API-key and npx options, click **Refresh** in the MCP panel instead. You should see the Geekflare tools listed.

> [!NOTE]
>
> Cursor MCP support requires version 0.45.6 or later. Update via **Help → Check
> for Updates**.

## Add the Geekflare skill

Once the MCP server is connected, install the Geekflare agent skill so Cursor knows when and how to use each Geekflare tool:

```bash theme={null}
npx skills add geekflare/geekflare-skills
```

See [Agent Skills](https://docs.geekflare.com/mcp/agent-skills.md) for details.

If you connect with an API key instead of signing in, the skill expects your key in the `GEEKFLARE_API_KEY` environment variable. To avoid pasting the key into your config, reference the variable in `~/.cursor/mcp.json` or `.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "geekflare": {
      "url": "https://mcp.geekflare.com/${env:GEEKFLARE_API_KEY}/mcp"
    }
  }
}
```

## Usage Examples

Open Cursor's Composer (`Cmd+L` / `Ctrl+L`), switch to **Agent** mode, and try:

**Scrape a webpage**

```
Scrape https://example.com and summarize the main content in bullet points.
```

**Search the web**

```
Search for Nvidia’s stock performance and explain the main reasons for the trend.
```

**Take a screenshot**

```
Take a screenshot of https://stripe.com and tell me what you see.
```

**DNS lookup**

```
Look up DNS records for openai.com
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.