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

# Zed

> Connect Geekflare MCP server to Zed editor for web scraping, search, screenshot, and DNS tools in the AI assistant.

[Zed](https://zed.dev) is a high-performance collaborative code editor with a built-in AI assistant. Zed supports MCP servers, letting you connect Geekflare tools directly to the Zed Assistant for scraping, searching, and more.

## Setup

Open your Zed settings file (`Cmd+,` on Mac or `Ctrl+,` on Linux) and add the `context_servers` section:

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

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

Replace `YOUR_API_KEY` with your Geekflare API key. Save the settings file — Zed will pick up the changes immediately without a restart.

## Usage Examples

Open the Zed Assistant panel (`Cmd+?` on Mac) and try:

**Scrape a webpage**

```
Scrape amazon.com and give me products under $10
```

**Search the web**

```
Search for "Zed editor plugins" and give me a summary.
```

**Screenshot**

```
Take a screenshot of https://zed.dev and describe the homepage.
```

**Check Broken Links**

```
Check for broken links on https://zed.dev
```
