Hosted MCP
1
Get your API token
- Go to Bright Data user settings
- Copy your API token (it looks like:
2dceb1aa0***************************
)
2
Install required packages
3
Configure your MCP server
4
Set up environment variables
Create a
.env
file in your project directory:5
Test it works
- Replace
<API_TOKEN>
with your actual Bright Data API token - Run your LangChain script
- You should see the agent execute web searches and provide comprehensive responses
6
Monitor usage
- View your API usage at My Zones in your Bright Data dashboard
- Your free tier includes 5,000 requests per month