browser-use MCP Server

by williamvd4
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Uses .env file configuration for storing API keys and Chrome path settings

  • Mentions Windsurf (by Codeium) as a potential client, though notes it doesn't currently support SSE transport

  • Provides Docker support for containerized deployment with customizable VNC server password configuration

➡️ 浏览器使用 mcp 服务器

浏览器使用带有 SSE 传输的 MCP 服务器

要求

  • 紫外线
curl -LsSf https://astral.sh/uv/install.sh | sh

快速入门

uv sync uv pip install playwright uv run playwright install --with-deps --no-shell chromium uv run server --port 8000
  • .env 要求如下:
OPENAI_API_KEY=[your api key] CHROME_PATH=[only change this if you have a custom chrome build]
  • 我们将增加对其他 LLM 提供商的支持以支持浏览器使用(claude、grok、bedrock 等)

在构建 dockerfile 时,您可以添加自己的 VNC 服务器密码:

docker build --build-arg VNC_PASSWORD=klaatubaradanikto .

工具

  • [x] SSE 传输
  • [x] browser_use - 使用 URL 和操作启动浏览器任务
  • [x] browser_get_result - 检索异步浏览器任务的结果

支持的客户机

  • 光标.ai
  • 克劳德桌面
  • 克劳德代码
  • windsurf( windsurf尚不支持 SSE)

用法

运行服务器后,将http://localhost:8000/sse添加到客户端 UI 或 mcp.json 文件中:

{ "mcpServers": { "browser-use-mcp-server": { "url": "http://localhost:8000/sse" } } }

光标

  • ./.cursor/mcp.json

风帆冲浪

  • ~/.codeium/windsurf/mcp_config.json

克劳德

  • ~/Library/Application Support/Claude/claude_desktop_config.json
  • %APPDATA%\Claude\claude_desktop_config.json

然后尝试向你的法学硕士询问以下问题:

open https://news.ycombinator.com and return the top ranked article

帮助

如有问题或感兴趣请联系@ https://cobrowser.xyz

星星

-
security - not tested
F
license - not found
-
quality - not tested

MCP 服务器使 LLM 能够通过 SSE 传输执行浏览器任务,允许 Cursor.ai 和 Claude 等客户端打开网站并通过自然语言命令与网络内容进行交互。

  1. requirements
    1. quickstart
      1. tools
        1. supported clients
          1. usage
            1. cursor
            2. windsurf
            3. claude
          2. help
            1. stars
              ID: f8a8ea43rf