Skip to main content

What Is Antigravity 2.0?

Antigravity 2.0 is Google’s dedicated platform for working with autonomous agents. It lets you orchestrate multiple agents working in parallel across independent projects, with support for dynamic subagents, scheduled tasks, MCP integrations, and customizable skills. Connecting ZenRows enables every agent in your workspace to access live web data from any site, regardless of bot protection.

Why Connect ZenRows to Antigravity 2.0?

  • No more blocked agents: When trying to access protected sites, Antigravity’s agents encounter the same bot-protection walls as any other automated client. ZenRows automatically handles anti-bot evasion so your agents get the page every time.
  • Cleaner data, lower token cost: ZenRows returns structured Markdown or JSON instead of raw HTML. Your agents process only what matters, with less noise and fewer tokens used per task.
  • Reliable scheduled tasks: Antigravity’s /schedule command lets agents run on a cron schedule for daily reports, price checks, and monitoring jobs. A blocked or blank page can break the entire run. ZenRows handles dynamic rendering and anti-bot bypass under the hood, enabling Antigravity to run scheduled tasks without interruptions.
  • No scraping code required: Describe what you want in plain English. Antigravity instructs ZenRows’ tools and returns structured results. No selectors, no HTTP clients, no infrastructure to maintain.
  • Works with Gemini, ChatGPT, or Claude: Antigravity supports multiple models. Use ZenRows MCP with the LLM you’re already using without switching vendors.

What You Can Build with Antigravity 2.0 and ZenRows

  • SEO and competitive research: Schedule an agent to scrape competitor landing pages, blog posts, and product pages daily. Have it compare what they’re publishing against your own site and surface gaps in topics, pages, and angles.
  • Developer and API research: Point an agent at documentation sites, GitHub READMEs, changelogs, and technical forums. It pulls the latest specs, summarizes breaking changes, and flags anything relevant to your current project.
  • Best deals and price monitoring: Set up a scheduled agent that scrapes product listings from Amazon, Google Shopping, and niche retailers, then extracts prices and ratings and surfaces the top deals for your target items every day.
  • Live data pipelines without mocking: When building dashboards or internal tools inside Antigravity, agents normally work with mock data. Connect ZenRows and the agent pulls real product listings, pricing, or public records directly from the web during development.

Prerequisites

Add ZenRows MCP to Antigravity

Antigravity has a built-in MCP Store where you can find and install supported servers with one click. ZenRows isn’t in the store yet, so you’ll need to add it manually via Antigravity’s mcp_config.json file.
1

Step 1: Open the MCP config file

Open the MCP configuration file at the following path:
~/.gemini/config/mcp_config.json
2

Step 2: Add the ZenRows server

Add the ZenRows server block under mcpServers, replacing YOUR_ZENROWS_API_KEY with your actual key from the ZenRows dashboard:
JSON
{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": {
        "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
      }
    }
  }
}
Alternatively, if you prefer to connect via the remote HTTP server instead:
JSON
{
  "mcpServers": {
    "zenrows": {
      "serverUrl": "https://mcp.zenrows.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ZENROWS_API_KEY"
      }
    }
  }
}
If you already have other MCP servers configured, add the zenrows block alongside them inside the same mcpServers object. Don’t replace the whole file.
3

Step 3: Reload Antigravity

Reload Antigravity to pick up the new config. ZenRows tools will be available to the editor immediately after reload.
For best results with MCP tool calls, switch your model to Claude Opus or Claude Sonnet via the model selector in the Antigravity interface.

Try It Out: Basic Usage

With ZenRows connected, your Antigravity 2.0 agents can fetch and work with live web data from any site. Scrape an anti-bot-protected page:
Scrape https://www.scrapingcourse.com/antibot-challenge and summarize the page
Sample result:
I have successfully scraped the Antibot Challenge page at https://www.scrapingcourse.com/antibot-challenge using ZenRows (with JS rendering and premium proxy settings) and bypassed the challenge.

Page Summary

1. Page Purpose

The Antibot Challenge page on scrapingcourse.com serves as a test environment designed to verify...
[Truncated for brevity]
Get the top 5 stories from Y Combinator:
Scrape https://news.ycombinator.com and summarize the top 5 stories.
Scrape the top 5 deals from an Amazon product listing:
Scrape https://www.amazon.com/s?k=mechanical+keyboard and return the top 5 deals based on product name, price, and rating.
Google Antigravity 2.0 will call ZenRows, receive clean Markdown or structured data, and work with it directly in the agent session to give you a response based on your request.

Advanced: Scheduled Scraping

Antigravity 2.0 has a built-in scheduler that runs agents on a recurring or one-off basis. Pair it with ZenRows and you can set up scraping tasks that run automatically in the background and deliver results without you being present.

Setting Up a Scheduled Task

You can schedule a task two ways:
  • Via the Schedule panel (recommended): Open the main Antigravity interface, click Scheduled Tasks, then + New, and fill in the prompt and schedule. Antigravity 2.0 Schedule Panel
  • Via the /schedule command: Type /schedule in any conversation to set it up inline. For example, to track competitor job postings daily at 8:00 AM:
/schedule
Prompt: Scrape https://www.indeed.com/q-london-uk-jobs.html and extract all job postings.
Identify roles that signal buying intent such as new engineering hires, scaling DevOps teams,
or data infrastructure roles. List new postings only. If nothing is new, respond with [SILENT].
Schedule: Daily at 8:00 AM
Each scheduled task runs as a fresh agent session. Include everything the agent needs directly in the prompt, including the URL, what to extract, and how to format the output.
From the Scheduled Tasks panel in the main interface, you can view, edit, pause, or delete any scheduled task.

Disable ZenRows Tools Temporarily

If you want to keep the server configured but stop Antigravity from using specific tools, use disabledTools:
JSON
{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": {
        "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
      },
      "disabledTools": ["browser_navigate", "browser_click"]
    }
  }
}
To disable the server entirely without removing the config:
JSON
{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": {
        "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
      },
      "disabled": true
    }
  }
}

Troubleshooting

ZenRows Tools Not Appearing After Saving the Config

  • Confirm the file is saved to ~/.gemini/config/mcp_config.json.
  • Restart Antigravity to force a config reload.
  • Check that "disabled" is not set to true in the server block.

Agent Not Using ZenRows MCP

Antigravity may reach for a built-in tool instead of ZenRows. Instruct it to use ZenRows explicitly in your prompt:
Use ZenRows to scrape https://www.scrapingcourse.com/antibot-challenge with JavaScript rendering.

Scraping Returns Empty or Blocked Content

Check that your ZenRows API key is valid and active in the ZenRows dashboard. If the key is correct, try explicitly specifying JavaScript rendering in your prompt as shown above.

Model Error Due to Quota or Rate Limit

If you encounter quota or rate-limit errors, the issue is with your LLM provider, not ZenRows. Switch to a model with a higher quota, or wait for the limit to reset. Claude Opus and Sonnet tend to handle MCP tool call sequences more reliably. You can switch models via the model selector in the Antigravity interface without restarting.

JSON Syntax Error on Startup

The config file must be valid JSON with no trailing commas or comments. Run it through a validator if Antigravity fails to load the server.

Frequently Asked Questions

No. The MCP Store lists Google-curated integrations. ZenRows is added manually via the config file as shown in this guide.
Yes. If you prefer not to install the local Node.js package, use the remote serverUrl approach instead. Both options expose the same tools:
JSON
{
    "mcpServers": {
    "zenrows": {
        "serverUrl": "https://mcp.zenrows.com/mcp",
        "headers": {
            "Authorization": "Bearer YOUR_ZENROWS_API_KEY"
        }
    }
  }
}
Yes. Add each server as a named block inside mcpServers:
JSON
{
    "mcpServers": {
        "zenrows": {
            "command": "npx",
            "args": ["-y", "@zenrows/mcp"],
            "env": {"ZENROWS_API_KEY": "<YOUR_ZENROWS_API_KEY>"}
        },
        "github": {
            "command": "npx",
            "args": ["-y", "@modelcontextprotocol/server-github"],
            "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_TOKEN>"}
        },
    }
}
The ZenRows MCP server is free to connect. Each tool call is billed against your ZenRows subscription. scrape calls use Universal Scraper API credits, and browser_* calls use Scraping Browser credits. Monitor usage via your ZenRows Analytics page.
Yes. ZenRows MCP works regardless of which model you’ve selected. Antigravity supports Gemini, ChatGPT, and Claude models, and all of them can call ZenRows tools. That said, Claude Opus and Sonnet tend to handle MCP tool call sequences most reliably.
Yes. In Antigravity, each project has its own isolated settings. Click the settings gear icon next to your project in the left navigation bar, go to Project Settings, and configure which MCP tools are allowed for that project. This lets you enable ZenRows only where you need it.
They serve different purposes. /browser launches Antigravity’s built-in Chrome debugging session for interacting with pages you control locally. ZenRows is for fetching external pages, especially those protected by anti-bot systems, without needing a local browser. Use /browser for local development testing and ZenRows for live web data extraction.
Yes. The Antigravity 2.0 desktop app and the Antigravity IDE share the same config file at ~/.gemini/config/mcp_config.json. Adding ZenRows here makes it available in both without any additional configuration. The Antigravity CLI uses a separate config path and requires its own setup.