English
How to integrate OpenAI with Bright Data’s MCP server for enhanced AI capabilities.
Get your API token
2dceb1aa0***************************
Configure your MCP server
from openai import OpenAI client = OpenAI() resp = client.responses.create( model="gpt-4o", tools=[ { "type": "mcp", "server_label": "BrightData", "server_url": "https://mcp.brightdata.com/sse?token=API_TOKEN", "require_approval": "never", }, ], input="What is the weather in Paris ?", ) print(resp.output_text)
Test it works
Monitor usage
Was this page helpful?