Ornold
返回博客
指南3 分钟阅读

Cursor + Ornold MCP:浏览器自动化完整配置指南

将 Cursor 连接到 Ornold MCP,用 AI 自动化指纹浏览器。逐步配置 Linken Sphere、Dolphin Anty 等。
2026年4月19日

最简单的方式:让 Cursor 自动安装

现代 AI 代理可以自动安装 MCP 服务器。只需把 prompt 粘贴到 Cursor 聊天(Agent mode)—— 它会编辑配置、写入 token 并重启。无需手动改 JSON。
这能用是因为 Ornold 发布了公开的安装指南,AI 代理可以读取并执行。你只需要粘贴 prompt 和你的 token。

步骤 1 — 获取你的 token

  • mcp.ornold.com 注册
  • 打开 Tokens 页面
  • 点击 Create token,复制值

步骤 2 — 把这个 prompt 粘贴到 Cursor 聊天

打开 Cursor,切换到 **Agent mode**(聊天面板顶部的下拉菜单),然后粘贴:
Install Ornold MCP — browser automation for antidetect browsers. Requirements: Node.js ≥ 18 (https://nodejs.org) Token: get one at https://mcp.ornold.com (sign up → Tokens page → Create token) Create or edit the file ~/.cursor/mcp.json and add this config: { "mcpServers": { "ornold-browser": { "command": "npx", "args": ["mcp-ornold-browser", "--token", "YOUR_TOKEN"] } } } Replace YOUR_TOKEN with the token from the dashboard. If the file already has other servers, merge the ornold-browser entry into the existing mcpServers object. Restart Cursor after saving.
发送前请把 `YOUR_TOKEN` 替换为你的真实 token。Cursor 编辑 `~/.cursor/mcp.json`,然后提示你重启以加载 MCP。

步骤 3 — 验证

在 Agent mode 打开新聊天并询问:
List my connected browsers using browser_list
如果你的反检测浏览器正在运行,你会看到它的 profile。完成。

反检测浏览器标志

告诉 Cursor 你用什么浏览器 —— 它会向 args 添加正确的标志:
  • Linken Sphere — `--linken-port 40080`
  • Dolphin Anty — `--dolphin-port 3001 --dolphin-token YOUR_DOLPHIN_TOKEN`
  • Vision Browser — `--vision-token vx_...`
  • Wadex — `--wadex-port 8080`
为了反检测隐身,添加 `--mode vision`,让 AI 通过截图和坐标点击,而不是 DOM 选择器。

Agent mode vs Ask mode

MCP 工具仅在 Agent mode 显示。如果你看不到浏览器工具,检查聊天面板顶部的下拉菜单 —— 从 Ask 切换到 Agent。

故障排除

  • **MCP 服务器未显示** —— 重启 Cursor。验证 mcp.json 是有效 JSON(无尾随逗号)。
  • **Token 无效** —— 从 mcp.ornold.com 重新复制。确保你拿到了完整字符串。
  • **无法连接到浏览器** —— 确保你的反检测浏览器正在运行,端口与配置匹配。
  • **npx: command not found** —— 从 nodejs.org 安装 Node.js 18+ 并重启 Cursor。

下一步是什么?

相关文章