Documentation Index
Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
Use this file to discover all available pages before exploring further.
正在构建 AI 初创公司?
您可能符合我们的初创计划资格。获得本文所介绍基础设施的全额资助访问权限(最高价值 $20,000)。
托管 MCP
获取您的 API 令牌
- 前往 Bright Data 用户设置
- 复制您的 API 令牌(格式如:
2dceb1aa0***************************)
在您的代理中连接 Bright Data MCP
在 将其替换为 Bright Data MCP 连接:
src/server.ts 中,找到 onChatMessage 内默认被注释的 MCP 占位符:确保
mcp.connect() 在 this.mcp.getAITools() 之前调用,以避免 jsonSchema not initialized 错误。测试它是否工作
- 将
<API_TOKEN>替换为您实际的 Bright Data API 令牌 - 启动开发服务器:
- 在浏览器中打开应用程序并向代理提问,例如:

监控使用情况
- 在 Bright Data 仪表板的 My Zones 中查看您的 API 使用情况
- 免费层每月包含 5,000 个请求