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:- Streamable HTTP MCP – Easiest, cloud-based setup
- Self-hosted MCP Client – Advanced, customizable deployment
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
-
A Bright Data account
https://brightdata.com/?hs_signup=1&utm_source=docs -
An API token from your user settings
https://brightdata.com/cp/setting/users - An AI-enabled workflow (e.g., an AI Agent) in n8n
Configuration Steps
- Create an AI Agent in n8n or your preferred AI orchestration platform.
-
Attach the following components:
-
A Chat Model (e.g.,
gpt-4,gpt-4o) - An MCP Client node
-
A Chat Model (e.g.,
- Configure the Remote MCP URL using your API token:
-
Select MCP tools
- Expose specific tools explicitly, or
- Allow the AI agent to choose tools dynamically
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
-
Node.js installed
https://nodejs.org/en/download -
A Bright Data account
https://brightdata.com/?hs_signup=1&utm_source=docs -
An API token from user settings
https://brightdata.com/cp/setting/users - n8n with support for community or custom nodes
Configuration Steps
- Create an AI Agent in n8n.
-
Attach the following components:
-
A Chat Model (e.g.,
gpt-4,gpt-4o) - Bright Data MCP Client (via HTTP or WebSocket)
-
A Chat Model (e.g.,
-
Configure the MCP client execution settings:
Variable Value Command npxArguments @brightdata/mcpEnvironments API_KEY=<api-key>WEB_UNLOCKER_ZONE=<unlocker_api_zone_name>BROWSER_ZONE=<browser_zone_name>RATE_LIMIT=<rate-limit> -
Example values for RATE_LIMIT:
100/1h50/30m10/5s
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