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

# ZenRows MCP Integration for JetBrains IDEs

> Set up ZenRows MCP in JetBrains IDEs like IntelliJ, PyCharm, and WebStorm so the AI assistant can scrape any webpage from your editor.

## Before You Start

You need:

<Columns cols={2}>
  <Card icon="user" href="https://app.zenrows.com/register" title="ZenRows Account">A **ZenRows account**</Card>
  <Card icon="key" href="https://app.zenrows.com/dashboard" title="ZenRows API Key">Your **ZenRows API key**</Card>
</Columns>

<Card icon="code" href="https://nodejs.org/en/download/" title="Node.js">Latest version of **Node.js** installed on your machine</Card>
<Card icon="robot" href="https://www.jetbrains.com" title="JetBrains IDE">A **JetBrains IDE** with the AI Assistant plugin enabled</Card>

## Setup

<Steps>
  <Step title="Step 1: Open the MCP settings">
    Go to **Settings > Tools > AI Assistant > Model Context Protocol**.
  </Step>

  <Step title="Step 2: Add the ZenRows MCP server">
    Add the following configuration, replacing `YOUR_ZENROWS_API_KEY` with your actual API key:

    ```json theme={null}
    {
        "mcpServers": {
            "zenrows": {
                "command": "npx",
                "args": ["-y", "@zenrows/mcp"],
                "env": {
                    "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
                }
            }
        }
    }
    ```
  </Step>

  <Step title="Step 3: Apply and restart">
    Click **Apply** and restart your IDE to load the new configuration.
  </Step>
</Steps>

## Start scraping

Ask the AI assistant to scrape a webpage or automate a browser workflow in plain English:

```
Scrape https://www.zenrows.com/pricing and summarize the plans.
```

```
Get the product names and prices from https://www.scrapingcourse.com/ecommerce/.
```

```
Scrape https://www.scrapingcourse.com/antibot-bypass using Premium Proxies.
```

```
Fetch https://www.scrapingcourse.com/javascript-rendering/ with JavaScript rendering enabled and return the page as Markdown.
```

```
Open https://scrapingcourse.com/login in a browser, fill in the credentials, click submit, then extract the account details.
```

## Troubleshooting

**The `scrape` tool is not available**

Confirm the configuration was saved under **Settings > Tools > AI Assistant > Model Context Protocol** and that you restarted the IDE after applying.

**Page content is missing or incomplete**

The page likely loads content dynamically. Ask the assistant to enable JavaScript rendering:

```
Scrape https://www.scrapingcourse.com/javascript-rendering/ with js_render enabled.
```

**Requests return a 403 or bot detection page**

Ask the assistant to use Premium Proxies:

```
Scrape https://www.scrapingcourse.com/antibot-bypass using premium_proxy.
```

For more troubleshooting options, see the [ZenRows MCP overview](https://docs.zenrows.com/integrations/mcp/mcp-overview#troubleshooting).
