Skip to main content

Building an AI startup?

You might be eligible for our Startup Program. Get fully funded access to the infrastructure you’re reading about right now (up to $20K value).

Overview

This guide explains how to integrate Bright Data Web MCP with n8n to build automated, AI-driven workflows. You can connect MCP to n8n in two ways:
  1. Streamable HTTP MCP – Easiest, cloud-based setup
  2. Self-hosted MCP Client – Advanced, customizable deployment
Choose the approach that best fits your infrastructure and control requirements.

Streamable HTTP MCP Integration

Streamable HTTP is the recommended option for most users. It requires no local setup and allows n8n AI agents to interact with Bright Data MCP over HTTPS with real-time streaming.

Requirements


Configuration Steps

  1. Create an AI Agent in n8n or your preferred AI orchestration platform.
  2. Attach the following components:
    • A Chat Model (e.g., gpt-4, gpt-4o)
    • An MCP Client node
  3. Configure the Remote MCP URL using your API token:
https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN_HERE
  1. Select MCP tools
    • Expose specific tools explicitly, or
    • Allow the AI agent to choose tools dynamically
Once configured, the AI agent will invoke MCP tools as needed and stream responses in real time back into your workflow.

When to Use Streamable HTTP

  • No-code or low-code automation
  • Fast setup with minimal infrastructure
  • Cloud-hosted n8n deployments
  • Real-time, AI-driven data extraction

Self-hosted MCP Integration (MCP Client – Community Node)

The self-hosted option provides maximum control by running the Bright Data MCP client locally or within your own infrastructure. This approach is best suited for advanced users who require custom rate limits, isolated environments, or internal networking.

Requirements

Configuration Steps

  1. Create an AI Agent in n8n.
  2. Attach the following components:
    • A Chat Model (e.g., gpt-4, gpt-4o)
    • Bright Data MCP Client (via HTTP or WebSocket)
  3. Configure the MCP client execution settings:
    VariableValue
    Commandnpx
    Arguments@brightdata/mcp
    EnvironmentsAPI_KEY=<api-key>
    WEB_UNLOCKER_ZONE=<unlocker_api_zone_name>
    BROWSER_ZONE=<browser_zone_name>
    RATE_LIMIT=<rate-limit>
  4. Example values for RATE_LIMIT:
    • 100/1h
    • 50/30m
    • 10/5s
    These limits help control request throughput and prevent overuse of MCP tools.

When to Use Self-hosted MCP

  • Enterprise or regulated environments
  • Custom networking or security requirements
  • Fine-grained rate limiting
  • On-premise or private-cloud n8n deployments

Summary

By integrating Bright Data Web MCP with n8n, you can build powerful AI-driven automation pipelines without writing complex code.
  • Streamable HTTP MCP → Fastest and simplest setup
  • Self-hosted MCP Client → Maximum flexibility and control
Both approaches enable AI agents to access Bright Data tools seamlessly, unlocking advanced data workflows at scale. Bright Data - All in One Platform for Proxies and Web Scraping Award winning proxy networks, powerful web scrapers, and ready-to-use datasets for download. Welcome to the world’s #1 web data platform.