Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
如何将 OpenAI 与 Bright Data 的 MCP 服务器集成,以增强 AI 功能。
获取 API 密钥
2dceb1aa0***************************
配置 MCP 服务器
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="巴黎的天气如何?", ) print(resp.output_text)
测试功能是否正常
监控使用情况
此页面对您有帮助吗?