
Mcp Server Browser
io.github.bytedance由 GitHub 账号 bytedance 发布v1.0.0更新于 Oct 24, 2026
MCP server for browser use access
概览
本地 MCP 服务器,为助手提供真实浏览器:打开网页、点击、填写表单、读取文本或 Markdown,并截图。
- 可以做什么
- 导航与标签页:打开网址、前进后退、新建、切换和关闭标签页、列出标签页。
- 页面交互:点击、悬停、填写输入框、选择选项、按键、滚动。
- 读取页面内容:获取文本、Markdown、链接、可点击元素,并在控制台执行 JavaScript。
- 采集输出:对页面或元素截图、视觉模式截屏与坐标点击、查看下载列表。
- 以资源形式提供浏览器控制台日志、下载文件和截图。
- 适用场景
- 适合助手需要真正操作网页而不只是抓取内容的场景:填写表单、走完多步骤网站流程、确认页面实际渲染结果,或保存截图与下载文件。也适合在聊天客户端中驱动网页检查。
- 运行要求
- 通过 npx 以 stdio 在本地运行 npm 包 @agent-infra/mcp-server-browser;需要 Node.js 18 或更高版本,以及 VS Code、Cursor、Windsurf、Claude Desktop 等 MCP 客户端。使用 Chrome、Edge 或 Firefox 浏览器,可选 CDP 或 WebSocket 端点、可执行文件路径、代理、用户数据目录和视口参数。虚拟显示需要 DISPLAY;指定端口可启用 SSE 或 Streamable HTTP。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Server Browser,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Browser Use MCP Server
[NPM Downloads] [smithery badge] [codecov]
[Install MCP Server] [Install in VS Code] [Install in VS Code Insiders]
A fast, lightweight Model Context Protocol (MCP) server that empowers LLMs with browser automation via Puppeteer’s structured accessibility data, featuring optional vision mode for complex visual understanding and flexible, cross-platform configuration.
Key Features
- ⚡ Fast & lightweight. Utilizes Puppeteer's label index, not pixel-based input and accessibility DOM tree.
- 👁️ Vision Mode Support. Optional visual understanding capabilities for complex layouts and visual elements when structured data isn't sufficient.
- 🤖 LLM-optimized. No vision models needed, operates purely on structured data, less context reducing context token usage.
- 🧩 Flexible Runtime Configuration. Customize viewport size, coordinate system factors, and User-Agent at runtime via HTTP headers.
- 🌐 Cross-Platform & Extensible. Support for remote and local browsers, the use of a custom browser engine.
Requirements
- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client
Getting started
Local (Stdio)
First, install the Browser MCP server with your client. A typical configuration looks like this:
Install in VS Code
You can also install the Browser MCP server using the VS Code CLI:
After installation, the Browser MCP server will be available for use with your GitHub Copilot agent in VS Code.
Install in Cursor
Go to Cursor Settings -> MCP -> Add new MCP Server. Name to your liking, use command type with the command npx @agent-infra/mcp-server-browser. You can also verify config or add command like arguments via clicking Edit.
Install in Windsurf
Follow Windsuff MCP documentation. Use following configuration:
Install in Claude Desktop
Follow the MCP install guide, use following configuration:
Remote (SSE / Streamable HTTP)
At the same time, use --port $your_port arg to start the browser mcp can be converted into SSE and Streamable HTTP Server.
You can use one of the two MCP Server remote endpoint:
- Streamable HTTP(Recommended):
http://127.0.0.1::8089/mcp - SSE:
http://127.0.0.1::8089/sse
And then in MCP client config, set the url to the SSE endpoint:
url to the Streamable HTTP:
In-memory call
If your MCP Client is developed based on JavaScript / TypeScript, you can directly use in-process calls to avoid requiring your users to install the command-line interface to use Browser MCP.
Configuration
Browser MCP server supports following arguments. They can be provided in the JSON configuration above, as a part of the "args" list:
Runtime Configuration
The browser runtime requires configuration for Viewport Size, Vision Model Coordinate Factors, and User Agent. These can be passed through corresponding HTTP headers:
Note: Header names are case-insensitive.
Example:
Docker
We have unified the deployment of VNC and MCP under a single URL endpoint, The Dockerfile and DockerHub image will be published together! video
API
Tools
Resources
Development
Access http://127.0.0.1:6274/:
Extended CLI Entry
来源:packages/agent-infra/mcp-servers/browser/README.md,提交 2ff41a9
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分