How to integrate Brightdata MCP with Grok Build

Connect Grok Build to Brightdata MCP. Download all product listings from this ecommerce site, check crawl status for your recent job, and more from your terminal, with authentication handled for you.

Brightdata logoBrightdata
Api Key

Brightdata is a leading web data platform offering advanced scraping, SERP APIs, and anti-bot tools. It lets you collect public web data at scale, bypassing blocks and friction.

167 Tools

How to integrate Brightdata MCP with Grok Build

Grok Build is xAI's terminal coding agent. It runs on Grok 4.5, plans its work before it acts, and can run multiple sub-agents in parallel. It also reads Claude Code's MCP configuration, so any server you already have in a .mcp.json is picked up with no changes.

In this guide, I will show you how to connect your Brightdata account to Grok Build through Composio, so it can download all product listings from this ecommerce site, check crawl status for your recent job, perform Google SERP search for latest news, and more without leaving the terminal. Composio holds the OAuth tokens for you, and Grok Build only calls the tools you approve.

Also integrate Brightdata with

Why use Composio over a standalone MCP server?

  • Read and write access. Composio's Brightdata integration lets Grok Build take real actions like creating drafts, sending updates, and labeling records, not just reading data.
  • 1,700+ SaaS toolkits out of the box. One endpoint gives you a full catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Wire up a single Composio server instead of maintaining a separate MCP entry for each app.
  • Smart, context-aware tool loading. Grok Build caps how many tools it holds in a single request. Composio loads only the tools a task needs, so you do not spend that budget on tools you are not using.
  • Cross-app automation. Chain actions across apps in one run. Pull a thread, summarize it in Notion, and post the highlights to Slack from a single prompt.

Prerequisites

  • Grok Build installed and signed in. Install with curl -fsSL https://x.ai/cli/install.sh | bash on macOS or Linux, or irm https://x.ai/cli/install.ps1 | iex on Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set an XAI_API_KEY environment variable instead (create the key at console.x.ai).
  • Access to the Brightdata account you want to connect.
  • The Composio MCP endpoint. Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.

Step-by-step: Connect Brightdata to Grok Build

1. Install and verify Grok Build

Install the CLI, then restart your shell so the grok binary lands on your PATH:

bash
curl -fsSL https://x.ai/cli/install.sh | bash
which grok

On Windows, install with PowerShell instead: irm https://x.ai/cli/install.ps1 | iex. If which grok returns a path, you are set. Grok Build runs on Grok 4.5 by default; you can switch models inside the session with /model <name>.

2. Add the Composio server

Add Composio as a remote HTTP MCP server with the grok mcp add command:

bash
grok mcp add --transport http composio https://connect.composio.dev/mcp

You can also add and manage servers from inside a session. Run /mcps to open the extensions modal on the MCP tab, then add a new server and paste the Composio URL. Added this way, Grok auto-detects the name from the URL and lists the server as connect:

bash
https://connect.composio.dev/mcp
Grok Build /mcps extensions modal listing MCP servers Grok Build adding the Composio MCP server with its URL

Grok also reads Claude Code-style config, so an entry in ~/.grok/config.toml or a project .mcp.json works the same way.

3. Authenticate

Composio uses OAuth. In the /mcps modal, select the Composio server and press i to authenticate (Grok also triggers this browser flow automatically the first time it uses a Composio tool). Click Allow to authorize access. Grok stores the tokens under ~/.grok/mcp_credentials.json, and /mcps shows Composio as connected.

Grok Build prompting to authenticate the Composio MCP server Composio authorization screen with the Allow button for Grok Build

4. Start building

Ask Grok to work with your Brightdata account through Composio. On the first Brightdata action, Composio prompts you to connect the account through OAuth. Approve the scopes once, and Composio handles token refresh from there.

What you can do after connecting Brightdata

  • Download all product listings from this ecommerce site
  • Check crawl status for your recent job
  • Perform Google SERP search for latest news
  • List available web unlocker proxy zones

Security + privacy notes (important)

  • Use least-privilege access. Grant only the Brightdata scopes you actually need.
  • Review OAuth scopes before approving. Check that the requested scopes match what you expect Composio and Grok Build to do.
  • Keep write actions human-reviewed. Grok Build proposes a plan before it acts. Leave that approval step on for actions like sending messages or editing records.
  • Keep secrets out of version control. Your XAI_API_KEY and any tokens should never be committed. Use environment variables or a secrets manager.
TOOLS

Supported Tools

Every Brightdata action and event your agent gets out of the box.

Start Site Crawl

Start an asynchronous dataset or site crawl.

Create Safe Zone

Create a durable SERP API or Scraping Browser zone using a fixed safe plan.

List Marketplace Datasets

List pre-built datasets in Bright Data's marketplace for structured scraping.

Filter Dataset

Create a billable filtered marketplace-dataset snapshot.

Get Customer Balance

Get current and pending Bright Data account balances.

Get Dataset Metadata

Retrieve field definitions for a Bright Data marketplace dataset.

Get Deep Lookup Results

Retrieve enriched records plus available progress, cost, and provider metadata for a completed Deep Lookup request.

Get Deep Lookup Status

Check a Deep Lookup request's status, progress, cost, and provider metadata.

Get Destination Type Schema

Retrieve the fields required to configure a Bright Data delivery destination.

List Available Cities

List static-network cities available for a country and proxy pool type.

List Available Countries

List country codes available for each static proxy zone type.

Get SERP Results

Retrieve JSON or raw results for an asynchronous BRIGHTDATA_SERP_SEARCH request.

Download Snapshot Results

Download a completed dataset snapshot.

Check Snapshot Status

Check whether a dataset snapshot is running, ready, or failed before downloading it.

Get Web Archive Search

Get a Web Archive search's status and its matching-file, dump-size-in-bytes, and dump-cost-in-USD estimates.

Get Zone Bandwidth

Get uploaded, downloaded, and total byte usage for one zone and date range.

Get Zone Cost

Get invoice-aligned billed cost and bandwidth for one zone and date range.

Get Country Cities

List cities in a country for account-level geographic selection.

Get Dataset Delivery Options

List settings supported when configuring Bright Data dataset delivery.

List Scraper Studio Scrapers

List account-owned Scraper Studio scrapers and discover collector IDs.

List Unlocker Zones

List configured Web Unlocker zones and their types for protected-URL scraping.

Scrape AE.com - Complete Products

Collect AE.

Scrape Agoda Listings Search

Collect Agoda Listings Search.

Scrape Agoda Properties Listings

Collect Agoda Properties Listings.

Scrape Agoda Properties Listings with Pricing

Collect Agoda Properties Listings with Pricing.

Scrape Agoda Reviews

Collect Agoda Reviews.

Amazon products

Collect Amazon products by URL with optional ASIN metadata, or discover them by best-seller/category URL, keyword, or UPC, returning product and price data.

Amazon products search

Collect structured Amazon products search data from amazon.

Amazon products global dataset

Collect global Amazon products by URL or discover them by best-seller, brand, category, keyword/domain, or seller, returning product and price data.

Amazon Reviews

Collect structured Amazon Reviews data from amazon.

Amazon sellers info

Collect structured Amazon sellers info data from amazon.

American Eagle Products - Unified Schema

Collect American Eagle.

Scrape Apple App Store

Collect Apple App Store.

Scrape Apple App Store reviews

Collect Apple App Store reviews .

Ashley Furniture Products

Collect Ashleyfurniture - Products.

Ashley Furniture Products - Unified Schema

Collect Ashley Furniture.

Scrape Best Buy products

Collect Best Buy products.

Scrape Best Buy Reviews

Collect Best Buy Reviews.

Scrape Booking Hotel Listings

Collect Booking Hotel Listings .

Scrape Booking Hotel Listings with Pricing

Collect Booking Hotel Listings with Pricing.

Scrape Booking Listings Search

Collect Booking Listings Search.

Scrape Booking Reviews

Collect Booking Reviews.

Scrape ChatGPT Search

Collect ChatGPT Search.

Scrape Costco products

Collect Costco products.

Scrape Costco Reviews

Collect Costco Reviews.

Crate & Barrel Products

Collect Crateandbarrel - Products.

Crate & Barrel Products - Unified Schema

Collect Crateandbarrel - Products.

Creative Commons 3D Models

Collect Creative Commons 3D Models.

Scrape Creative Commons Images

Collect Creative Commons Images.

Scrape Data Synchronously

Scrape up to 20 input objects synchronously.

Scrape Dior - Products

Collect Dior - Products.

Scrape Dior Products Unified Schema

Collect Dior Products Unified Schema.

Facebook - Comments

Collect structured Facebook - Comments data from facebook.

Scrape Facebook Company Reviews

Collect Facebook Company Reviews.

Scrape Facebook Events

Collect Facebook Events.

Facebook - Posts by group URL

Collect structured Facebook - Posts by group URL data from facebook.

Scrape Facebook Marketplace

Collect Facebook Marketplace.

Facebook - Pages Posts by Profile URL

Collect structured Facebook - Pages Posts by Profile URL data from facebook.

Facebook - Pages and Profiles

Collect Facebook pages and public profiles with the combined page/profile dataset, including entity type and page-oriented fields.

Scrape Facebook - Posts by post URL

Collect Facebook - Posts by post URL.

Scrape Facebook - Profiles

Collect Facebook profile URLs with the profile-only dataset.

Scrape Facebook - Reels by profile URL

Collect Facebook - Reels by profile URL.

Scrape Falabella.com - Reviews

Collect Falabella.

Scrape Falabella.com - Search

Collect Falabella.

Falabella Products

Collect Falabella.

Scrape Flipkart.com - Search

Collect Flipkart.

Flipkart Products

Collect Flipkart.

Scrape Flipkart Products unified schema

Collect Flipkart Products unified schema.

Scrape Flipkart - Reviews

Collect Flipkart - Reviews.

Scrape Glassdoor companies overview information

Collect Glassdoor companies overview information.

Scrape Glassdoor companies reviews

Collect Glassdoor companies reviews.

Glassdoor Jobs

Collect Glassdoor job listings information.

Scrape Google AI Mode Search

Collect Google AI Mode Search.

Scrape Google Flights

Collect Google Flights.

Scrape Google Hotels

Collect Google Hotels.

Scrape Google Images

Collect Google Images.

Scrape Google Maps Images

Collect Google Maps place images.

Google Maps Places

Collect Google Maps place URLs or discover places by keyword and location.

Scrape Google maps reviews

Collect Google Maps place reviews or discover reviews from place URLs.

Scrape Google Play Store

Collect Google Play Store.

Scrape Google Play Store reviews

Collect Google Play Store reviews.

Google SERP 100 Results

Collect Google SERP - 100 Results.

Scrape Google Shopping

Collect Google Shopping product pages or discover products by keyword with the general Google Shopping dataset.

Scrape Google Shopping products search US

Collect US Google Shopping search-result URLs with the US search schema.

H&M Products

Collect H&M - Products.

H&M Products - Unified Schema

Collect H&M products.

Scrape Ikea - Products

Collect Ikea - Products.

Scrape Ikea products unified schema

Collect Ikea products unified schema.

Scrape Indeed companies info

Collect Indeed companies info.

Indeed Jobs

Collect Indeed job listings information.

Scrape Instacart products

Collect Instacart products.

Scrape Instacart Products unified schema

Collect Instacart Products unified schema.

Scrape Instagram Comments

Collect Instagram comments with commenter, text, date, likes, replies, hashtags, tagged users, and source-post details.

Scrape Instagram Posts

Collect Instagram posts or discover posts from a profile, returning captions, hashtags, media, engagement, dates, location, and comments.

Scrape Instagram Profiles

Collect Instagram profiles by URL or discover them by username, returning biography, audience, verification, links, posts, and profile image.

Scrape Instagram Reels

Collect Instagram reels or discover reels from profiles, returning captions, hashtags, media, dates, engagement, play counts, and comments.

Scrape Kohls.com - Reviews

Collect Kohls.

Kohl's Products

Collect Kohls.

Scrape Kohl's Products unified schema

Collect Kohl's Products unified schema.

Scrape Kroger.com - Search

Collect Kroger.

Kroger Products

Collect Kroger.

Scrape LinkedIn Companies

Collect structured LinkedIn company details, including size, industry, locations, followers, specialties, and website.

Scrape LinkedIn Jobs

Collect LinkedIn job listings or discover jobs by keyword, location, and search URL, returning role, employer, location, summary, and pay data.

Scrape LinkedIn People Search

Search LinkedIn people and return matching profile URLs, names, subtitles, locations, experience, education, and avatars.

Scrape LinkedIn Posts

Collect LinkedIn posts directly or discover posts from company, profile, and article-feed URLs, returning text, media, dates, and engagement.

Scrape LinkedIn Profiles

Collect structured LinkedIn person profiles, including identity, location, company, follower, education, and public career data.

L.L.Bean Products

Collect llbean.

L.L.Bean Products - Unified Schema

Collect LLBean.

Scrape Macys.com - Reviews

Collect Macys.

Macy's Products

Collect Macys.

Scrape Macys Products unified schema

Collect Macys Products unified schema.

Scrape Massimo Dutti - Products

Collect Massimo Dutti - Products .

Massimo Dutti Products - Unified Schema

Collect Massimodutti.

Scrape Meta - Ad Library

Collect Meta - Ad Library .

Scrape Overstock.com - Reviews

Collect Overstock.

Overstock Products

Collect Overstock.

Scrape Overstock Products unified schema

Collect Overstock Products unified schema.

Scrape Pinterest - Posts

Collect Pinterest - Posts .

Scrape Pinterest - Profiles

Collect Pinterest - Profiles.

Poshmark Products

Collect Poshmark.

Scrape Poshmark Products unified schema

Collect Poshmark Products unified schema.

Scrape Reddit - Comments

Collect Reddit - Comments.

Scrape Reddit- Posts

Collect Reddit- Posts.

Scrape Reddit - Profiles

Collect Reddit - Profiles.

Scrape Snapchat posts

Collect Snapchat posts.

Scrape Snapchat profile

Collect Snapchat profile.

Scrape Threads - Posts

Collect Threads - Posts.

Scrape Threads - Profiles

Collect Threads - Profiles.

Scrape TikTok Comments

Collect TikTok comments with text, dates, likes, replies, commenter identity, and source-post details.

Scrape TikTok Posts

Collect TikTok posts with the full post dataset.

TikTok - Posts by URL Fast API

Collect individual TikTok post URLs with the fast dataset.

Scrape TikTok Profile Posts Fast

Discover TikTok posts from profile URLs with the fast profile-post dataset.

TikTok - Profiles

Collect structured TikTok - Profiles data from tiktok.

Scrape TikTok Search Posts Fast

Discover TikTok posts from search or discovery URLs with the fast search-post dataset.

TikTok Shop

Collect structured TikTok Shop data from tiktok.

TikTok Shop Category Products

Collect structured TikTok Shop Category Products data from tiktok.

Scrape Trip.com - Flights (mobile-app)

Collect Trip.

Trip.com Hotel Listings

Collect Trip Hotel Listings.

Scrape Trip.com - Hotels (mobile-app)

Collect Trip.

Trip.com Listings Search

Collect Trip Listings Search.

Scrape Walmart - products

Collect Walmart - products .

Scrape Walmart products search

Collect Walmart products search.

Scrape Walmart - products zipcodes

Collect Walmart product URLs with zipcode-specific availability and pricing.

Scrape Walmart Reviews

Collect Walmart Reviews.

Scrape Walmart sellers info

Collect Walmart sellers info.

X Posts

Collect X (formerly Twitter) - Posts.

X Profiles

Collect X (formerly Twitter) - Profiles.

Scrape Yelp businesses overview

Collect Yelp businesses overview.

Scrape Yelp businesses reviews

Collect Yelp businesses reviews.

Scrape YouTube - Channels

Collect YouTube - Channels.

Scrape Youtube - Comments

Collect Youtube - Comments.

YouTube Videos

Collect Youtube - Videos posts.

Scrape Zara Home Products

Collect Zara Home Products.

Scrape Zara Home products

Collect Zara Home products.

Scrape Zara - Products

Collect Zara - Products .

Zara Products - Unified Schema

Collect Zara.

Zillow Properties

Collect full property details for Zillow property URLs.

Zillow Property Listings

Collect Zillow listing URLs or discover property listings from filters or search URLs.

Zillow Property Price History

Collect the price-history timeline for Zillow property URLs.

Zillow Property Search Results

Collect Zillow search-page URLs into search-result property records.

Search Business Records

Search public company or professional-profile records synchronously using structured queries in Ludicrous mode or natural language in Instant/Smart mode.

Search Dataset Synchronously

Search a supported LinkedIn profiles, contact-enriched profiles, or companies Marketplace dataset and return matching records synchronously.

Search SERP Synchronously

Search Google, Bing, DuckDuckGo or Yandex synchronously for standard text results.

Search Web Archive

Search Bright Data's Web Archive and estimate matching files, dump size in bytes, and dump cost in USD.

Search SERP

Submit an asynchronous SERP search and return its response_id.

Start Deep Lookup

Start an asynchronous Deep Lookup research request and return its request_id.

Scrape Protected URL

Scrape a public URL through Web Unlocker when ordinary requests are blocked or require JavaScript rendering.

FAQ

Frequently asked questions

Start with Brightdata.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Brightdata tool your agent needs.Free to start.

Start building