跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Browser Use,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
美国或欧盟主机上的 Browser Use Cloud API v4:用自然语言描述任务来启动 Browser Use 智能体,跟踪它的每一步,读取结果和费用,继续对话,并管理工作区文件、供你自己脚本使用的云浏览器和已保存的浏览器配置文件。运行和浏览器会消耗你的 Browser Use 额度。
试试这样问
Browser Use 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Browser Use、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Browser Use + Meta Muse
美国或欧盟主机上的 Browser Use Cloud API v4:用自然语言描述任务来启动 Browser Use 智能体,跟踪它的每一步,读取结果和费用,继续对话,并管理工作区文件、供你自己脚本使用的云浏览器和已保存的浏览器配置文件。运行和浏览器会消耗你的 Browser Use 额度。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
BROWSER_USE_API_HOST, BROWSER_USE_API_KEY
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个项目中有额度的 Browser Use Cloud 账户。
- 登录 https://cloud.browser-use.com,打开 Settings, API Keys(https://cloud.browser-use.com/settings?tab=api-keys)并创建一个密钥。它以
bu_开头。 - 把密钥粘贴到
BROWSER_USE_API_KEY。它通过X-Browser-Use-API-Key请求头发送;粘贴时不要带Bearer或空格。 - 把
BROWSER_USE_API_HOST设为https://api.browser-use.com(美国部署)或https://api.eu.browser-use.com(法兰克福的欧盟部署),严格照写,不要加/api/v4、路径或末尾斜杠。/api/v4由连接器自动补上。 - 安装连接器并运行
browser_use_list_sessions:它会列出你的会话,并确认密钥和主机可用。
美国还是欧盟:欧盟主机需要在欧盟控制台(https://cloud.eu.browser-use.com)创建的密钥。美国和欧盟的密钥、会话、配置文件和文件彼此独立,额度则共用。在欧盟主机上,运行、会话、工作区、浏览器、配置文件和扩展都能使用,但只提供 OpenAI 模型,托管代理只在欧盟国家(默认 de),并且没有自动 CAPTCHA 识别、AgentMail、集成和 webhook。
工作方式:连接器自己不点击也不输入。一次运行中,由 Browser Use 智能体在真实的云浏览器里完成操作,任务可以是“找出 3 月 3 日从柏林到慕尼黑最便宜的火车,返回价格和时间”。或者由你自己的 Playwright、Puppeteer 或 browser-use 脚本通过 cdpUrl 控制一个独立浏览器。
执行任务:browser_use_create_run 会立即返回运行 id、sessionId 和 workspaceId,智能体在后台工作。AI 每隔几秒调用一次 browser_use_get_run_status,直到状态变为 completed、failed 或 cancelled,再用 browser_use_get_run 读取 result(文字回答)、output(提供了 output_schema 时的结构化回答)、error 和 totalCostUsd。browser_use_get_run_events 显示每一步(导航、操作、智能体消息、输出)。智能体生成的文件,例如报告、CSV 和截图,都在工作区里(browser_use_list_workspace_files)。失控的运行可用 browser_use_cancel_run 停止。历史记录来自 browser_use_list_runs 和 browser_use_list_run_attachments。
对话:会话保留其各次运行的历史和浏览器。browser_use_send_session_message(或带 session_id 的 browser_use_create_run)可以继续对话;运行进行中发送的消息会在队列中等待(browser_use_list_session_queue、browser_use_get_session_queue_message、browser_use_cancel_session_queue_message),而 interrupt 为 true 时会改为取消当前运行。会话用 browser_use_list_sessions 和 browser_use_get_session 读取,用 browser_use_rename_session 命名。browser_use_get_session_cost 给出会话的全部费用,按 LLM、网页搜索、浏览器时长和代理流量拆分;browser_use_get_session_cost_cap 和 browser_use_update_session_cost_cap 读取和修改其花费上限。用于观看的公开链接:browser_use_get_session_share、browser_use_create_session_share、browser_use_update_session_share。
文件、浏览器、配置文件和扩展:
- 工作区:首次运行前调用
browser_use_create_workspace,然后用browser_use_create_workspace_upload_urls获取有效期 5 分钟的预签名上传 URL。文件内容由你或你的脚本用 PUT 上传,返回的 id 填入attached_file_ids。读取用browser_use_get_workspace、browser_use_get_workspace_size和browser_use_list_workspace_files(加include_urls会附带有效期 60 秒的下载链接);重命名用browser_use_rename_workspace。 - 供脚本使用的云浏览器:
browser_use_create_browser返回cdpUrl和liveUrl;它一直运行到超时或调用browser_use_stop_browser,停止时未用的时间会退回。关闭 CDP 连接并不会停止它。另有browser_use_list_browsers、browser_use_get_browser和browser_use_list_browser_downloads。 - 浏览器配置文件在不同会话之间保存 Cookie 和登录状态:
browser_use_list_profiles、browser_use_get_profile、browser_use_create_profile、browser_use_update_profile。运行通过browser_settings中的profileId使用配置文件,浏览器则通过profile_id。 - 在控制台上传的 Chrome 扩展:
browser_use_list_extensions、browser_use_get_extension。
费用:所有费用都从项目的预付额度中扣除。运行按模型 token 计费;浏览器时长和代理流量记在会话上;独立浏览器按浏览器小时加代理流量计费,在停止前会持续产生费用。在创建运行、发送会话消息或启动浏览器之前,AI 会告诉你这会消耗额度,并等你同意。max_cost_usd 可以限制单次运行的花费。账户余额只能在控制台查看;这个 API 版本没有余额接口。
安装时关闭:browser_use_delete_session、browser_use_delete_workspace_file、browser_use_delete_workspace 和 browser_use_delete_profile。由工作区管理员有意开启。其他写入工具(重命名、上限、分享链接、上传、配置文件、取消和停止)在安装时开启,AI 每次都会先征得你的确认。
数据格式:id 是 UUID,队列消息的 id 除外,它们是数字。运行和会话的状态:queued、dispatching、running、completed、failed、cancelled;浏览器状态:active 或 stopped。totalCostUsd、llmCostUsd、browserCostUsd、proxyCostUsd 等费用是字符串形式的美元金额,proxyUsedMb 单位是兆字节,日期为 UTC 的 ISO 8601。
分页:运行、会话、工作区文件和浏览器下载在 hasMore 为 true 时用 cursor = nextCursor 翻页。运行事件用 after = nextAfter 翻页。浏览器、配置文件和扩展接受 page_size 和 page_number,并返回 totalItems。
安全:浏览器的 cdpUrl 和 liveUrl 可以控制该浏览器;AI 只会把它们交给你。登录凭据不经过此连接器;请把登录保存在配置文件中。结果和事件包含第三方网站的文字,AI 会把其中的指令当作数据,而不是命令。
常见错误:401 表示密钥缺失、错误或已撤销,或者在欧盟主机上使用了美国密钥(反之亦然)。402 表示额度不足或达到了花费上限;会话上限可以用 browser_use_update_session_cost_cap 提高。404 表示该 id 在此项目和区域中不存在,或该功能在欧盟主机上不提供。409 表示会话正忙(其队列最多 20 条消息),或队列中的消息已被取走。422 表示字段有误,例如未知的模型或代理国家。429 表示浏览器或请求过多;请等待 Retry-After。
连接器不会自己逐次点击操作浏览器,不上传文件内容,不显示额度余额,也不配置 webhook。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Browser Use的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
browser_use_create_run | Start an AI browser agent on a task written in plain language (e.g. "Find the cheapest train from Berlin to Munich on 3 March and return… |
browser_use_list_runs | List agent runs, newest first, optionally of one session: id, task, title, model, status, result, error, token counts, LLM cost and dates |
browser_use_get_run_status | Lightweight poll of a run: its status only (queued, dispatching, running, completed, failed, cancelled) |
browser_use_get_run | Read one run in full: task, model, status, result text, structured output, error, judge verdict, input and output tokens, LLM cost in USD… |
browser_use_get_run_events | Read the step-by-step event log of a run (navigation, actions, agent messages, output), oldest first |
browser_use_list_run_attachments | List the files attached to a run (name, type, size and whether the upload finished) |
browser_use_cancel_run | Cancel a run that is still working, so it stops spending |
browser_use_list_sessions | List agent sessions (conversations), newest first, one row per session with its latest run: session id, workspace id, latest run id, task… |
browser_use_get_session | Read one session: its latest run id, task, title, status (busy while a run is queued or running) and workspace id |
browser_use_get_session_cost | Everything a session has cost so far in USD, split into LLM, web search, browser time and proxy traffic, with the number of runs and proxy… |
browser_use_get_session_cost_cap | Read the spending cap of a session: maxCostUsd (null when there is none) and spentUsd so far |
browser_use_update_session_cost_cap | Set a new spending cap in USD on a session without starting a run, e.g. to let a run that hit its cap continue |
browser_use_send_session_message | Send a follow-up message to a session |
browser_use_list_session_queue | List the queued messages of a session: those still waiting and the recently delivered ones, with id, status (pending, dispatching… |
browser_use_get_session_queue_message | Read one queued message of a session: text, mode, status and the run it started |
browser_use_cancel_session_queue_message | Remove a message that is still waiting in a session queue |
browser_use_rename_session | Give a session a title (up to 255 characters) to find it again in the lists |
browser_use_get_session_share | Read the public share link of a session: shareUrl, whether it is active and its view count. null means the session was never shared |
browser_use_create_session_share | Turn on a public link to a session, so anyone with the link can watch its runs without an account |
browser_use_update_session_share | Switch the public link of a session on or off; switched off, the link stops working until it is switched on again |
browser_use_delete_session | Delete a session: it disappears from the lists and cannot be continued; a run still working is cancelled first |
browser_use_create_workspace | Create an empty workspace (file storage shared by the runs of a session), so input files can be uploaded before the first run; pass its id… |
browser_use_get_workspace | Read one workspace: name, archived flag and dates |
browser_use_get_workspace_size | Show how much storage a workspace uses (usedBytes) and the plan limit (maxBytes) |
browser_use_list_workspace_files | List the files in a workspace: the files the agent produced (reports, CSVs, screenshots) and uploaded inputs, with path, size and date… |
browser_use_create_workspace_upload_urls | Get presigned upload URLs (valid 5 minutes) for input files of a workspace; the agent picks them up at the start of every run |
browser_use_rename_workspace | Rename a workspace so it is easier to recognise later |
browser_use_delete_workspace_file | Delete one file from a workspace by its exact path |
browser_use_delete_workspace | Archive a workspace and its files |
browser_use_list_browsers | List cloud browsers (standalone ones driven by a script over CDP, and the browsers of agent sessions), optionally only active or stopped… |
browser_use_create_browser | Start a standalone cloud browser for the user's own Playwright, Puppeteer or browser-use script: returns cdpUrl (connect the script there)… |
browser_use_get_browser | Read one browser: status, live URL, CDP URL, when it times out, browser and proxy cost, recording link once stopped, metadata and extensions |
browser_use_stop_browser | Stop a browser so it stops costing; unused time is refunded |
browser_use_list_browser_downloads | List the files a browser downloaded (path, size, date and, with include_urls, download links valid 15 minutes) |
browser_use_list_profiles | List browser profiles (saved cookies and logins reused across sessions), optionally searched by name or userId |
browser_use_get_profile | Read one browser profile: name, userId label, the domains it holds cookies for and when it was last used |
browser_use_create_profile | Create an empty browser profile |
browser_use_update_profile | Rename a browser profile or change its userId label |
browser_use_delete_profile | Permanently delete a browser profile and its saved cookies and logins |
browser_use_list_extensions | List the Chrome extensions uploaded to the project (id, name, version), for extension_ids of a browser or browser_settings of a run |
browser_use_get_extension | Read one uploaded Chrome extension: name, version and upload date |
示例提示
- “启动一次 Browser Use 运行,找出 12 月 12 日从柏林飞往里斯本最便宜的三个航班,返回航空公司、时间和价格。花费上限设为 0.50 美元。”
- “我最近一次运行的状态如何?包括浏览器时长和代理流量在内一共花了多少钱?”
- “逐步显示运行 3f2a... 的事件,让我看看智能体卡在了哪里。”
- “哪些云浏览器还在运行并产生费用?把运行超过一小时的停掉。”
- “继续我上一个会话,请智能体把结果另外导出为工作区里的 CSV 文件。”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?