Self-hosted MCP

1

Prerequisites

Before you begin, ensure you have the following:
If you prefer to use a different zone name, you can specify it with the WEB_UNLOCKER_ZONE environment variable in your configuration
2

Basic Configuration

Go to Cursor -> Click the gear icon -> Tools & Integrations -> Add Custom MCP -> include the following:
{
    "mcpServers": {
    "brightdata-mcp": {
        "command": "npx",
        "args": ["-y", "@brightdata/mcp"],
        "env": {
        "API_TOKEN": "<your API token>"
        }
    }
    }
}
Screenshot 2025-07-14 at 13.50.57.png
Then you need to see:
Screenshot 2025-07-14 at 14.18.16.png